本文整理汇总了PHP中JCckDev::renderForm方法的典型用法代码示例。如果您正苦于以下问题:PHP JCckDev::renderForm方法的具体用法?PHP JCckDev::renderForm怎么用?PHP JCckDev::renderForm使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类JCckDev
的用法示例。
在下文中一共展示了JCckDev::renderForm方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的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) 2013 SEBLOD. All Rights Reserved.
* @license GNU General Public License version 2 or later; see _LICENSE.php
**/
defined('_JEXEC') or die;
echo JCckDev::renderForm('core_tables', '', $config, array('selectlabel' => 'Select', 'required' => 'required'));
echo JCckDev::renderForm('core_dev_text', '', $config, array('label' => 'Column', 'required' => 'required', 'storage_field' => 'column'));
echo JCckDev::renderBlank();
echo JCckDev::renderForm('core_dev_text', 'id', $config, array('label' => 'Key Column', 'required' => 'required', 'storage_field' => 'key'));
echo JCckDev::renderForm('core_dev_text', '', $config, array('label' => 'Fields', 'storage_field' => 'fieldnames'));
示例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;
$options2 = JCckDev::fromJSON($this->item->options2);
?>
<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_label', $this->item->label, $config);
echo JCckDev::renderForm('core_defaultvalue', $this->item->defaultvalue, $config);
echo JCckDev::renderForm('core_dev_text', @$options2['extension'], $config, array('label' => 'Extension', 'storage_field' => 'json[options2][extension]'));
echo JCckDev::renderForm('core_dev_text', @$options2['view'], $config, array('label' => 'View', 'storage_field' => 'json[options2][view]'));
echo JCckDev::renderSpacer(JText::_('COM_CCK_STORAGE'), JText::_('COM_CCK_STORAGE_DESC'));
echo JCckDev::getForm('core_storage', $this->item->storage, $config);
?>
</ul>
</div>
示例3: array
</button>
</li>
</ul>
</div>
<?php
}
if ($user->authorise('core.add', 'com_cck')) {
?>
<div class="<?php
echo $this->css['batch'];
?>
">
<div class="legend top left"><?php
echo JText::_('COM_CCK_DUPLICATE_PROCESS');
?>
</div>
<ul class="adminformlist">
<li>
<?php
echo JCckDev::renderForm($cck['core_dev_text'], '', $config, array('label' => 'Title', 'storage_field' => 'duplicate_title'));
?>
<button class="inputbutton" type="submit" onclick="Joomla.submitbutton('searchs.duplicate');"><?php
echo JText::_('JTOOLBAR_DUPLICATE');
?>
</button>
</li>
</ul>
</div>
<?php
}
}
示例4: strlen
<div class="legend top left"><?php
echo JText::_('COM_CCK_RENDERING') . '<span class="mini">(' . JText::_('COM_CCK_FOR_VIEW_' . $this->item->client) . ')</span>';
?>
</div>
<ul class="adminformlist adminformlist-2cols">
<?php
echo JCckDev::renderForm($cck['core_template'], $this->style->template, $config);
echo '<input type="hidden" name="template2" value="' . $this->style->template . '" />';
$style_title = strlen($this->style->title) > 32 ? substr($this->style->title, 0, 32) . '...' : $this->style->title;
echo '<li><label>' . JText::_('COM_CCK_STYLE') . '</label><span class="variation_value adminformlist-maxwidth" title="' . $this->style->title . '">' . $style_title . '</span>' . '<input class="inputbox" type="hidden" id="template_' . $this->item->client . '" name="template_' . $this->item->client . '" value="' . $this->style->id . '" /></li>';
?>
</ul>
</div>
<div class="seblod">
<div class="legend top left"><?php
echo '⇒ ' . JText::_('COM_CCK_CSS');
?>
</div>
<ul class="adminformlist adminformlist-2cols">
<?php
echo JCckDev::renderForm('core_dev_text', @$this->style->params['rendering_css_class'], $config, array('label' => 'Root Class', 'size' => '16', 'storage_field' => 'params[rendering_css_class]'));
?>
</ul>
</div>
<?php
if (is_object($this->style)) {
Helper_Workshop::getTemplateParams($this->style->xml, '//config', 'params', $this->style->params);
}
?>
</div>
<div class="clr"></div>
示例5: 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;
JCckDev::initScript('typo', $this->item);
?>
<div class="seblod">
<?php
echo JCckDev::renderLegend(JText::_('COM_CCK_CONSTRUCTION'), JText::_('PLG_CCK_FIELD_TYPO_' . $this->item->name . '_DESC'));
?>
<ul class="adminformlist adminformlist-2cols">
<?php
echo JCckDev::renderForm('core_dev_select', '', $config, array('label' => 'Heading', 'defaultvalue' => 3, 'options' => 'H1=1||H2=2||H3=3||H4=4||H5=5||H6=6', 'selectlabel' => '', 'storage_field' => 'rank'));
echo JCckDev::renderForm('core_dev_text', '', $config, array('label' => 'Class', 'size' => 24, 'storage_field' => 'class'));
echo JCckDev::renderForm('core_dev_bool', '', $config, array('label' => 'Enable Anchor', 'defaultvalue' => 0, 'storage_field' => 'anchor'));
echo JCckDev::renderSpacer(JText::_('COM_CCK_CONSTRUCTION') . '<span class="mini">(' . JText::_('COM_CCK_GENERIC') . ')</span>');
echo JCckDev::renderForm('core_dev_textarea', '', $config, array('label' => 'Custom Attributes', 'cols' => 92, 'rows' => 1, 'storage_field' => 'custom'), array(), 'w100');
echo JCckDev::renderForm('core_dev_bool', '', $config, array('label' => 'Behavior', 'selectlabel' => '', 'defaultvalue' => '0', 'options' => 'Auto=0||Typo Label=1', 'storage_field' => 'typo_label'));
echo JCckDev::renderBlank();
?>
</ul>
</div>
示例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;
?>
<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_label', $this->item->label, $config);
echo JCckDev::renderForm('core_defaultvalue_textarea', $this->item->defaultvalue, $config);
echo JCckDev::renderForm('core_columns', $this->item->cols, $config);
echo JCckDev::renderForm('core_rows', $this->item->rows, $config, array('defaultvalue' => '3'));
echo JCckDev::renderForm('core_minlength', $this->item->minlength, $config);
echo JCckDev::renderForm('core_maxlength', $this->item->maxlength, $config);
echo JCckDev::renderHelp('field', '3146-textarea.html');
echo JCckDev::renderSpacer(JText::_('COM_CCK_PROCESSING'), JText::_('COM_CCK_PROCESSING_DESC_TEXTAREA'), 2);
echo JCckDev::renderForm('core_bool2', $this->item->bool2, $config, array('label' => 'New Lines', 'options' => 'tag_br=0||tag_br_in_p=2||tag_p=1'));
echo JCckDev::renderForm('core_bool3', $this->item->bool3, $config, array('label' => 'Clear Blank Lines'));
echo JCckDev::renderSpacer(JText::_('COM_CCK_STORAGE'), JText::_('COM_CCK_STORAGE_DESC'));
echo JCckDev::getForm('core_storage', $this->item->storage, $config, array(), array('alter_type_value' => 'TEXT'));
?>
</ul>
</div>
示例7: htmlspecialchars
$field1 = JCckDev::getEmpty(array('name' => 'core_options', 'type' => 'textarea', 'label' => 'PrepareContent', 'storage' => 'dev', 'storage_field' => 'json[options2][preparecontent]', 'cols' => '92', 'rows' => '5'));
JCckDev::get($field1, htmlspecialchars(@$options2['preparecontent']), $config);
$field2 = JCckDev::getEmpty(array('name' => 'core_options2', 'type' => 'textarea', 'label' => 'PrepareForm', 'storage' => 'dev', 'storage_field' => 'json[options2][prepareform]', 'cols' => '92', 'rows' => '15'));
JCckDev::get($field2, htmlspecialchars(@$options2['prepareform']), $config);
$field3 = JCckDev::getEmpty(array('name' => 'core_options2', 'type' => 'textarea', 'label' => 'PrepareStore', 'storage' => 'dev', 'storage_field' => 'json[options2][preparestore]', 'cols' => '92', 'rows' => '5'));
JCckDev::get($field3, htmlspecialchars(@$options2['preparestore']), $config);
?>
<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_label', $this->item->label, $config);
echo JCckDev::renderForm('core_defaultvalue', $this->item->defaultvalue, $config);
?>
<li class="w100">
<label><?php
echo JText::_($field1->label);
?>
</label>
<?php
echo $field1->form;
?>
</li>
<li class="w100">
<label><?php
echo JText::_($field2->label);
?>
</label>
示例8: strlen
echo JText::_('COM_CCK_RENDERING') . '<span class="mini">(' . JText::_('COM_CCK_FOR_VIEW_' . $this->item->client) . ')</span>';
?>
</div>
<ul class="adminformlist adminformlist-2cols">
<?php
echo JCckDev::renderForm($cck['core_template'], $this->style->template, $config);
echo '<input type="hidden" name="template2" value="' . $this->style->template . '" />';
$style_title = strlen($this->style->title) > 32 ? substr($this->style->title, 0, 32) . '...' : $this->style->title;
echo '<li><label>' . JText::_('COM_CCK_STYLE') . '</label><span class="variation_value adminformlist-maxwidth" title="' . $this->style->title . '">' . $style_title . '</span>' . '<input class="inputbox" type="hidden" id="template_' . $this->item->client . '" name="template_' . $this->item->client . '" value="' . $this->style->id . '" /></li>';
?>
</ul>
</div>
<div class="seblod">
<div class="legend top left"><?php
echo '⇒ ' . JText::_('COM_CCK_ROOT');
?>
</div>
<ul class="adminformlist adminformlist-2cols">
<?php
echo JCckDev::renderForm('core_dev_text', @$this->style->params['rendering_css_class'], $config, array('label' => 'Class', 'size' => '16', 'storage_field' => 'params[rendering_css_class]'));
echo JCckDev::renderForm('core_dev_textarea', @$this->style->params['rendering_custom_attributes'], $config, array('label' => 'Custom Attributes', 'rows' => '1', 'cols' => '88', 'storage_field' => 'params[rendering_custom_attributes]'), array(), 'w100');
?>
</ul>
</div>
<?php
if (is_object($this->style)) {
Helper_Workshop::getTemplateParams($this->style->xml, '//config', 'params', $this->style->params);
}
?>
</div>
<div class="clr"></div>
示例9: 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;
JCckDev::forceStorage();
$options = JCckDev::fromSTRING($this->item->options);
?>
<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_label', $this->item->label, $config);
echo JCckDev::renderForm('core_bool', $this->item->bool, $config, array('label' => 'MODE', 'options' => 'NameTitle=1||Position=0'));
//echo JCckDev::renderForm( 'core_bool', $this->item->bool7, $config, array( 'label'=>'Show Form', 'options'=>'Hide=0||Show=optgroup||Yes No=1||Modules=2' ) );
echo JCckDev::renderForm('core_defaultvalue', $this->item->defaultvalue, $config, array('label' => 'NAMETITLE_OR_POSITION'));
//echo JCckDev::renderForm( 'core_options', $options, $config, array( 'label'=>'Modules' ) );
echo JCckDev::renderForm('core_module_style', $this->item->style, $config);
echo JCckDev::renderForm('core_bool2', $this->item->bool2, $config, array('label' => 'Prepare Content', 'defaultvalue' => '0'));
echo JCckDev::renderSpacer(JText::_('COM_CCK_STORAGE'), JText::_('COM_CCK_STORAGE_DESC'));
echo JCckDev::getForm('core_storage', $this->item->storage, $config);
?>
</ul>
</div>
示例10: array
JCckDev::initScript('typo', $this->item);
?>
<div class="seblod">
<?php
echo JCckDev::renderLegend(JText::_('COM_CCK_CONSTRUCTION'), JText::_('PLG_CCK_FIELD_TYPO_' . $this->item->name . '_DESC'));
?>
<ul class="adminformlist adminformlist-2cols">
<?php
echo JCckDev::renderForm('core_bool', '', $config, array('label' => 'Display as Default', 'defaultvalue' => 'thumb1', 'options' => 'Image=value||Thumb1=thumb1||Thumb2=thumb2||Thumb3=thumb3||Thumb4=thumb4||Thumb5=thumb5||Thumb6=thumb6||Thumb7=thumb7||Thumb8=thumb8||Thumb9=thumb9||Thumb10=thumb10', 'storage_field' => 'thumb'));
echo '<li><label>' . JText::_('COM_CCK_WIDTH_HEIGHT') . '</label>' . JCckDev::getForm('core_dev_select', '', $config, array('selectlabel' => 'Auto', 'options' => 'Fixed=1', 'storage_field' => 'thumb_custom')) . '<div id="thumb_width_custom">' . JCckDev::getForm('core_dev_text', '', $config, array('size' => 3, 'required' => 'required', 'storage_field' => 'thumb_width', 'attributes' => 'style="text-align:center"')) . '<span class="variation_value" style="margin-right: 5px;">x</span>' . JCckDev::getForm('core_dev_text', '', $config, array('size' => 3, 'required' => 'required', 'storage_field' => 'thumb_height', 'attributes' => 'style="text-align:center"')) . '<span class="variation_value">px</span>' . '</div></li>';
echo JCckDev::renderForm('core_bool', '', $config, array('label' => 'Display as Default 2x', 'defaultvalue' => '', 'selectlabel' => 'None', 'options' => 'Image=value||Thumb1=thumb1||Thumb2=thumb2||Thumb3=thumb3||Thumb4=thumb4||Thumb5=thumb5||Thumb6=thumb6||Thumb7=thumb7||Thumb8=thumb8||Thumb9=thumb9||Thumb10=thumb10', 'storage_field' => 'thumb_2x'));
echo JCckDev::renderForm('core_bool', '', $config, array('label' => 'Display as Default 3x', 'defaultvalue' => '', 'selectlabel' => 'None', 'options' => 'Image=value||Thumb1=thumb1||Thumb2=thumb2||Thumb3=thumb3||Thumb4=thumb4||Thumb5=thumb5||Thumb6=thumb6||Thumb7=thumb7||Thumb8=thumb8||Thumb9=thumb9||Thumb10=thumb10', 'storage_field' => 'thumb_3x'));
echo JCckDev::renderForm('core_bool', '', $config, array('label' => 'Modal Box', 'defaultvalue' => 'value', 'options' => 'Image=value||Thumb1=thumb1||Thumb2=thumb2||Thumb3=thumb3||Thumb4=thumb4||Thumb5=thumb5||Thumb6=thumb6||Thumb7=thumb7||Thumb8=thumb8||Thumb9=thumb9||Thumb10=thumb10||None=none', 'storage_field' => 'image'));
echo '<li><label>' . JText::_('COM_CCK_WIDTH_HEIGHT') . '</label>' . JCckDev::getForm('core_dev_select', '', $config, array('selectlabel' => 'Auto', 'options' => 'Fixed=1||Inner=2||Max=3', 'storage_field' => 'image_custom')) . '<div id="image_width_custom">' . JCckDev::getForm('core_dev_text', '', $config, array('size' => 3, 'required' => 'required', 'storage_field' => 'image_width', 'attributes' => 'style="text-align:center"')) . '<span class="variation_value" style="margin-right: 5px;">x</span>' . JCckDev::getForm('core_dev_text', '', $config, array('size' => 3, 'required' => 'required', 'storage_field' => 'image_height', 'attributes' => 'style="text-align:center"')) . '<span class="variation_value">px</span>' . '</div></li>';
echo JCckDev::renderForm('core_dev_text', '', $config, array('label' => 'Image Alt Field', 'defaultvalue' => '', 'storage_field' => 'image_alt_fieldname'));
echo JCckDev::renderForm('core_dev_select', '', $config, array('label' => 'Image Title', 'defaultvalue' => '1', 'selectlabel' => '', 'options' => 'None=0||Auto=1', 'storage_field' => 'image_title'));
echo JCckDev::renderForm('core_dev_select', '', $config, array('label' => 'Path Paths', 'selectlabel' => '', 'defaultvalue' => 0, 'options' => 'Absolute=1||Relative=0', 'storage_field' => 'path_type'));
echo JCckDev::renderSpacer(JText::_('COM_CCK_CONSTRUCTION') . '<span class="mini">(' . JText::_('COM_CCK_GENERIC') . ')</span>');
echo JCckDev::renderForm('core_attributes', '', $config, array('label' => 'Custom Attributes', 'storage_field' => 'attributes'), array(), 'w100');
echo JCckDev::renderForm('core_dev_text', '', $config, array('label' => 'Class', 'size' => 24, 'storage_field' => 'class'));
?>
</ul>
</div>
<script type="text/javascript">
jQuery(document).ready(function($) {
$('#thumb_width_custom').isVisibleWhen('thumb_custom','1',false);
$('#image_width_custom').isVisibleWhen('image_custom','1,2,3',false);
});
</script>
示例11: 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) 2009 - 2016 SEBLOD. All Rights Reserved.
* @license GNU General Public License version 2 or later; see _LICENSE.php
**/
defined('_JEXEC') or die;
JCckDev::initScript('field', $this->item, array('hasOptions' => true, 'doTranslation' => 1, 'customAttr' => JCck::getConfig_Param('development_attr', 6)));
$options = JCckDev::fromSTRING($this->item->options);
?>
<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_label', $this->item->label, $config);
echo JCckDev::renderForm('core_defaultvalue', $this->item->defaultvalue, $config);
echo JCckDev::renderForm('core_sorting', $this->item->sorting, $config);
echo JCckDev::renderForm('core_rows', $this->item->rows, $config);
echo JCckDev::renderForm('core_options', $options, $config);
echo JCckDev::renderForm('core_separator', $this->item->divider, $config);
echo JCckDev::renderHelp('field', 'seblod-2-x-select-multiple-field');
echo JCckDev::renderSpacer(JText::_('COM_CCK_STORAGE'), JText::_('COM_CCK_STORAGE_DESC'));
echo JCckDev::getForm('core_storage', $this->item->storage, $config);
?>
</ul>
</div>
示例12: 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>
示例13: array
echo JCckDev::renderForm($cck['core_description'], $this->item->description, $config, array('label' => 'clear', 'selectlabel' => 'Description'));
?>
</ul>
<ul class="spe spe_name">
<?php
echo JCckDev::renderForm($cck['core_name_template'], $this->item->name, $config);
?>
</ul>
<ul class="spe spe_type">
<?php
echo JCckDev::renderForm($cck['core_type_template'], $this->item->mode, $config);
?>
</ul>
<ul class="spe spe_type spe_latest">
<?php
echo JCckDev::renderForm($cck['core_featured'], $this->item->featured, $config, array('label' => 'clear', 'selectlabel' => '', 'options' => 'Featured=1||No=0', 'css' => 'btn-group btn-group-yesno'));
?>
</ul>
</div>
<?php
if (!$this->isNew) {
?>
<div class="seblod">
<div class="legend top left"><?php
echo JText::_('COM_CCK_SOURCES');
?>
</div>
<div id="cck_tree" class="cck_tree" style="padding-left:22px; width: 240px; float: left;">
<?php
echo $this->item->tree;
示例14: 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;
$options2 = JCckDev::fromJSON($this->item->options2);
?>
<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_label', $this->item->label, $config);
echo JCckDev::renderForm('core_place', $this->item->bool, $config, array('label' => 'DISPLAY_MODE'));
echo JCckDev::renderForm('core_dev_text', @$options2['extension'], $config, array('label' => 'Extension', 'storage_field' => 'json[options2][extension]'));
echo JCckDev::renderForm('core_dev_text', @$options2['section'], $config, array('label' => 'Section', 'storage_field' => 'json[options2][section]'));
echo JCckDev::renderSpacer(JText::_('COM_CCK_STORAGE'), JText::_('COM_CCK_STORAGE_DESC'));
echo JCckDev::getForm('core_storage', $this->item->storage, $config);
?>
</ul>
</div>
示例15: array
<ul class="adminformlist adminformlist-2cols">
<?php
echo JCckDev::renderForm('core_label', $this->item->label, $config);
echo '<li' . $class . '><label>' . JText::_('COM_CCK_LABEL_ICON') . '</label>' . JCckDev::getForm('core_dev_select', $this->item->bool6, $config, array('label' => 'Label Icon', 'defaultvalue' => '0', 'selectlabel' => '', 'options' => 'Hide=0||Show=optgroup||Prepend=1||Append=2||Replace=3', 'storage_field' => 'bool6')) . JCckDev::getForm('core_icons', @$options2['icon'], $config, array('css' => 'max-width-150')) . '</li>';
echo JCckDev::renderBlank('<input type="hidden" id="blank_li3" value="" />');
echo JCckDev::renderForm('core_bool', $this->item->bool, $config, array('label' => 'TYPE', 'defaultvalue' => '0', 'options' => 'Input=0||Button=1'));
echo JCckDev::renderForm('core_task', @$options2['task'], $config);
echo JCckDev::renderForm('core_bool3', @$options2['task_auto'], $config, array('label' => 'Auto Selection', 'defaultvalue' => '1', 'storage_field' => 'json[options2][task_auto]'));
echo JCckDev::renderForm('core_task_exporter', $task_id['export'], $config, array('storage_field' => 'json[options2][task_id_export]'));
echo JCckDev::renderForm('core_task_processing', $task_id['process'], $config, array('storage_field' => 'json[options2][task_id_process]'));
echo JCckDev::renderForm('core_bool2', $this->item->bool2, $config, array('label' => 'SHOW_ALTERNATIVE_LINK', 'defaultvalue' => '1', 'options' => 'Hide=0||Show=optgroup||Use Default=1||Custom=2'));
echo JCckDev::renderForm('core_bool3', $this->item->bool3, $config, array('label' => 'Show Alternative Or', 'defaultvalue' => '1', 'options' => 'Hide=0||Show=1'));
echo JCckDev::renderBlank('<input type="hidden" id="blank_li2" value="" />');
echo '<li><label>' . JText::_('COM_CCK_TEXT_LINK') . '</label>' . JCckDev::getForm('core_dev_text', @$options2['alt_link_text'], $config, array('label' => 'Text', 'required' => 'required', 'size' => 14, 'storage_field' => 'json[options2][alt_link_text]')) . JCckDev::getForm('core_plugins', @$options2['alt_link'], $config, array('selectlabel' => 'Select', 'location' => 'field_link', 'required' => 'required', 'storage_field' => 'json[options2][alt_link]', 'attributes' => 'style="max-width:98px"')) . '<input type="hidden" id="json_options2_alt_link_options" name="json[options2][alt_link_options]" value="' . htmlspecialchars(@$options2['alt_link_options']) . '" />' . '<span class="c_link" id="json_options2_alt" name="json_options2_alt">+</span>' . '</li>';
echo JCckDev::renderForm('core_menuitem', @$options2['itemid'], $config, array('label' => 'Redirection', 'selectlabel' => 'None', 'storage_field' => 'json[options2][itemid]'));
echo JCckDev::renderForm('core_dev_textarea', @$options2['custom'], $config, array('label' => 'Custom variables', 'cols' => 92, 'rows' => 1, 'storage_field' => 'json[options2][custom]'), array(), 'w100');
echo JCckDev::renderSpacer(JText::_('COM_CCK_STORAGE'), JText::_('COM_CCK_STORAGE_DESC'));
echo JCckDev::getForm('core_storage', $this->item->storage, $config);
?>
</ul>
</div>
<script type="text/javascript">
jQuery(document).ready(function($) {
$('#bool6').isVisibleWhen('bool','1');
$('#blank_li3').isVisibleWhen('bool','0');
$('#json_options2_icon').isVisibleWhen('bool6','1,2,3',false);
$('#bool3').isVisibleWhen('bool2','1,2');
$('#json_options2_task_auto').isVisibleWhen('json_options2_task','export,process');
$('#json_options2_task_id_export').isVisibleWhen('json_options2_task','export');
$('#json_options2_task_id_process').isVisibleWhen('json_options2_task','process');