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


PHP flexicontent_html::jscode_to_showhide_table方法代码示例

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


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

示例1: defined

 * 
 * FLEXIcontent is a derivative work of the excellent QuickFAQ component
 * @copyright (C) 2008 Christoph Lukes
 * see www.schlu.net for more information
 *
 * FLEXIcontent is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 */
defined('_JEXEC') or die('Restricted access');
$tip_class = FLEXI_J30GE ? ' hasTooltip' : ' hasTip';
$btn_class = FLEXI_J30GE ? 'btn' : 'fc_button fcsimple';
$start_text = '<span class="label">' . JText::_('FLEXI_COLUMNS', true) . '</span>';
$end_text = '<div class="icon-arrow-up-2" title="' . JText::_('FLEXI_HIDE') . '" style="cursor: pointer;" onclick="fc_toggle_box_via_btn(\\\'mainChooseColBox\\\', document.getElementById(\\\'fc_mainChooseColBox_btn\\\'), \\\'btn-primary\\\');"></div>';
flexicontent_html::jscode_to_showhide_table('mainChooseColBox', 'adminListTableFCfields', $start_text, $end_text);
$edit_entry = JText::_('FLEXI_EDIT_FIELD', true);
$user = JFactory::getUser();
$cparams = JComponentHelper::getParams('com_flexicontent');
$ctrl = FLEXI_J16GE ? 'fields.' : '';
$fields_task = FLEXI_J16GE ? 'task=fields.' : 'controller=fields&amp;task=';
//$field_model = JModel::getInstance('field', 'FlexicontentModel');
$flexi_yes = JText::_('FLEXI_YES');
$flexi_no = JText::_('FLEXI_NO');
$flexi_nosupport = JText::_('FLEXI_PROPERTY_NOT_SUPPORTED', true);
$flexi_rebuild = JText::_('FLEXI_REBUILD_SEARCH_INDEX', true);
$flexi_toggle = JText::_('FLEXI_CLICK_TO_TOGGLE', true);
$ordering_draggable = $cparams->get('draggable_reordering', 1);
if ($this->ordering) {
    $image_ordering_tip = '<img src="components/com_flexicontent/assets/images/warning.png" class="fc-man-icon-s ' . $tip_class . '" alt="Reordering" title="' . flexicontent_html::getToolTip('FLEXI_REORDERING', 'FLEXI_REORDERING_ENABLED_DESC', 1, 1) . '" /> ';
    $drag_handle_box = '<div class="fc_drag_handle%s" title="' . JText::_('FLEXI_ORDER_SAVE_WHEN_DONE', true) . '"></div>';
开发者ID:noxidsoft,项目名称:flexicontent-cck,代码行数:31,代码来源:default.php

示例2: defined

 * @subpackage FLEXIcontent
 * @copyright (C) 2009 Emmanuel Danan - www.vistamedia.fr
 * @license GNU/GPL v2
 *
 * FLEXIcontent is a derivative work of the excellent QuickFAQ component
 * @copyright (C) 2008 Christoph Lukes
 * see www.schlu.net for more information
 *
 * FLEXIcontent is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 */
defined('_JEXEC') or die('Restricted access');
$header_text = '<span class="label">' . JText::_('FLEXI_COLUMNS', true) . '</span>  &nbsp; ' . '<a onclick="alert(this.title);" title="' . str_replace("<br/>", "\\n", JText::_('FLEXI_CAN_ADD_CUSTOM_FIELD_COLUMNS_COMPONENT_AND_PER_TYPE', true)) . '" style="vertical-align:middle; font-size:12px; cursor:pointer;" href="javascript:;" >' . '<img src="components/com_flexicontent/assets/images/plus-button.png" /><sup>[5]</sup>' . '</a> &nbsp; ';
flexicontent_html::jscode_to_showhide_table('mainChooseColBox', 'adminListTableFCitems', $header_text);
global $globalcats;
$cparams = JComponentHelper::getParams('com_flexicontent');
$limit = $this->pagination->limit;
$ctrl = FLEXI_J16GE ? 'items.' : '';
$items_task = FLEXI_J16GE ? 'task=items.' : 'controller=items&amp;task=';
$cats_task = FLEXI_J16GE ? 'task=category.' : 'controller=categories&amp;task=';
$db = JFactory::getDBO();
$config = JFactory::getConfig();
$nullDate = $db->getNullDate();
$user = JFactory::getUser();
$enable_translation_groups = $cparams->get("enable_translation_groups") && (FLEXI_J16GE || FLEXI_FISH);
$autologin = '';
//$cparams->get('autoflogin', 1) ? '&amp;fcu='.$user->username . '&amp;fcp='.$user->password : '';
$items_list_cols = 15;
if (FLEXI_J16GE || FLEXI_FISH) {
开发者ID:kosmosby,项目名称:medicine-prof,代码行数:31,代码来源:default.php

示例3: defined

 * @copyright (C) 2008 Christoph Lukes
 * see www.schlu.net for more information
 *
 * FLEXIcontent is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 */
defined('_JEXEC') or die('Restricted access');
$search_prefix = JComponentHelper::getParams('com_flexicontent')->get('add_search_prefix') ? 'vvv' : '';
// SEARCH WORD Prefix
$tip_class = FLEXI_J30GE ? ' hasTooltip' : ' hasTip';
$btn_class = FLEXI_J30GE ? 'btn' : 'fc_button fcsimple';
$start_text = '<span class="label">' . JText::_('FLEXI_COLUMNS', true) . '</span>';
$end_text = '<div class="icon-arrow-up-2" title="' . JText::_('FLEXI_HIDE') . '" style="cursor: pointer;" onclick="fc_toggle_box_via_btn(\\\'mainChooseColBox\\\', document.getElementById(\\\'fc_mainChooseColBox_btn\\\'), \\\'btn-primary\\\');"></div>';
flexicontent_html::jscode_to_showhide_table('mainChooseColBox', 'adminListTableFCsearch' . ($this->isADV ? '_advanced' : '_basic'), $start_text, $end_text);
$edit_entry = JText::_('FLEXI_EDIT_TYPE', true);
$list_total_cols = $this->isADV ? 10 : 5;
?>

<script type="text/javascript">

// the function overloads joomla standard event
function submitform(pressbutton)
{
	form = document.adminForm;
	
	// Store the button task into the form
	if (pressbutton) {
		form.task.value=pressbutton;
	}
开发者ID:nettdotkomm,项目名称:flexicontent-cck,代码行数:31,代码来源:default.php

示例4: defined

 * @copyright (C) 2008 Christoph Lukes
 * see www.schlu.net for more information
 *
 * FLEXIcontent is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 */
defined('_JEXEC') or die('Restricted access');
$tip_class = FLEXI_J30GE ? ' hasTooltip' : ' hasTip';
$btn_class = FLEXI_J30GE ? 'btn' : 'fc_button fcsimple';
$hint_image = JHTML::image('administrator/components/com_flexicontent/assets/images/comment.png', JText::_('FLEXI_NOTES'), '');
$warn_image = JHTML::image('components/com_flexicontent/assets/images/warning.png', JText::_('FLEXI_NOTES'), '');
$start_text = '<span class="label">' . JText::_('FLEXI_COLUMNS', true) . '</span>';
$end_text = '<div class="icon-arrow-up-2" title="' . JText::_('FLEXI_HIDE') . '" style="cursor: pointer;" onclick="fc_toggle_box_via_btn(\\\'mainChooseColBox\\\', document.getElementById(\\\'fc_mainChooseColBox_btn\\\'), \\\'btn-primary\\\');"></div>';
flexicontent_html::jscode_to_showhide_table('mainChooseColBox', 'adminListTableFCfileselement_default' . $this->fieldid, $start_text, $end_text);
$ctrl_task = FLEXI_J16GE ? 'task=filemanager.' : 'controller=filemanager&amp;task=';
$del_task = FLEXI_J16GE ? 'filemanager.remove' : 'remove';
$session = JFactory::getSession();
$document = JFactory::getDocument();
$cparams = JComponentHelper::getComponent('com_flexicontent')->params;
$_folder_type_title = JText::_('FLEXI_URL_SECURE');
$_folder_type_desc = JText::_('FLEXI_URL_SECURE_DESC');
$secure_folder_tip = '<img src="components/com_flexicontent/assets/images/comment.png" data-placement="bottom" class="fc-man-icon-s ' . $tip_class . '" alt="' . $_folder_type_title . '" title="' . flexicontent_html::getToolTip($_folder_type_title, $_folder_type_desc, 0, 1) . '" />';
$close_btn = FLEXI_J30GE ? '<a class="close" data-dismiss="alert">&#215;</a>' : '<a class="fc-close" onclick="this.parentNode.parentNode.removeChild(this.parentNode);">&#215;</a>';
$alert_box = FLEXI_J30GE ? '<div %s class="alert alert-%s %s">' . $close_btn . '%s</div>' : '<div %s class="fc-mssg fc-%s %s">' . $close_btn . '%s</div>';
// Load JS tabber lib
$document->addScriptVersion(JURI::root(true) . '/components/com_flexicontent/assets/js/tabber-minimized.js', FLEXI_VERSION);
$document->addStyleSheetVersion(JURI::root(true) . '/components/com_flexicontent/assets/css/tabber.css', FLEXI_VERSION);
$document->addScriptDeclaration(' document.write(\'<style type="text/css">.fctabber{display:none;}<\\/style>\'); ');
// temporarily hide the tabbers until javascript runs
开发者ID:nettdotkomm,项目名称:flexicontent-cck,代码行数:31,代码来源:default.php


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