当前位置: 首页>>代码示例>>PHP>>正文


PHP JCckDev::renderLegend方法代码示例

本文整理汇总了PHP中JCckDev::renderLegend方法的典型用法代码示例。如果您正苦于以下问题:PHP JCckDev::renderLegend方法的具体用法?PHP JCckDev::renderLegend怎么用?PHP JCckDev::renderLegend使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在JCckDev的用法示例。


在下文中一共展示了JCckDev::renderLegend方法的8个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: defined

<?php

/**
* @version 			SEBLOD 3.x Core
* @package			SEBLOD (App Builder & CCK) // SEBLOD nano (Form Builder)
* @url				http://www.seblod.com
* @editor			Octopoos - www.octopoos.com
* @copyright		Copyright (C) 2009 - 2016 SEBLOD. All Rights Reserved.
* @license 			GNU General Public License version 2 or later; see _LICENSE.php
**/
defined('_JEXEC') or die;
JCckDev::forceStorage();
?>

<div class="seblod">
	<?php 
echo JCckDev::renderLegend(JText::_('COM_CCK_CONSTRUCTION'), JText::_('PLG_CCK_FIELD_' . $this->item->type . '_DESC'));
?>
    <ul class="adminformlist adminformlist-2cols">
        <?php 
echo JCckDev::renderForm('core_pane_behavior', $this->item->bool, $config, array('options' => 'Markup Start=0||Markup In Between=1||Markup End=2', 'required' => 'required'));
echo JCckDev::renderBlank();
echo JCckDev::renderSpacer(JText::_('COM_CCK_STORAGE'), JText::_('COM_CCK_STORAGE_DESC'));
echo JCckDev::getForm('core_storage', $this->item->storage, $config);
?>
    </ul>
</div>
开发者ID:hamby,项目名称:SEBLOD,代码行数:27,代码来源:edit.php

示例2: defined

<?php

/**
* @version 			SEBLOD 3.x Core
* @package			SEBLOD (App Builder & CCK) // SEBLOD nano (Form Builder)
* @url				http://www.seblod.com
* @editor			Octopoos - www.octopoos.com
* @copyright		Copyright (C) 2013 SEBLOD. All Rights Reserved.
* @license 			GNU General Public License version 2 or later; see _LICENSE.php
**/
defined('_JEXEC') or die;
?>

<div class="seblod cck-padding-top-0 cck-padding-bottom-0">
	<?php 
echo JCckDev::renderLegend(JText::_('COM_CCK_DEFAULT_VALUES'));
?>
    <ul class="adminformlist adminformlist-2cols">
		<?php 
echo JCckDev::renderForm('core_joomla_category_created_by', '', $config);
echo JCckDev::renderForm('core_joomla_category_parent_id', '', $config);
echo JCckDev::renderForm('core_joomla_category_state', '', $config);
?>
	</ul>
</div>
开发者ID:olafzieger,项目名称:joomla3.x-seblod-test,代码行数:25,代码来源:importer.php

示例3: defined

**/
defined('_JEXEC') or die;
?>

<div class="seblod cck-padding-top-0 cck-padding-bottom-0">
	<?php 
echo JCckDev::renderLegend(JText::_('COM_CCK_DEFAULT_VALUES'));
?>
    <ul class="adminformlist adminformlist-2cols">
		<?php 
echo JCckDev::renderForm('core_joomla_user_groups', '', $config, array('label' => 'User Groups', 'storage_field' => 'values[groups]'));
?>
	</ul><div class="clr"></div>
	<?php 
echo JCckDev::renderLegend(JText::_('COM_CCK_SETTINGS'));
?>
	<ul class="adminformlist adminformlist-2cols">
		<?php 
echo JCckDev::renderForm('core_bool', 0, $config, array('label' => 'Force Password', 'storage_field' => 'options[force_password]'));
?>
	</ul><div class="clr"></div>
	<?php 
echo JCckDev::renderLegend(JText::_('COM_CCK_UPDATE'));
?>
	<ul class="adminformlist adminformlist-2cols">
		<?php 
echo JCckDev::renderForm('core_dev_select', '', $config, array('label' => 'Update By Key', 'defaultvalue' => 'email', 'selectlabel' => '', 'options' => 'ID=id||Email=email||Username=username||', 'storage_field' => 'options[key]'));
echo JCckDev::renderForm('core_dev_select', '', $config, array('label' => 'Update By Diff', 'selectlabel' => 'None', 'options' => 'Update By Diff Desc=optgroup||Block=block', 'storage_field' => 'options[diff]'));
?>
	</ul>
</div>
开发者ID:codigoaberto,项目名称:SEBLOD,代码行数:31,代码来源:importer.php

示例4: defined

