當前位置: 首頁>>代碼示例>>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;未經允許,請勿轉載。