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


PHP JCckDev::getForm方法代码示例

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


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

示例1: array

        </div>
        <div class="modal-body">
            <p><?php 
    echo JText::_('COM_CCK_BATCH_PROCESS_' . $this->vName);
    ?>
</p>
            <div class="control-group">
                <div class="control-label">
                    <label for="batch_folder"><?php 
    echo JText::_('COM_CCK_SET_APP_FOLDER');
    ?>
</label>
                </div>
                <div class="controls">
                    <?php 
    echo JCckDev::getForm($cck['core_folder'], '', $config, array('label' => _C0_TEXT, 'storage_field' => 'batch_folder', 'css' => 'no-chosen'));
    ?>
                </div>
            </div>
        </div>
        <div class="modal-footer">
            <button class="btn" type="button" onclick="" data-dismiss="modal"><?php 
    echo JText::_('JCANCEL');
    ?>
</button>
            <button class="btn btn-primary" type="submit" onclick="Joomla.submitbutton('batch_folder');"><?php 
    echo JText::_('COM_CCK_GO');
    ?>
</button>
        </div>
    </div>
开发者ID:hamby,项目名称:SEBLOD,代码行数:31,代码来源:default_batch.php

示例2: array

    ?>
			<img id="toggle_acl" src="components/com_cck/assets/images/24/icon-24-acl.png" border="0" alt="" style="float: right; margin: 9px 9px 0px 0px; cursor: pointer;" />
		<?php 
}
?>
	</div>

    <div class="seblod">
        <div class="legend top left"><?php 
echo '&rArr; ' . JText::_('COM_CCK_SITE_ALIASES');
?>
</div>
        <ul class="adminformlist adminformlist-2cols">
            <?php 
$aliases = JCckDev::fromSTRING($this->item->aliases);
echo '<li>' . JCckDev::getForm('core_options', $aliases, $config, array('storage_field' => 'aliases')) . '</li>';
?>
        </ul>
    </div>

    <div class="seblod">
        <div class="legend top left"><?php 
echo '&rArr; ' . JText::_('COM_CCK_SITE_OPTIONS');
?>
</div>
        <?php 