/**
* @version 			SEBLOD 3.x Core
* @package			SEBLOD (App Builder & CCK) // SEBLOD nano (Form Builder)
* @url				http://www.seblod.com
* @editor			Octopoos - www.octopoos.com
* @copyright		Copyright (C) 2013 SEBLOD. All Rights Reserved.
* @license 			GNU General Public License version 2 or later; see _LICENSE.php
**/
defined('_JEXEC') or die;
?>

<div class="seblod cck-padding-top-0 cck-padding-bottom-0">
	<?php 
echo JCckDev::renderLegend(JText::_('COM_CCK_DEFAULT_VALUES'));
?>
    <ul class="adminformlist adminformlist-2cols">
		<?php 
echo JCckDev::renderForm('core_joomla_article_created_by', '', $config);
echo JCckDev::renderForm('core_joomla_article_catid', '', $config);
echo JCckDev::renderForm('core_joomla_article_state', '', $config);
?>
	</ul><div class="clr"></div>
	<?php 
echo JCckDev::renderLegend(JText::_('COM_CCK_SETTINGS'));
?>
	<ul class="adminformlist adminformlist-2cols">
		<?php 
echo JCckDev::renderForm('core_bool', 1, $config, array('label' => 'Reordering', 'storage_field' => 'options[reordering]'));
?>
	</ul>
</div>
开发者ID:olafzieger,项目名称:joomla3.x-seblod-test,代码行数:31,代码来源:importer.php

示例5: array_merge

if (count($opts)) {
    $options = array_merge($options, $opts);
}
$options[] = JHtml::_('select.option', '</OPTGROUP>', '');
$options[] = JHtml::_('select.option', '<OPTGROUP>', JText::_('PLG_CCK_FIELD_GROUP_X_LABEL'));
$opts = JCckDatabase::loadObjectList('SELECT a.name AS value, a.title AS text FROM #__cck_core_fields AS a WHERE a.type = "group_x" AND a.published = 1 ORDER BY a.title ASC');
if (count($opts)) {
    $options = array_merge($options, $opts);
}
$options[] = JHtml::_('select.option', '</OPTGROUP>', '');
$form = JHtml::_('select.genericlist', $options, 'ffp[' . $name . '][match_collection]', 'class="inputbox adminformlist-maxwidth"', 'value', 'text', '', 'match_collection');
?>

<div class="seblod">
	<?php 
echo JCckDev::renderLegend(JText::_('COM_CCK_CONSTRUCTION'), JText::_('COM_CCK_SEARCH_OPTIONS'));
?>
    <input type="hidden" id="match_mode" name="match_mode" value="" />
    <ul class="adminformlist adminformlist-2cols">
        <?php 
echo '<li><label>' . JText::_('PLG_CCK_FIELD_GROUP_COLLECTION') . '</label>' . $form . '</li>';
echo JCckDev::renderForm('core_dev_text', '', $config, array('label' => 'Separator', 'size' => '8', 'storage_field' => 'match_value'));
echo JCckDev::renderForm('core_tables', '', $config, array('label' => 'Table', 'selectlabel' => 'Inherited', 'storage_field' => 'match_options[table]', 'css' => 'match_options'));
echo JCckDev::renderForm('core_dev_select', '', $config, array('label' => 'Comparison Rule', 'selectlabel' => '', 'options' => 'Quoted=1||Unquoted=0', 'storage_field' => 'match_options[var_type]', 'css' => 'match_options'));
echo JCckDev::renderForm('core_dev_select', '', $config, array('label' => 'Comparison Mode', 'selectlabel' => '', 'defaultvalue' => '0', 'options' => 'Simple=0||Multiple=1', 'storage_field' => 'match_options[var_mode]', 'css' => 'match_options'));
echo JCckDev::renderBlank();
echo JCckDev::renderForm('core_dev_text', '', $config, array('label' => 'Latitude Field', 'storage_field' => 'match_options[fieldname1]', 'css' => 'match_options'));
echo JCckDev::renderForm('core_dev_text', '', $config, array('label' => 'Longitude Field', 'storage_field' => 'match_options[fieldname2]', 'css' => 'match_options'));
echo JCckDev::renderForm('core_dev_text', '', $config, array('label' => 'Radius Field', 'storage_field' => 'match_options[fieldname3]', 'css' => 'match_options'));
echo JCckDev::renderForm('core_dev_select', '', $config, array('label' => 'Unit', 'defaultvalue' => '0', 'selectlabel' => '', 'options' => 'Kilometers=0||Miles=1', 'storage_field' => 'match_options[var_unit]', 'css' => 'match_options'));
?>
开发者ID:codigoaberto,项目名称:SEBLOD,代码行数:31,代码来源:match.php

示例6: defined

