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


PHP JCckDev::renderBlank方法代码示例

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


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

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


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