vtigerossez/pkg/vtiger/modules/ModTracker/templates/BasicSettingsContents.tpl

36 lines
1.9 KiB
Smarty
Raw Permalink Normal View History

2013-01-30 22:02:55 -05:00
{*<!--
/*********************************************************************************
** The contents of this file are subject to the vtiger CRM Public License Version 1.0
* ("License"); You may not use this file except in compliance with the License
* The Original Code is: vtiger CRM Open Source
* The Initial Developer of the Original Code is vtiger.
* Portions created by vtiger are Copyright (C) vtiger.
* All Rights Reserved.
*
********************************************************************************/
-->*}
<table border=0 cellspacing=0 cellpadding=5 width="350px" align="" class="dvtContentSpace">
<tr>
<td class="colHeader small">{$MOD.LBL_MODULE}</td>
<td class="colHeader small">{$MOD.Visible}</td>
</tr>
{foreach item=module from=$INFOMODULES}
<tr onmouseover="this.className='prvPrfHoverOn'" onmouseout="this.className='prvPrfHoverOff'">
<td class="listTableRow small" width="50%">{$module.name|@getTranslatedString}</td>
<td class="listTableRow cellText small" align="center">
<div id="status" style="position:absolute;left:850px;top:5px;height:27px;white-space:nowrap;display:none"><img src="themes/softed/images/status.gif"></div>
{if $module.visible eq '1'}
<a href="javascript:void(0);" onclick="toggleModule_mod('{$module.tabid}', 'module_disable');">
<img src="{'enabled.gif'|@vtiger_imageurl:$THEME}" border="0" align="absmiddle" alt="{$MOD.LBL_DISABLE} {$module.name}" title="{$MOD.LBL_DISABLE} {$module.name|@getTranslatedString}">
</a>
{else}
<a href="javascript:void(0);" onclick="toggleModule_mod('{$module.tabid}', 'module_enable');">
<img src="{'disabled.gif'|@vtiger_imageurl:$THEME}" border="0" align="absmiddle" alt="{$MOD.LBL_ENABLE} {$module.name}" title="{$MOD.LBL_ENABLE} {$module.name|@getTranslatedString}">
</a>
{/if}
</td>
</tr>
{/foreach}
</table>