本文整理汇总了PHP中JCckDev::renderHelp方法的典型用法代码示例。如果您正苦于以下问题:PHP JCckDev::renderHelp方法的具体用法?PHP JCckDev::renderHelp怎么用?PHP JCckDev::renderHelp使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类JCckDev
的用法示例。
在下文中一共展示了JCckDev::renderHelp方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: defined
* @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('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 '<li><label>' . JText::_('COM_CCK_ORIENTATION') . '</label>' . JCckDev::getForm('core_orientation', $this->item->bool, $config) . JCckDev::getForm('core_orientation_vertical', $this->item->bool2, $config) . '</li>';
echo JCckDev::renderForm('core_options', $options, $config);
echo JCckDev::renderHelp('field', 'seblod-2-x-radio-field');
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($) {
$('#bool2').isVisibleWhen('bool','1',false);
});
</script>
示例2: array
echo JCckDev::renderForm('core_defaultvalue', $this->item->defaultvalue, $config);
echo JCckDev::renderForm('core_options_path', @$options2['path'], $config, array('required' => 'required'));
echo JCckDev::renderBlank();
echo '<li><label>' . JText::_('COM_CCK_PATH_PER_CONTENT') . '</label>' . JCckDev::getForm('core_options_path_content', @$options2['path_content'], $config) . JCckDev::getForm('core_dev_text', @$options2['folder_permissions'], $config, array('defaultvalue' => '0755', 'size' => 4, 'storage_field' => 'json[options2][folder_permissions]')) . '</li>';
echo JCckDev::renderForm('core_options_path_user', @$options2['path_user'], $config);
echo '<li><label>' . JText::_('COM_CCK_LEGAL_EXTENSIONS') . '</label>' . JCckDev::getForm('core_options_media_extensions', $media_ext, $config, array('defaultvalue' => 'image', 'options' => 'image')) . JCckDev::getForm('core_options_legal_extensions_image', @$options2['legal_extensions'], $config, array('size' => 13, 'required' => 'required')) . '</li>';
echo '<li><label>' . JText::_('COM_CCK_MAXIMUM_SIZE') . '</label>' . JCckDev::getForm('core_options_max_size', @$options2['max_size'], $config) . JCckDev::getForm('core_options_size_unit', @$options2['size_unit'], $config) . '</li>';
echo JCckDev::renderForm('core_options_preview_image', @$options2['form_preview'], $config, array('label' => 'SHOW_PREVIEW', 'storage_field' => 'json[options2][form_preview]'));
echo JCckDev::renderForm('core_options_delete_box', @$options2['delete_box'], $config);
echo '<li><label>' . JText::_('COM_CCK_SHOW_CUSTOM_PATH') . '</label>' . JCckDev::getForm('core_bool', @$options2['custom_path'], $config, array('defaultvalue' => '0', 'options' => 'Hide=0||Show=1', 'storage_field' => 'json[options2][custom_path]')) . JCckDev::getForm('core_options_path', @$options2['path_label'], $config, array('defaultvalue' => 'Path', 'size' => 18, 'storage_field' => 'json[options2][path_label]')) . '</li>';
echo JCckDev::renderForm('core_size', $this->item->size, $config);
echo JCckDev::renderForm('core_options_multivalue_mode', @$options2['multivalue_mode'], $config, array('label' => 'MULTIVALUE_MODE'));
echo '<li><label>' . JText::_('COM_CCK_SHOW_TITLE') . '</label>' . JCckDev::getForm('core_bool', @$options2['title_image'], $config, array('defaultvalue' => '1', 'options' => 'Hide=0||Show=1', 'storage_field' => 'json[options2][title_image]')) . JCckDev::getForm('core_options_path', @$options2['title_label'], $config, array('defaultvalue' => 'Title', 'size' => 18, 'storage_field' => 'json[options2][title_label]')) . '</li>';
echo JCckDev::renderBlank('<input type="hidden" id="blank_li" value="" />');
echo '<li><label>' . JText::_('COM_CCK_SHOW_DESCRIPTION_ALT') . '</label>' . JCckDev::getForm('core_bool', @$options2['desc_image'], $config, array('defaultvalue' => '1', 'options' => 'Hide=0||Show=1', 'storage_field' => 'json[options2][desc_image]')) . JCckDev::getForm('core_options_path', @$options2['desc_label'], $config, array('defaultvalue' => 'Description alt', 'size' => 18, 'storage_field' => 'json[options2][desc_label]')) . '</li>';
echo JCckDev::renderHelp('field', '2440-upload-image.html');
echo JCckDev::renderSpacer(JText::_('COM_CCK_PROCESSING'), JText::_('COM_CCK_PROCESSING_DESC_UPLOAD_IMAGE'), 2);
echo JCckDev::renderForm('core_options_force_thumb_creation', @$options2['force_thumb_creation'], $config, array('label' => 'FORCE_THUMB_CREATION'));
echo JCckDev::renderForm('core_options_preview_image', @$options2['content_preview'], $config, array('defaultvalue' => '1', 'label' => 'DISPLAY_AS_DEFAULT', 'options' => 'Image=0||Thumb1=1||Thumb2=2||Thumb3=3||Thumb4=4||Thumb5=5||Thumb6=6||Thumb7=7||Thumb8=8||Thumb9=9||Thumb10=10', 'storage_field' => 'json[options2][content_preview]'));
echo JCckDev::renderForm('core_options_image_process', @$options2['image_process'], $config, array('label' => 'Image', 'defaultvalue' => '', 'storage_field' => 'json[options2][image_process]'));
echo '<li><label>' . JText::_('COM_CCK_WIDTH_HEIGHT') . '</label>' . JCckDev::getForm('core_options_image_width', @$options2['image_width'], $config) . '<span class="variation_value" style="margin-right: 5px;">x</span>' . JCckDev::getForm('core_options_image_height', @$options2['image_height'], $config) . '<span class="variation_value">px</span></li>';
// core_options_image_color (see later)
// core_options_image_watermark (see later)
// core_options_image_default (see later)
// core_options_image_box (see later)
echo JCckDev::renderForm('core_options_thumb_process', @$options2['thumb1_process'], $config, array('label' => 'Thumb1'));
echo '<li><label>' . JText::_('COM_CCK_WIDTH_HEIGHT') . '</label>' . JCckDev::getForm('core_options_thumb_width', @$options2['thumb1_width'], $config) . '<span class="variation_value" style="margin-right: 5px;">x</span>' . JCckDev::getForm('core_options_thumb_height', @$options2['thumb1_height'], $config) . '<span class="variation_value">px</span></li>';
$js = '';
for ($i = 2; $i < 11; $i++) {
echo JCckDev::renderForm('core_options_thumb_process', @$options2['thumb' . $i . '_process'], $config, array('label' => 'Thumb' . $i, 'defaultvalue' => '', 'storage_field' => 'json[options2][thumb' . $i . '_process]'));
echo '<li><label>' . JText::_('COM_CCK_WIDTH_HEIGHT') . '</label>' . JCckDev::getForm('core_options_thumb_width', @$options2['thumb' . $i . '_width'], $config, array('defaultvalue' => '', 'storage_field' => 'json[options2][thumb' . $i . '_width]')) . '<span class="variation_value" style="margin-right: 5px;">x</span>' . JCckDev::getForm('core_options_thumb_height', @$options2['thumb' . $i . '_height'], $config, array('defaultvalue' => '', 'storage_field' => 'json[options2][thumb' . $i . '_height]')) . '<span class="variation_value">px</span></li>';
示例3: array
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_options_format', @$options2['format'], $config);
echo JCckDev::renderForm('core_options_format_date', @$options2['storage_format'], $config, array('label' => 'STORAGE_FORMAT', 'storage_field' => 'json[options2][storage_format]'));
echo JCckDev::renderForm('core_options_dates', @$options2['dates'], $config);
echo JCckDev::renderForm('core_options_theme_calendar', @$options2['theme'], $config);
echo JCckDev::renderForm('core_options_week_numbers', @$options2['week_numbers'], $config);
echo JCckDev::renderForm('core_size', $this->item->size, $config, array('defaultvalue' => '27'));
echo '<li><label>' . JText::_('COM_CCK_SHOW_TIME') . '</label>' . JCckDev::getForm('core_options_time', @$options2['time'], $config, array('options' => 'Hide=0||Show=optgroup||12AM=12||24H=24')) . JCckDev::getForm('core_options_time_pos', @$options2['time_pos'], $config) . '</li>';
echo '<li><label>' . JText::_('COM_CCK_DEFAULT_TIME') . '</label>' . JCckDev::getForm('core_dev_select_numeric', @$options2['default_hour'], $config, array('defaultvalue' => '00', 'selectlabel' => '', 'storage_field' => 'json[options2][default_hour]', 'options2' => '{"math":"0","start":"0","first":"","step":"1","last":"","end":"23","force_digits":"2"}')) . JCckDev::getForm('core_dev_select_numeric', @$options2['default_min'], $config, array('defaultvalue' => '00', 'selectlabel' => '', 'storage_field' => 'json[options2][default_min]', 'options2' => '{"math":"0","start":"0","first":"","step":"1","last":"","end":"59","force_digits":"2"}')) . JCckDev::getForm('core_dev_select_numeric', @$options2['default_sec'], $config, array('defaultvalue' => '00', 'selectlabel' => '', 'storage_field' => 'json[options2][default_sec]', 'options2' => '{"math":"0","start":"0","first":"","step":"1","last":"","end":"59","force_digits":"2"}')) . '</li>';
echo JCckDev::renderForm('core_bool2', $this->item->bool2, $config, array('label' => 'Text Input', 'defaultvalue' => '0', 'options' => 'Enabled=1||Readonly=0'));
echo JCckDev::renderHelp('field', 'seblod-2-x-calendar-field');
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' => 'DATETIME'));
?>
</ul>
</div>
<script type="text/javascript">
jQuery(document).ready(function($) {
$('#json_options2_time_pos').isVisibleWhen('json_options2_time','12,24',false);
$('#json_options2_default_hour').isVisibleWhen('json_options2_time','0');
$('#json_options2_storage_format').live('change', function() {
if ($j(this).val() == 1) {
/*
$('#storage_alter_type').val('TIMESTAMP');
if($('#storage_alter_type').val()!='') {
示例4: array
echo JCckDev::renderForm('core_label', $this->item->label, $config);
echo JCckDev::renderForm('core_defaultvalue', $this->item->defaultvalue, $config);
echo JCckDev::renderForm('core_options_path', @$options2['path'], $config, array('required' => 'required'));
echo JCckDev::renderForm('core_options_format_file', @$options2['storage_format'], $config);
echo '<li><label>' . JText::_('COM_CCK_PATH_PER_CONTENT') . '</label>' . JCckDev::getForm('core_options_path_content', @$options2['path_content'], $config) . JCckDev::getForm('core_dev_text', @$options2['folder_permissions'], $config, array('defaultvalue' => '0755', 'size' => 4, 'storage_field' => 'json[options2][folder_permissions]')) . '</li>';
echo JCckDev::renderForm('core_options_path_user', @$options2['path_user'], $config);
echo '<li><label>' . JText::_('COM_CCK_LEGAL_EXTENSIONS') . '</label>' . JCckDev::getForm('core_options_media_extensions', $media_ext, $config) . JCckDev::getForm('core_options_legal_extensions', @$options2['legal_extensions'], $config, array('size' => 13, 'required' => 'required')) . '</li>';
echo '<li><label>' . JText::_('COM_CCK_MAXIMUM_SIZE') . '</label>' . JCckDev::getForm('core_options_max_size', @$options2['max_size'], $config) . JCckDev::getForm('core_options_size_unit', @$options2['size_unit'], $config) . '</li>';
echo JCckDev::renderForm('core_options_preview', @$options2['preview'], $config);
echo JCckDev::renderForm('core_options_delete_box', @$options2['delete_box'], $config);
echo '<li><label>' . JText::_('COM_CCK_SHOW_CUSTOM_PATH') . '</label>' . JCckDev::getForm('core_bool', @$options2['custom_path'], $config, array('defaultvalue' => '0', 'options' => 'Hide=0||Show=1', 'storage_field' => 'json[options2][custom_path]')) . JCckDev::getForm('core_options_path', @$options2['path_label'], $config, array('defaultvalue' => 'Path', 'size' => 18, 'storage_field' => 'json[options2][path_label]')) . '</li>';
echo JCckDev::renderForm('core_size', $this->item->size, $config);
echo JCckDev::renderForm('core_options_multivalue_mode', @$options2['multivalue_mode'], $config, array('label' => 'MULTIVALUE_MODE'));
echo '<li><label>' . JText::_('COM_CCK_SHOW_TITLE') . '</label>' . JCckDev::getForm('core_bool', @$options2['title_file'], $config, array('defaultvalue' => '1', 'options' => 'Hide=0||Show=1', 'storage_field' => 'json[options2][title_file]')) . JCckDev::getForm('core_options_path', @$options2['title_label'], $config, array('defaultvalue' => 'Link Title', 'size' => 18, 'storage_field' => 'json[options2][title_label]')) . '</li>';
// core_options_path_box (useless)
echo JCckDev::renderHelp('field', 'seblod-2-x-upload-file-field');
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($) {
$('#json_options2_legal_extensions').isVisibleWhen('json_options2_media_extensions','custom',false);
$('#json_options2_title_file').isVisibleWhen('json_options2_multivalue_mode','1');
$('#json_options2_path_label').isVisibleWhen('json_options2_custom_path','1',false);
$('#json_options2_title_label').isVisibleWhen('json_options2_title_file','1',false);
if ( $('#json_options2_storage_format').val() == 1 ){
$('#json_options2_path_user').val(0);
}
示例5: 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>
示例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) 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>
示例7: array
echo '<li><label>' . JText::_('COM_CCK_LANGUAGE_CODES_DEFAULT') . '</label>' . JCckDev::getForm('core_options_language_codes', @$options2['language_codes'], $config, array('size' => 21)) . JCckDev::getForm('core_options_language_default', @$options2['language_default'], $config, array('size' => 5)) . '</li>';
// Static
echo JCckDev::renderForm('core_bool4', $this->item->bool4, $config, array('label' => 'Static Options', 'options' => 'No=0||Yes=optgroup||Above=1||Below=2'));
echo JCckDev::renderBlank();
echo JCckDev::renderForm('core_options', $options, $config);
if ($count) {
for ($i = 0; $i < $count; $i++) {
echo '<li class="w100 custom_attr_mapping"><label>' . JText::_('COM_CCK_OPTIONS_ATTR_COLUMN') . '</label>';
echo JCckDev::getForm('core_dev_text', @$location[$i], $config, array('size' => 7, 'storage_field' => 'string[location][]'));
$j = $i;
$j++;
echo JCckDev::getForm('core_dev_text', @$options2['attr' . $j], $config, array('size' => 7, 'storage_field' => 'json[options2][attr' . $j . ']'));
echo '</li>';
}
}
echo JCckDev::renderHelp('field', 'seblod-2-x-select-dynamic-field');
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($) {
$('#json_options2_query').isVisibleWhen('bool2','1');
$('#json_options2_table, #json_options2_name, #json_options2_value, #json_options2_where, #json_options2_orderby, #json_options2_limit, #json_options2_attr1, #blank_li').isVisibleWhen('bool2','0');
$('#rows, #divider').isVisibleWhen('bool3','1');
$('#sortable_core_options').isVisibleWhen('bool4','1,2');
$('.custom_attr_mapping').toggle();
$("#adminForm").on("click", "#custom_attr_toggle", function() {
$('.custom_attr_mapping').toggle();
示例8: defined
* @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('field', $this->item, array('hasOptions' => true, 'doTranslation' => 1, 'customAttr' => 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 '<li><label>' . JText::_('COM_CCK_ORIENTATION') . '</label>' . JCckDev::getForm('core_orientation', $this->item->bool, $config) . JCckDev::getForm('core_orientation_vertical', $this->item->bool2, $config) . '</li>';
echo JCckDev::renderForm('core_options', $options, $config);
echo JCckDev::renderHelp('field', '2715-radio.html');
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($) {
$('#bool2').isVisibleWhen('bool','1',false);
});
</script>
示例9: defined
* @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_options_math', @$options2['math'], $config);
echo JCckDev::renderForm('core_selectlabel', $this->item->selectlabel, $config);
echo JCckDev::renderForm('core_options_start', @$options2['start'], $config);
echo JCckDev::renderForm('core_options_first', @$options2['first'], $config);
echo JCckDev::renderForm('core_options_step', @$options2['step'], $config);
echo JCckDev::renderForm('core_options_last', @$options2['last'], $config);
echo JCckDev::renderForm('core_options_end', @$options2['end'], $config);
echo JCckDev::renderForm('core_dev_select', @$options2['force_digits'], $config, array('label' => 'Force Digits', 'defaultvalue' => '0', 'selectlabel' => '', 'options' => 'No=0||2 Digits=2||3 Digits=3||4 Digits=4||5 Digits=5', 'storage_field' => 'json[options2][force_digits]'));
echo JCckDev::renderHelp('field', '2717-select-numeric.html');
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' => 'INT(11)'));
?>
</ul>
</div>
示例10: array
echo JCckDev::renderForm('core_options_from', @$options2['from_name'], $config, array('label' => 'From Name', 'options' => 'Default=0||Name=1||Field=3', 'storage_field' => 'json[options2][from_name]'));
echo JCckDev::renderForm('core_options_from_param', @$options2['from_name_param'], $config, array('label' => 'From Name Field', 'storage_field' => 'json[options2][from_name_param]'));
echo JCckDev::renderForm('core_options_subject', @$options2['subject'], $config);
echo JCckDev::renderForm('core_options_to', @$options2['to'], $config);
echo JCckDev::renderForm('core_options_message', @$options2['message'], $config);
echo JCckDev::renderForm('core_options_to_field', @$options2['to_field'], $config);
echo JCckDev::renderForm('core_options_from_param', @$options2['message_field'], $config, array('label' => 'Message Field', 'defaultvalue' => '', 'storage_field' => 'json[options2][message_field]'));
echo JCckDev::renderForm('core_options_to_admin', $to_admin, $config);
echo JCckDev::renderForm('core_options_from_param', @$options2['send_attachment_field'], $config, array('label' => 'Send Attachment Field', 'defaultvalue' => '', 'storage_field' => 'json[options2][send_attachment_field]'));
echo JCckDev::renderForm('core_options_to', @$options2['attachment_field'], $config, array('label' => 'Attachment Field', 'defaultvalue' => '', 'storage_field' => 'json[options2][attachment_field]'));
echo JCckDev::renderForm('core_options_from', @$options2['cc'], $config, array('label' => 'CC', 'options' => 'None=0||Email=1||Field=3', 'storage_field' => 'json[options2][cc]'));
echo JCckDev::renderForm('core_options_to', @$options2['cc_param'], $config, array('label' => 'CC Email Field', 'storage_field' => 'json[options2][cc_param]'));
echo JCckDev::renderForm('core_options_from', @$options2['bcc'], $config, array('label' => 'BCC', 'options' => 'None=0||Email=1||Field=3', 'storage_field' => 'json[options2][bcc]'));
echo JCckDev::renderForm('core_options_to', @$options2['bcc_param'], $config, array('label' => 'BCC Email Field', 'storage_field' => 'json[options2][bcc_param]'));
echo JCckDev::renderForm('core_size', $this->item->size, $config);
echo JCckDev::renderForm('core_dev_select', @$options2['format'], $config, array('label' => 'Format', 'defaultvalue' => '1', 'selectlabel' => '', 'options' => 'HTML=1||HTML as Plain Text=2||Plain Text=0', 'storage_field' => 'json[options2][format]'));
echo JCckDev::renderHelp('field', '3023-email.html');
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($) {
$('#json_options2_from_param').isVisibleWhen('json_options2_from','1,3',true,'visibility');
$('#json_options2_from_name_param').isVisibleWhen('json_options2_from_name','1,3',true,'visibility');
$('#json_options2_cc_param').isVisibleWhen('json_options2_cc','1,3',true,'visibility');
$('#json_options2_bcc_param').isVisibleWhen('json_options2_bcc','1,3',true,'visibility');
});
</script>
示例11: defined
* @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('custom');
?>
<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_form', $this->item->extended, $config, array('label' => 'CONTENT_TYPE_FORM', 'selectlabel' => 'Select', 'options2' => '{"query":"","table":"#__cck_core_types","name":"title","where":"","value":"name","orderby":"title","orderby_direction":"ASC","limit":""}', 'required' => 'required', 'storage_field' => 'extended'));
echo JCckDev::renderForm('core_rows', $this->item->rows, $config, array('label' => 'DEFAULT', 'defaultvalue' => '1'));
echo JCckDev::renderForm('core_bool2', $this->item->bool2, $config, array('label' => 'ADD', 'defaultvalue' => '1'));
echo JCckDev::renderForm('core_maxlength', $this->item->maxlength, $config, array('label' => 'MAXIMUM', 'defaultvalue' => '10'));
echo JCckDev::renderForm('core_bool3', $this->item->bool3, $config, array('label' => 'DEL', 'defaultvalue' => '1'));
echo JCckDev::renderForm('core_minlength', $this->item->minlength, $config, array('label' => 'MINIMUM', 'defaultvalue' => '1'));
echo JCckDev::renderForm('core_bool4', $this->item->bool4, $config, array('label' => 'DRAG', 'defaultvalue' => '1'));
echo JCckDev::renderForm('core_orientation', $this->item->bool, $config, array('defaultvalue' => '1', 'options' => 'Horizontal=0||Vertical=1||Table=2'));
echo JCckDev::renderHelp('field', '2879-groupx.html');
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>
示例12: defined
* @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('custom');
?>
<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_extended', $this->item->extended, $config);
echo JCckDev::renderForm('core_rows', $this->item->rows, $config, array('label' => 'DEFAULT', 'defaultvalue' => '1'));
echo JCckDev::renderForm('core_bool2', $this->item->bool2, $config, array('label' => 'ADD', 'defaultvalue' => '1'));
echo JCckDev::renderForm('core_maxlength', $this->item->maxlength, $config, array('label' => 'MAXIMUM', 'defaultvalue' => '10'));
echo JCckDev::renderForm('core_bool3', $this->item->bool3, $config, array('label' => 'DEL', 'defaultvalue' => '1'));
echo JCckDev::renderForm('core_minlength', $this->item->minlength, $config, array('label' => 'MINIMUM', 'defaultvalue' => '1'));
echo JCckDev::renderForm('core_bool4', $this->item->bool4, $config, array('label' => 'DRAG', 'defaultvalue' => '1'));
echo JCckDev::renderHelp('field', '1970-fieldx.html');
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>
示例13: defined
* @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_defaultvalue', $this->item->defaultvalue, $config);
echo JCckDev::renderForm('core_options_math', @$options2['math'], $config);
echo JCckDev::renderForm('core_selectlabel', $this->item->selectlabel, $config);
echo JCckDev::renderForm('core_options_start', @$options2['start'], $config);
echo JCckDev::renderForm('core_options_first', @$options2['first'], $config);
echo JCckDev::renderForm('core_options_step', @$options2['step'], $config);
echo JCckDev::renderForm('core_options_last', @$options2['last'], $config);
echo JCckDev::renderForm('core_options_end', @$options2['end'], $config);
echo JCckDev::renderForm('core_dev_select', @$options2['force_digits'], $config, array('label' => 'Force Digits', 'defaultvalue' => '0', 'selectlabel' => '', 'options' => 'No=0||2 Digits=2||3 Digits=3||4 Digits=4||5 Digits=5', 'storage_field' => 'json[options2][force_digits]'));
echo JCckDev::renderHelp('field', 'seblod-2-x-select-numeric-field');
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' => 'INT(11)'));
?>
</ul>
</div>
示例14: defined
* @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 '<li><label>' . JText::_('COM_CCK_ORIENTATION') . '</label>' . JCckDev::getForm('core_orientation', $this->item->bool, $config) . JCckDev::getForm('core_orientation_vertical', $this->item->bool2, $config) . '</li>';
echo JCckDev::renderForm('core_options', $options, $config);
echo JCckDev::renderForm('core_separator', $this->item->divider, $config);
echo JCckDev::renderHelp('field', '2693-checkbox.html');
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($) {
$('#bool2').isVisibleWhen('bool','1',false);
});
</script>
示例15: defined
defined('_JEXEC') or die;
$class = JCck::on() ? '' : ' class="hide"';
$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_description', $this->item->defaultvalue, $config, array('label' => 'Default_Value', 'storage_field' => 'defaultvalue'));
echo JCckDev::renderForm('core_options_editor', @$options2['editor'], $config);
echo '<li><label>' . JText::_('COM_CCK_WIDTH_HEIGHT') . '</label>' . JCckDev::getForm('core_options_width', @$options2['width'], $config, array('defaultvalue' => '100%')) . '<span class="variation_value" style="margin-right: 5px;">x</span>' . JCckDev::getForm('core_options_height', @$options2['height'], $config, array('defaultvalue' => '280')) . '<span class="variation_value">px</span></li>';
echo JCckDev::renderForm('core_place', $this->item->bool, $config, array('label' => 'DISPLAY_MODE'));
echo JCckDev::renderForm('core_selectlabel', $this->item->selectlabel, $config);
echo JCckDev::renderHelp('field', 'seblod-2-x-wysiwyg-editor-field');
echo JCckDev::renderSpacer(JText::_('COM_CCK_PROCESSING'), JText::_('PLG_CCK_FIELD_' . $this->item->type . '_DESC_PROCESSING'), 2);
echo JCckDev::renderForm('core_options_import', @$options2['import'], $config);
echo JCckDev::renderSpacer(JText::_('COM_CCK_STORAGE'), JText::_('COM_CCK_STORAGE_DESC'), 3);
echo JCckDev::getForm('core_storage', $this->item->storage, $config, array(), array('alter_type_value' => 'TEXT'));
?>
</ul>
</div>
<script type="text/javascript">
jQuery(document).ready(function($) {
$('selectlabel').isVisibleWhen('bool','0',true);
});
</script>