[ Index ] |
PHP Cross Reference of vtigercrm-6.1.0 |
[Summary view] [Print] [Text view]
1 {*<!-- 2 /********************************************************************************* 3 ** The contents of this file are subject to the vtiger CRM Public License Version 1.0 4 * ("License"); You may not use this file except in compliance with the License 5 * The Original Code is: vtiger CRM Open Source 6 * The Initial Developer of the Original Code is vtiger. 7 * Portions created by vtiger are Copyright (C) vtiger. 8 * All Rights Reserved. 9 * 10 ********************************************************************************/ 11 -->*} 12 {strip} 13 <div class="listViewPageDiv"> 14 <div class="listViewTopMenuDiv"> 15 <div class="listViewActionsDiv row-fluid"> 16 <span class="btn-toolbar span4"> 17 <span class="btn-group listViewMassActions"> 18 <button class="btn dropdown-toggle" data-toggle="dropdown"><strong>{vtranslate('LBL_ACTIONS', $MODULE)}</strong> <i class="caret"></i></button> 19 <ul class="dropdown-menu"> 20 {foreach item="LISTVIEW_MASSACTION" from=$LISTVIEW_MASSACTIONS} 21 <li id="{$MODULE}_listView_massAction_{Vtiger_Util_Helper::replaceSpaceWithUnderScores($LISTVIEW_MASSACTION->getLabel())}"><a href="javascript:void(0);" {if stripos($LISTVIEW_MASSACTION->getUrl(), 'javascript:')===0}onclick='{$LISTVIEW_MASSACTION->getUrl()|substr:strlen("javascript:")};'{else} onclick="Vtiger_List_Js.triggerMassAction('{$LISTVIEW_MASSACTION->getUrl()}')"{/if} >{vtranslate($LISTVIEW_MASSACTION->getLabel(), $MODULE)}</a></li> 22 {/foreach} 23 {if $LISTVIEW_LINKS['LISTVIEW']|@count gt 0} 24 <li class="divider"></li> 25 {foreach item=LISTVIEW_ADVANCEDACTIONS from=$LISTVIEW_LINKS['LISTVIEW']} 26 <li id="{$MODULE}_listView_advancedAction_{Vtiger_Util_Helper::replaceSpaceWithUnderScores($LISTVIEW_ADVANCEDACTIONS->getLabel())}"><a {if stripos($LISTVIEW_ADVANCEDACTIONS->getUrl(), 'javascript:')===0} href="javascript:void(0);" onclick='{$LISTVIEW_ADVANCEDACTIONS->getUrl()|substr:strlen("javascript:")};'{else} href='{$LISTVIEW_ADVANCEDACTIONS->getUrl()}' {/if}>{vtranslate($LISTVIEW_ADVANCEDACTIONS->getLabel(), $MODULE)}</a></li> 27 {/foreach} 28 {/if} 29 </ul> 30 </span> 31 {foreach item=LISTVIEW_BASICACTION from=$LISTVIEW_LINKS['LISTVIEWBASIC']} 32 {if $LISTVIEW_BASICACTION->getLabel() eq 'LBL_ADD_RECORD'} 33 {assign var="childLinks" value=$LISTVIEW_BASICACTION->getChildLinks()} 34 <span class="btn-group"> 35 <button class="btn dropdown-toggle addButton" data-toggle="dropdown" id="{$MODULE}_listView_basicAction_Add"> 36 <i class="icon-plus"></i> 37 <strong>{vtranslate($LISTVIEW_BASICACTION->getLabel(), $MODULE)}</strong> 38 <i class="caret icon-white"></i></button> 39 <ul class="dropdown-menu"> 40 {foreach item="childLink" from=$childLinks} 41 <li id="{$MODULE}_listView_basicAction_{Vtiger_Util_Helper::replaceSpaceWithUnderScores($childLink->getLabel())}"> 42 <a href="javascript:void(0);" onclick='{$childLink->getUrl()|substr:strlen("javascript:")};'>{vtranslate($childLink->getLabel(), $MODULE)}</a> 43 </li> 44 {/foreach} 45 </ul> 46 </span> 47 {else} 48 <span class="btn-group"> 49 <button id="{$MODULE}_listView_basicAction_{Vtiger_Util_Helper::replaceSpaceWithUnderScores($LISTVIEW_BASICACTION->getLabel())}" class="btn addButton" {if stripos($LISTVIEW_BASICACTION->getUrl(), 'javascript:')===0}onclick='{$LISTVIEW_BASICACTION->getUrl()|substr:strlen("javascript:")};'{else} onclick='window.location.href="{$LISTVIEW_BASICACTION->getUrl()}"'{/if}><i class="icon-plus"></i> <strong>{vtranslate($LISTVIEW_BASICACTION->getLabel(), $MODULE)}</strong></button> 50 </span> 51 {/if} 52 {/foreach} 53 </span> 54 <span class="foldersContainer btn-toolbar span4">{include file='ListViewFolders.tpl'|@vtemplate_path:$MODULE}</span> 55 <span class="span4 btn-toolbar"> 56 {include file='ListViewActions.tpl'|@vtemplate_path:$MODULE} 57 </span> 58 </div> 59 </div> 60 <div class="listViewContentDiv" id="listViewContents"> 61 {/strip}
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
Generated: Fri Nov 28 20:08:37 2014 | Cross-referenced by PHPXref 0.7.1 |