if (count($this->item->fields)) {
    ?>
        <ul class="adminformlist adminformlist-2cols">
            <?php 
    $fieldnames = array();
开发者ID:hamby,项目名称:SEBLOD,代码行数:31,代码来源:edit.php

示例3: 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;
// TODO: cache all tables, filter, and push.
echo JCckDev::getForm('core_form', '', $config, array('label' => 'Content Type', 'selectlabel' => 'Generic', 'options' => 'Linked to Content Type=optgroup', 'bool4' => 1, 'required' => '', 'css' => 'storage-cck-more', 'storage_field' => 'storage_cck'));
开发者ID:codigoaberto,项目名称:SEBLOD,代码行数:13,代码来源:edit.php

示例4: _addSelect

 protected static function _addSelect($id, $label, $suffix, $field, $value, $array = array())
 {
     $form = '<div class="cck_forms cck_link_' . $suffix . '">';
     $form .= '<div class="cck_label cck_label_link_' . $suffix . '"><label for="' . $id . '" >' . $label . '</label></div>';
     $form .= '<div class="cck_form cck_form_link_' . $suffix . '">';
     $form .= JCckDev::getForm($field, $value, $config, $array);
     $form .= '</div></div>';
     return $form;
 }
开发者ID:densem-2013,项目名称:exikom,代码行数:9,代码来源:link.php

示例5: array

        ?>
        <div class="modal-body">
            <p><?php 
        echo JText::_('COM_CCK_BATCH_PROCESS_' . $this->vName . '_2');
        ?>
</p>
            <div class="control-group">
                <div class="control-label">
                    <label for="duplicate_title"><?php 
        echo JText::_('COM_CCK_CHOOSE_A_TITLE');
        ?>
</label>
                </div>
                <div class="controls">
                    <?php 
        echo JCckDev::getForm($cck['core_dev_text'], '', $config, array('label' => 'Title', 'storage_field' => 'duplicate_title'));
        ?>
                </div>
            </div>
        </div>
        <div class="modal-footer">
            <button class="btn" type="button" onclick="" data-dismiss="modal"><?php 
        echo JText::_('JCANCEL');
        ?>
</button>
            <button class="btn btn-primary" type="submit" onclick="Joomla.submitbutton('searchs.duplicate');"><?php 
        echo JText::_('COM_CCK_GO');
        ?>
</button>
        </div>
        <?php 
开发者ID:pctechnikch,项目名称:SEBLOD,代码行数:31,代码来源:default_batch.php

示例6: 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::getForm($cck['core_storage_table'], $table, $config, array('selectlabel' => 'None'));
开发者ID:densem-2013,项目名称:exikom,代码行数:12,代码来源:edit.php

示例7: array

                <?php 
echo JCckDev::renderForm($cck['core_state'], $this->item->published, $config, array('label' => 'clear'));
?>
            </ul>
            <ul class="spe spe_description">
                <?php 
echo JCckDev::renderForm($cck['core_description'], $this->item->description, $config, array('label' => 'clear', 'selectlabel' => 'Description'));
?>
            </ul>
        </div>
		<div class="clr"></div>
        <div class="togglebar">
        	<div>
			<?php 
echo JCckDev::getForm($cck['core_client_search'], $this->item->client, $config);
echo JCckDev::getForm($cck['core_layer'], $this->item->layer, $config);
?>
        	</div>
        </div>
        <div id="toggle_more" class="toggle_more <?php 
echo $this->panel_class;
?>
"></div>
		<input type="hidden" id="storage_location" name="storage_location" value="joomla_article" />
	</div>
	<div class="seblod first" id="more" style="<?php 
echo $this->panel_style;
?>
height:<?php 
echo $this->css['panel_height'];
?>
开发者ID:codigoaberto,项目名称:SEBLOD,代码行数:31,代码来源:edit.php

示例8: defined

* @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('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', 'seblod-2-x-field-x');
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>
开发者ID:hamby,项目名称:SEBLOD,代码行数:30,代码来源:edit.php

示例9: stdClass

    $field = new stdClass();
    $field->type = 'select_simple';
    $form = JHtml::_('select.genericlist', $columns, 'map', 'size="1" class="inputbox select" style="max-width:175px;"', 'value', 'text', '', 'map');
} else {
    $desc = '';
    $field = JCckDatabase::loadObject('SELECT * FROM #__cck_core_fields WHERE name = "' . $this->item->name . '"');
    $field->required_alert = '';
    $field->selectlabel = 'SELECT';
    $field->variation = '';
    $field->variation_override = '';
    $field->restriction = '';
    if (strpos($field->type, 'checkbox') !== false || strpos($field->type, 'radio') !== false) {
        $field->bool = 1;
    }
    if ($this->item->id == 'stage') {
        $form = JCckDev::getForm('core_dev_select', '', $config, array('selectlabel' => 'Select', 'options' => 'Stage 1st=1||Stage 2nd=2||Stage 3rd=3||Stage 4th=4||Stage 5th=5', 'storage_field' => $field->name));
    } else {
        $form = JCckDevField::getForm($field, '', $config);
    }
}
$toggle = 0;
$separator = '';
if ($this->item->title == 'search') {
    $isConvertible = JCck::callFunc('plgCCK_Field' . $field->type, 'isConvertible');
    if ($isConvertible == 1) {
        $toggle = 1;
        if ($field->divider != '') {
            $toggle = 0;
            $separator = $field->divider;
        } else {
            $separator = ',';
开发者ID:olafzieger,项目名称:joomla3.x-seblod-test,代码行数:31,代码来源:selection.php

示例10: array

				<div class="controls">
					<?php 
    echo JCckDev::getForm('core_dev_radio', '', $config, array('defaultvalue' => $params->get('filename_date', '0'), 'options' => 'No=0||Yes=1', 'css' => 'btn-group btn-group-yesno app-options', 'storage_field' => 'filename_date'));
    ?>
				</div>
			</div>
			<div class="control-group">
				<div class="control-label">
					<label for="batch_folder"><?php 
    echo JText::_('COM_CCK_APPEND_VERSION_NUMBER') . '<span class="star"> *</span>';
    ?>
</label>
				</div>
				<div class="controls">
					<?php 
    echo JCckDev::getForm('core_dev_radio', '', $config, array('defaultvalue' => $params->get('filename_version', '0'), 'options' => 'No=0||Yes=1', 'css' => 'btn-group btn-group-yesno app-options', 'storage_field' => 'filename_version'));
    ?>
				</div>
			</div>
			<?php 
    echo '<small class="pull-right"> * ' . JText::_('COM_CCK_NOT_PERMANENTLY_STORED') . '</small>';
    echo JCckDevTabs::end();
    ?>
		</div>
		<div class="modal-footer">
			<button class="btn btn-primary" type="button" onclick="" data-dismiss="modal"><?php 
    echo JText::_('COM_CCK_CLOSE');
    ?>
</button>
		</div>
	</div>
开发者ID:densem-2013,项目名称:exikom,代码行数:31,代码来源:default_app.php

示例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) 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

示例12: array

        <div class="legend top left"><?php 
echo '&rArr; ' . JText::_('COM_CCK_CONFIG_GLOBAL_LIST');
?>
</div>
        <ul class="adminformlist adminformlist-2cols">
			<?php 
echo JCckDev::renderForm($cck['core_auto_redirection'], @$options['auto_redirect'], $config, array('defaultvalue' => 0, 'label' => 'CONFIG_AUTO_REDIRECTION', 'storage_field' => 'options[auto_redirect]'));
echo JCckDev::renderForm($cck['core_ordering'], @$options['ordering'], $config, array('label' => 'CONFIG_ORDERING', 'selectlabel' => 'Inherited', 'storage_field' => 'options[ordering]'));
echo JCckDev::renderForm('core_show_hide', @$options['show_list_title'], $config, array('defaultvalue' => 1, 'label' => 'CONFIG_SHOW_LIST_TITLE', 'storage_field' => 'options[show_list_title]'));
echo '<li><label>' . JText::_('COM_CCK_CONFIG_TITLE_TAG_CLASS') . '</label>' . JCckDev::getForm($cck['core_tag_title'], @$options['tag_list_title'], $config, array('storage_field' => 'options[tag_list_title]')) . JCckDev::getForm($cck['core_class_title'], @$options['class_list_title'], $config, array('size' => 16, 'storage_field' => 'options[class_list_title]')) . '</li>';
echo JCckDev::renderForm($cck['core_show_hide2'], @$options['show_list_desc'], $config, array('defaultvalue' => 1, 'label' => 'CONFIG_SHOW_LIST_DESCRIPTION', 'storage_field' => 'options[show_list_desc]'));
echo JCckDev::renderBlank();
echo JCckDev::renderForm('core_show_hide', @$options['show_list'], $config, array('defaultvalue' => 1, 'label' => 'CONFIG_SHOW_SEARCH_LIST', 'storage_field' => 'options[show_list]'));
echo JCckDev::renderForm('core_show_hide2', @$options['show_form'], $config, array('defaultvalue' => 1, 'label' => 'CONFIG_SHOW_SEARCH_FORM', 'options' => 'Hide=0||Prepare=-1||Show=optgroup||Above=1||Below=2', 'storage_field' => 'options[show_form]'));
echo JCckDev::renderForm('core_show_hide', @$options['show_items_number'], $config, array('defaultvalue' => 0, 'label' => 'CONFIG_SHOW_ITEMS_NUMBER', 'storage_field' => 'options[show_items_number]'));
echo '<li><label>' . JText::_('COM_CCK_CONFIG_ITEMS_NUMBER_LABEL_CLASS') . '</label>' . JCckDev::getForm($cck['core_label_total'], @$options['label_items_number'], $config, array('storage_field' => 'options[label_items_number]')) . JCckDev::getForm($cck['core_class_total'], @$options['class_items_number'], $config, array('size' => 16, 'storage_field' => 'options[class_items_number]')) . '</li>';
echo JCckDev::renderForm('core_show_hide', @$options['show_pages_number'], $config, array('defaultvalue' => 1, 'label' => 'CONFIG_SHOW_PAGES_NUMBER', 'storage_field' => 'options[show_pages_number]'));
echo JCckDev::renderForm($cck['core_show_pagination'], @$options['show_pagination'], $config, array('defaultvalue' => 0, 'label' => 'CONFIG_SHOW_PAGINATION', 'storage_field' => 'options[show_pagination]'));
echo JCckDev::renderForm($cck['core_class_pagination'], @$options['class_pagination'], $config, array('label' => 'CONFIG_PAGINATION_CLASS', 'size' => 16, 'storage_field' => 'options[class_pagination]'));
echo JCckDev::renderBlank('<input type="hidden" id="blank_li6" value="" />');
echo JCckDev::renderForm('core_dev_text', @$options['callback_pagination'], $config, array('label' => 'Config Pagination Callback', 'storage_field' => 'options[callback_pagination]'));
?>
        </ul>
	</div>
    <div class="seblod">
        <div class="legend top left"><?php 
echo '&rArr; ' . JText::_('COM_CCK_CONFIG_NO_ACCESS');
?>
</div>
        <ul class="adminformlist adminformlist-2cols">
            <?php 
开发者ID:kolydart,项目名称:SEBLOD,代码行数:31,代码来源:edit_configuration.php

示例13: array

$from_view = $this->item->master == 'content' ? $this->item->client == 'intro' ? 'CONTENT' : 'INTRO' : ($this->item->client == 'admin' ? 'SITE_FORM' : 'ADMIN_FORM');
$clone = $this->item->id ? JText::sprintf('COM_CCK_GET_FIELDS_FROM_VIEW', JText::_('COM_CCK_' . $from_view)) : '';
$positions = array();
?>

<div class="<?php 
echo $this->css['wrapper2'] . ' ' . $this->uix;
?>
">
    <div class="<?php 
echo $this->css['w70'];
?>
" id="seblod-main">
        <div class="seblod">
            <div id="linkage_wrap"><?php 
echo JCckDev::getForm($cck['core_linkage'], 1, $config);
?>
</div>
            <div class="legend top left"><?php 
echo JText::_('COM_CCK_CONSTRUCTION_' . $this->uix) . '<span class="mini">(' . JText::_('COM_CCK_FOR_VIEW_' . $this->item->client) . ')</span>';
?>
</div>
            <?php 
$style = array('1' => '', '2' => ' hide', '3' => ' hide', '4' => ' hide', '5' => ' hide', '6' => ' hide');
Helper_Workshop::displayHeader('type', $this->item->master);
echo '<ul class="sortable connected" id="sortable1" myid="1">';
foreach ($this->positions as $pos) {
    if (isset($this->fields[$pos->name])) {
        $this->setPosition($pos->name);
        foreach ($this->fields[$pos->name] as $field) {
            $type_field = '';
开发者ID:densem-2013,项目名称:exikom,代码行数:31,代码来源:edit_fields_full.php

示例14: defined

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_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);
});
开发者ID:hamby,项目名称:SEBLOD,代码行数:31,代码来源:edit.php

示例15: array

?>

<div class="<?php 
echo $this->css['filter'];
?>
" id="filter-bar">
	<div class="<?php 
echo $this->css['filter_search'];
?>
">
        <?php 
echo JCckDev::getForm($cck['core_location_filter'], $this->state->get('filter.location'), $config, array('type' => 'select_simple', 'options' => 'Title=title||Templates=optgroup||Template Name=template_name'));
echo JCckDev::getForm($cck['core_filter_input'], $this->escape($this->state->get('filter.search')), $config, array('attributes' => 'placeholder="' . JText::_('COM_CCK_ITEMS_SEARCH_FILTER') . '" style="text-align:center;"'), array('after' => "\n"));
echo JCckDev::getForm($cck['core_filter_go'], '', $config, array('css' => $this->css['filter_search_button']), array('after' => "\n"));
echo JCckDev::getForm($cck['core_filter_search'], '', $config, array('css' => $this->css['filter_search_button'], 'attributes' => 'onclick="' . $clear . 'this.form.submit();"'), array('after' => "\n"));
echo JCckDev::getForm($cck['core_filter_clear'], '', $config, array('css' => $this->css['filter_search_button'], 'attributes' => 'onclick="document.getElementById(\'filter_search\').value=\'\';document.getElementById(\'filter_location\').value=\'title\';' . $clear . 'this.form.submit();"'));
?>
	</div>
	<?php 
if (JCck::on()) {
    ?>
		<!--
		<div class="<?php 
    echo $this->css['filter_search_list'];
    ?>
">
			<label for="limit" class="element-invisible"><?php 
    echo JText::_('JFIELD_PLG_SEARCH_SEARCHLIMIT_DESC');
    ?>
</label>
			<?php 
开发者ID:codigoaberto,项目名称:SEBLOD,代码行数:31,代码来源:default_filter.php


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