[ 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 14 <div class="gridster"> 15 <ul> 16 {assign var=COLUMNS value=2} 17 {assign var=ROW value=1} 18 {foreach from=$WIDGETS item=WIDGET name=count} 19 {assign var=WIDGETDOMID value=$WIDGET->get('linkid')} 20 {if $WIDGET->getName() eq 'MiniList'} 21 {assign var=WIDGETDOMID value=$WIDGET->get('linkid')|cat:'-':$WIDGET->get('widgetid')} 22 {elseif $WIDGET->getName() eq 'Notebook'} 23 {assign var=WIDGETDOMID value=$WIDGET->get('linkid')|cat:'-':$WIDGET->get('widgetid')} 24 {/if} 25 <li id="{$WIDGETDOMID}" {if $smarty.foreach.count.index % $COLUMNS == 0 and $smarty.foreach.count.index != 0} {assign var=ROWCOUNT value=$ROW+1} data-row="{$WIDGET->getPositionRow($ROWCOUNT)}" {else} data-row="{$WIDGET->getPositionRow($ROW)}" {/if} 26 {assign var=COLCOUNT value=($smarty.foreach.count.index % $COLUMNS)+1} data-col="{$WIDGET->getPositionCol($COLCOUNT)}" data-sizex="{$WIDGET->getWidth()}" data-sizey="{$WIDGET->getHeight()}" 27 class="dashboardWidget dashboardWidget_{$smarty.foreach.count.index}" data-url="{$WIDGET->getUrl()}" data-mode="open" data-name="{$WIDGET->getName()}"> 28 </li> 29 {/foreach} 30 </ul> 31 <input type="hidden" id=row value="{$ROWCOUNT}" /> 32 <input type="hidden" id=col value="{$COLCOUNT}" /> 33 <input type="hidden" id="userDateFormat" value="{$CURRENT_USER->get('date_format')}" /> 34 </div>
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 |