/**
* @version 			SEBLOD 3.x Core
* @package			SEBLOD (App Builder & CCK) // SEBLOD nano (Form Builder)
* @url				http://www.seblod.com
* @editor			Octopoos - www.octopoos.com
* @copyright		Copyright (C) 2013 SEBLOD. All Rights Reserved.
* @license 			GNU General Public License version 2 or later; see _LICENSE.php
**/
defined('_JEXEC') or die;
require_once JPATH_SITE . '/plugins/cck_storage_location/joomla_article/classes/exporter.php';
$options = plgCCK_Storage_LocationJoomla_Article_Exporter::getColumnsToExport();
$options = implode('||', $options);
?>

<div class="seblod cck-padding-top-0 cck-padding-bottom-0">
	<?php 
echo JCckDev::renderLegend(JText::_('COM_CCK_FIELDS'));
?>
    <ul class="adminformlist adminformlist-2cols">
		<?php 
echo JCckDev::renderForm('core_dev_select', '', $config, array('defaultvalue' => '0', 'label' => 'Core Table', 'selectlabel' => '', 'options' => 'All Fields=0||No Fields=-1||Only Selected Fields=1', 'storage_field' => 'columns[core]'));
echo '<li><label></label>' . JCckDev::getForm('core_dev_select', '', $config, array('defaultvalue' => '', 'label' => '', 'selectlabel' => '', 'type' => 'select_multiple', 'options' => $options, 'bool8' => 0, 'size' => 0, 'storage_field' => 'columns[core_selected]')) . '</li>';
?>
	</ul>
</div>

<script type="text/javascript">
jQuery(document).ready(function($) {
	//$('#columns_core_selected').isVisibleWhen('columns_core','1');
});
</script>
开发者ID:codigoaberto,项目名称:SEBLOD,代码行数:31,代码来源:exporter.php

示例7: function

					var data = ( encoded != "" ) ? $.evalJSON(encoded) : "";
					var legacy = parent.jQuery("#' . $name . '_live_value").val();
					if (legacy) {
						$("#value").myVal(legacy);
					}
					if (data) {
						$.each(data, function(k, v) {
							var elem = k;
							$("#"+elem).myVal(v);
						});
					}
					if(!$("#value").myVal()) {
						$("#value").myVal("1");
					}
				});
			})(jQuery);
			';
$doc->addScriptDeclaration($js);
?>

<div class="seblod">
	<?php 
echo JCckDev::renderLegend(JText::_('COM_CCK_CONSTRUCTION'));
?>
	<ul class="adminformlist adminformlist-2cols">
		<?php 
echo JCckDev::renderForm('core_dev_select', '', $config, array('label' => 'Stage', 'selectlabel' => '', 'options' => 'STAGE_1ST=1||STAGE_2ND=2||STAGE_3RD=3||STAGE_4TH=4||STAGE_5TH=5', 'storage_field' => 'value'));
echo JCckDev::renderForm('core_dev_text', '', $config, array('label' => 'Default Value', 'storage_field' => 'default_value'));
?>
	</ul>
</div>
开发者ID:hamby,项目名称:SEBLOD,代码行数:31,代码来源:stage.php

示例8: array

<div class="seblod">
	<?php 
echo JCckDev::renderLegend(JText::_('COM_CCK_REQUIRED'));
?>
    <ul class="adminformlist adminformlist-2cols">
        <?php 
echo JCckDev::renderForm('core_dev_select', '', $config, array('label' => 'Required', 'selectlabel' => '', 'options' => 'No=||Yes=required||Yes GroupRequired=grouprequired', 'storage_field' => 'required'));
echo JCckDev::renderForm('core_dev_text', '', $config, array('label' => 'Alert', 'storage_field' => 'required_alert'));
echo JCckDev::renderBlank('<input type="hidden" id="blank_li" value="" />');
echo JCckDev::renderForm('core_dev_text', '', $config, array('label' => 'Group', 'required' => 'required', 'storage_field' => 'required2'));
?>
    </ul>
</div>
<div class="seblod">
	<?php 
echo JCckDev::renderLegend(JText::_('COM_CCK_VALIDATION'));
?>
    <div id="loading" class="loading"></div>
    <ul class="adminformlist adminformlist-2cols">
        <?php 
$options = Helper_Admin::getPluginOptions('field_validation', 'cck_', false, true, true, array('required'));
$validation = JHtml::_('select.genericlist', $options, 'validation', 'class="inputbox select" style="max-width:175px;"', 'value', 'text', $name, 'validation');
?>
        <li><label><?php 
echo JText::_('COM_CCK_VALIDATION');
?>
</label><?php 
echo $validation;
?>
</li>
        <?php 
开发者ID:hamby,项目名称:SEBLOD,代码行数:31,代码来源:validation.php


注:本文中的JCckDev::renderLegend方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。