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


PHP JCckDev::renderSpacer方法代码示例

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


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

示例1: array

    $hide = '';
    $required = 'required';
}
?>

<div class="seblod">
	<?php 
echo JCckDev::renderLegend(JText::_('COM_CCK_CONSTRUCTION'), JText::_('PLG_CCK_FIELD_LINK_' . $this->item->name . '_DESC'));
?>
    <ul class="adminformlist adminformlist-2cols">
        <?php 
echo JCckDev::renderForm('core_list', '', $config, array(), array(), $hide);
echo JCckDev::renderForm('core_menuitem', '', $config, array('required' => $required));
echo JCckDev::renderForm('core_dev_select', '', $config, array('defaultvalue' => 0, 'label' => 'Field', 'options' => 'None=-1||Field=optgroup||Inherited=0||Custom=1', 'selectlabel' => '', 'storage_field' => 'search_field'), array(), $hide);
echo JCckDev::renderForm('core_dev_text', '', $config, array('label' => 'Field name', 'required' => 'required', 'storage_field' => 'search_fieldname'), array(), $hide);
echo JCckDev::renderSpacer(JText::_('COM_CCK_CONSTRUCTION') . '<span class="mini">(' . JText::_('COM_CCK_GENERIC') . ')</span>');
echo JCckDev::renderForm('core_dev_text', '', $config, array('label' => 'Class', 'size' => 24, 'storage_field' => 'class'));
echo JCckDev::renderForm('core_options_target', '', $config, array('defaultvalue' => '', 'selectlabel' => 'Inherited', 'storage_field' => 'target'));
echo JCckDev::renderForm('core_dev_text', '', $config, array('label' => 'Rel', 'size' => 32, 'storage_field' => 'rel'));
echo JCckDev::renderForm('core_tmpl', '', $config);
echo JCckDev::renderForm('core_dev_textarea', '', $config, array('label' => 'Custom variables', 'cols' => 92, 'rows' => 1, 'storage_field' => 'custom'), array(), 'w100');
echo JCckDev::renderForm('core_dev_select', '', $config, array('label' => 'Status', 'selectlabel' => '', 'defaultvalue' => '1', 'options' => 'Apply=1||Prepare=0', 'storage_field' => 'state'));
echo JCckDev::renderBlank();
?>
    </ul>
</div>

<script type="text/javascript">
jQuery(document).ready(function($) {
	$('#search_fieldname').isVisibleWhen('search_field','1');
});
开发者ID:kenyonjohnston,项目名称:hott_theater,代码行数:31,代码来源: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) 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

示例3: array

        <?php 
echo JCckDev::renderForm('core_form', '', $config, array('selectlabel' => 'Inherited', 'options' => 'Use Value=optgroup||Field=-2||Forms=optgroup', 'bool4' => 1, 'required' => ''));
echo JCckDev::renderForm('core_menuitem', '', $config, array('selectlabel' => 'Inherited'));
echo '<li><label>' . JText::_('COM_CCK_EDITION') . '</label>' . JCckDev::getForm('core_dev_bool', '', $config, array('label' => 'Edition', 'storage_field' => 'form_edition')) . JCckDev::getForm('core_dev_select', '', $config, array('selectlabel' => 'Auto', 'defaultvalue' => '', 'options' => '1=1||2=2||3=3||4=4||Final=0', 'bool8' => 0, 'storage_field' => 'form_edition_stage')) . '</li>';
echo JCckDev::renderForm('core_dev_text', '', $config, array('label' => 'Field Name', 'storage_field' => 'form_fieldname'));
echo JCckDev::renderForm('core_dev_select', '', $config, array('label' => 'Redirection', 'selectlabel' => 'Auto', 'options' => 'Inherited=-1', 'storage_field' => 'redirection'));
echo JCckDev::renderBlank('<input type="hidden" id="blank_li" value="" />');
echo JCckDev::renderForm('core_dev_text', '', $config, array('label' => 'Redirection Custom Variables', 'storage_field' => 'redirection_custom'));
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'));
echo JCckDev::renderForm('core_options_target', '', $config, array('defaultvalue' => '', 'selectlabel' => 'Inherited', 'storage_field' => 'target'));
echo JCckDev::renderForm('core_dev_text', '', $config, array('label' => 'Rel', 'size' => 24, 'storage_field' => 'rel'));
echo '<li><label>' . JText::_('COM_CCK_TITLE') . '</label>' . JCckDev::getForm('core_dev_select', '', $config, array('selectlabel' => 'None', 'options' => 'Custom=2', 'storage_field' => 'title')) . JCckDev::getForm('core_dev_text', '', $config, array('label' => 'Title', 'size' => 16, 'css' => 'input-medium', 'storage_field' => 'title_custom')) . '</li>';
echo JCckDev::renderForm('core_dev_select', '', $config, array('label' => 'Behavior', 'selectlabel' => '', 'defaultvalue' => '1', 'options' => 'Apply=1||Prepare=0', 'storage_field' => 'state'));
echo JCckDev::renderForm('core_tmpl', '', $config);
echo JCckDev::renderForm('core_dev_textarea', '', $config, array('label' => 'Custom variables', 'cols' => 92, 'rows' => 1, 'storage_field' => 'custom'), array(), 'w100');
echo JCckDev::renderSpacer(JText::_('COM_CCK_CONFIG_NO_ACCESS'));
echo JCckDev::renderForm('core_dev_select', '', $config, array('defaultvalue' => '0', 'label' => 'Show Value', 'selectlabel' => '', 'options' => 'Hide=0||Show=1', 'storage_field' => 'no_access'));
?>
    </ul>
</div>

<script type="text/javascript">
jQuery(document).ready(function($) {
	$('#form_edition,#blank_li').isVisibleWhen('form','');
	$('#form_fieldname').isVisibleWhen('form','-2');
	$('#title_custom').isVisibleWhen('title','2',false);
	$('#redirection_custom,#blank_li').isVisibleWhen('redirection','');
});
</script>
开发者ID:codigoaberto,项目名称:SEBLOD,代码行数:31,代码来源:edit.php


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