{* /********************************************************************************* * SugarCRM is a customer relationship management program developed by * SugarCRM, Inc. Copyright (C) 2004-2011 SugarCRM Inc. * * This program is free software; you can redistribute it and/or modify it under * the terms of the GNU Affero 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 Affero General Public License for more * details. * * You should have received a copy of the GNU Affero 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 Affero General Public License version 3. * * In accordance with Section 7(b) of the GNU Affero 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". ********************************************************************************/ *} {$buttons} {if empty($disable_tabs)} {/if}
{sugar_translate label="LBL_TAB_PANELS" module="ModuleBuilder"} {sugar_help text=$mod.LBL_TAB_PANELS_HELP}

{$mod.LBL_TOOLBOX}

{sugar_image name=Delete width=48 height=48}
{if ! isset($fromPortal) && ! isset($wireless) && empty($single_panel)}
{/if}

{counter name='idCount' assign='idCount' start='1'} {foreach from=$available_fields item='col' key='id'}
{if ! $fromModuleBuilder && ($col.name != '(filler)')} {/if} {if isset($col.type) && ($col.type == 'address')} {$icon_address} {/if} {if isset($col.type) && ($col.type == 'phone')} {$icon_phone} {/if} {if !empty($translate) && !empty($col.label)} {eval var=$col.label assign='newLabel'} {if $from_mb} {$current_mod_strings[$newLabel]} {else} {sugar_translate label=$newLabel module=$language} {/if} {else} {assign var='label' value=$col.label} {if !empty($current_mod_strings[$label])} {$current_mod_strings[$label]} {else} {$label} {/if} {/if} {$col.name} {$col.label} {$col.tabindex}
{counter name='idCount' assign='idCount' print=false} {/foreach}

{$layouttitle}

{foreach from=$layout item='panel' key='panelid'}
{capture name=panel_upper assign=panel_upper}{$panelid|upper}{/capture} {if $panelid eq 'default'} {$mod.LBL_DEFAULT} {elseif $from_mb && isset($current_mod_strings.$panel_upper)} {$current_mod_strings.$panel_upper} {elseif !empty($translate)} {sugar_translate label=$panelid|upper module=$language} {else} {$panelid} {/if} {$panelid}
{if $panelid ne 'default'} {/if} {counter name='idCount' assign='idCount' print=false} {foreach from=$panel item='row' key='rid'}
{counter name='idCount' assign='idCount' print=false} {foreach from=$row item='col' key='cid'}
{if ! $fromModuleBuilder && ($col.name != '(filler)')} {/if} {if isset($col.type) && ($col.type == 'address')} {$icon_address} {/if} {if isset($col.type) && ($col.type == 'phone')} {$icon_phone} {/if} {eval var=$col.label assign='label'} {if !empty($translate) && !empty($col.label)} {sugar_translate label=$label module=$language} {else} {if !empty($current_mod_strings[$label])} {$current_mod_strings[$label]} {elseif !empty($mod[$label])} {$mod[$label]} {else} {$label} {/if} {/if} {$col.name} {$col.label} {$col.tabindex}
{counter name='idCount' assign='idCount' print=false} {/foreach}
{/foreach}
{/foreach}
{if $fromPortal} {/if} {if $fromModuleBuilder} {/if}