📄 singletabmenu.tpl
字号:
{*/** * SugarCRM is a customer relationship management program developed by * SugarCRM, Inc. Copyright (C) 2004 - 2007 SugarCRM Inc. * * This program is free software; you can redistribute it and/or modify it under * the terms of the GNU General Public License version 3 as published by the * Free Software Foundation with the addition of the following permission added * to Section 15 as permitted in Section 7(a): FOR ANY PART OF THE COVERED WORK * IN WHICH THE COPYRIGHT IS OWNED BY SUGARCRM, SUGARCRM DISCLAIMS THE WARRANTY * OF NON INFRINGEMENT OF THIRD PARTY RIGHTS. * * This program 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. * * You should have received a copy of the GNU General Public License along with * this program; if not, see http://www.gnu.org/licenses or write to the Free * Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA * 02110-1301 USA. * * You can contact SugarCRM, Inc. headquarters at 10050 North Wolfe Road, * SW2-130, Cupertino, CA 95014, USA. or at email address contact@sugarcrm.com. * * The interactive user interfaces in modified source and object code versions * of this program must display Appropriate Legal Notices, as required under * Section 5 of the GNU General Public License version 3. * * In accordance with Section 7(b) of the GNU General Public License version 3, * these Appropriate Legal Notices must retain the display of the "Powered by * SugarCRM" logo. If the display of the logo is not reasonably feasible for * technical reasons, the Appropriate Legal Notices must display the words * "Powered by SugarCRM". */*}<script> SUGAR.subpanelUtils.currentSubpanelGroup = '{$startSubPanel}'; SUGAR.subpanelUtils.subpanelMoreTab = '{$moreTab}'; SUGAR.subpanelUtils.subpanelMaxSubtabs = '{$maxSubtabs}'; SUGAR.subpanelUtils.subpanelHtml = new Array(); SUGAR.subpanelUtils.loadedGroups = Array(); SUGAR.subpanelUtils.loadedGroups.push('{$startSubPanel}'); SUGAR.subpanelUtils.subpanelSubTabs = new Array(); SUGAR.subpanelUtils.subpanelGroups = new Array();{foreach from=$othertabs item=tab}{assign var='notFirst' value='0'} SUGAR.subpanelUtils.subpanelGroups['{$tab.key}'] = [{foreach from=$tab.tabs item=subtab}{if $notFirst != 0}, {else}{assign var='notFirst' value='1'}{/if}'{$subtab.key}'{/foreach}{foreach from=$otherMoreSubMenu[$tab.key].tabs item=subtab}, '{$subtab.key}'{/foreach}];{/foreach}{assign var='notFirst' value='0'} SUGAR.subpanelUtils.subpanelTitles = {ldelim}{foreach from=$othertabs.All.tabs item=subtab}{if $notFirst != 0}, {else}{assign var='notFirst' value='1'}{/if}'{$subtab.key}':'{$subtab.label}'{/foreach}{foreach from=$otherMoreSubMenu.All.tabs item=subtab}, '{$subtab.key}':'{$subtab.label}'{/foreach}{rdelim}; SUGAR.subpanelUtils.tabCookieName = get_module_name() + '_sp_tab'; SUGAR.subpanelUtils.showLinks = {$showLinks}; SUGAR.subpanelUtils.requestUrl = 'index.php?to_pdf=1&module=MySettings&action=LoadTabSubpanels&loadModule={$smarty.request.module}&record={$smarty.request.record}&subpanels=';</script>{if !empty($sugartabs)}<ul class="subpanelTablist" id="groupTabs">{foreach from=$sugartabs item=tab} <li id="{$tab.label}_sp_tab"> <a class="{$tab.type}" href="javascript:SUGAR.subpanelUtils.loadSubpanelGroup('{$tab.label}');">{$tab.label}</a> </li>{/foreach}{if !empty($moreMenu)} <li> <div class='moreHandle' id='MorePanelHandle' style='cursor: hand; cursor: pointer; display: inline; margin-left: 2px; margin-bottom: 2px;' align='absmiddle' onmouseover='SUGAR.subpanelUtils.menu.tbspButtonMouseOver(this.id,"","",0);'> <img src="include/images/blank.gif" alt="more" border="0" height="16" width="16" /> </div> </li>{/if}</ul>{* Table closed in SubPanelTiles.php, line 295 *}<table width="100%" cellspacing="0" cellpadding="0" border="0" class="subpanelTabForm" style="border-top: 0px none; margin-bottom: 4px;"> <tr> <td>{/if}{if $showLinks == 'true'}<table cellpadding="0" cellspacing="0" width='100%' style="margin-top:7px;"> <tr height="20"> <td class="subpanelSubTabBar" colspan="100" id="subpanelSubTabs"> <table border="0" cellpadding="0" cellspacing="0" height="20" width="100%" class="subTabs"> <tbody> <tr>{foreach from=$subtabs item=tab}{if !empty($notFirst) && ($notFirst != 0) && ($notFirst != 1)} <td width='1'> | </td>{else}{assign var='notFirst' value='2'}{/if} <td nowrap="nowrap"> <a href='#{$tab.key}' class='subTabLink'>{$tab.label}</a> </td>{/foreach}{if !empty($otherMoreSubMenu[$moreSubMenuName].tabs)} <td nowrap="nowrap"> | <span class="subTabMore" id="MoreSub{$moreSubMenuName}PanelHandle" style="margin-left:2px; cursor: pointer; cursor: hand;" align="absmiddle" onmouseover="SUGAR.subpanelUtils.menu.tbspButtonMouseOver(this.id,'','',0);">>></span></td>{/if} <td width='100%'> </td> </tr> </tbody> </table> </td> </tr></table>{/if}{if !empty($moreMenu)}<div id="MorePanelMenu" class="menu">{foreach from=$moreMenu item=tab} <a href="javascript:SUGAR.subpanelUtils.loadSubpanelGroupFromMore('{$tab.label}');" class="menuItem" id="{$tab.label}_sp_mm" parentid="MorePanelMenu" onmouseover="hiliteItem(this,'yes'); closeSubMenus(this);" onmouseout="unhiliteItem(this);">{$tab.label}</a>{/foreach}</div>{/if}{foreach from=$otherMoreSubMenu item=group}{if !empty($group.tabs)}<div id="MoreSub{$group.key}PanelMenu" class="menu">{foreach from=$group.tabs item=subtab} <a href="#{$subtab.key}" class="menuItem" parentid="MoreSub{$group.key}PanelMenu" onmouseover="hiliteItem(this,'yes'); closeSubMenus(this);" onmouseout="unhiliteItem(this);">{$subtab.label}</a>{/foreach}</div>{/if}{/foreach}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -