[Vtigercrm-commits] [vtiger-commits] r9062 - in /vtigercrm/trunk/Smarty/templates: EditProfile.tpl ProfileDetailView.tpl
vtigercrm-commits at vtiger.fosslabs.com
vtigercrm-commits at vtiger.fosslabs.com
Tue Aug 22 01:40:24 EDT 2006
Author: richie
Date: Mon Aug 21 23:40:13 2006
New Revision: 9062
Log:
Export utility privileges in Emails issue has been fixed --jeri
Modified:
vtigercrm/trunk/Smarty/templates/EditProfile.tpl
vtigercrm/trunk/Smarty/templates/ProfileDetailView.tpl
Modified: vtigercrm/trunk/Smarty/templates/EditProfile.tpl
==============================================================================
--- vtigercrm/trunk/Smarty/templates/EditProfile.tpl (original)
+++ vtigercrm/trunk/Smarty/templates/EditProfile.tpl Mon Aug 21 23:40:13 2006
@@ -157,10 +157,10 @@
</tr>
<tr id="gva">
<td class="small colHeader"><div align="center"><strong>
- Create/Edit
+ {$CMOD.LBL_CREATE_EDIT}
</strong></div></td>
- <td class="small colHeader"> <div align="center"><strong>View </strong></div></td>
- <td class="small colHeader"> <div align="center"><strong>Delete</strong></div></td>
+ <td class="small colHeader"> <div align="center"><strong>{$CMOD.LBL_VIEW}</strong></div></td>
+ <td class="small colHeader"> <div align="center"><strong>{$CMOD.LBL_DELETE}</strong></div></td>
</tr>
<!-- module loops-->
@@ -181,8 +181,8 @@
{$STANDARD_PRIV[$tabid][2]}
</div></td>
<td class="small cellText" width="22%"> <div align="center">
- {if $FIELD_PRIVILEGES[$tabid] neq NULL}
- <img src="{$IMAGE_PATH}showDown.gif" id="img_{$tabid}" alt="{$CMOD.LBL_SHOW_FIELDS}" onclick="fnToggleVIew('{$tabid}_view')" border="0" height="16" width="40" style="display:block;">
+ {if $FIELD_PRIVILEGES[$tabid] neq NULL || $modulename eq 'Emails'}
+ <img src="{$IMAGE_PATH}showDown.gif" id="img_{$tabid}" alt="{$APP.LBL_EXPAND_COLLAPSE}" title="{$APP.LBL_EXPAND_COLLAPSE}" onclick="fnToggleVIew('{$tabid}_view')" border="0" height="16" width="40" style="display:block;">
{/if}
</div></td>
</tr>
@@ -190,6 +190,7 @@
<td colspan="6" class="small settingsSelectedUI">
<table class="small" border="0" cellpadding="2" cellspacing="0" width="100%">
<tbody>
+ {if $FIELD_PRIVILEGES[$tabid] neq ''}
<tr>
{if $modulename eq 'Calendar'}
<td class="small colHeader" colspan="6" valign="top">{$CMOD.LBL_FIELDS_SELECT_DESELECT} ({$APP.Tasks})</td>
@@ -197,6 +198,7 @@
<td class="small colHeader" colspan="6" valign="top">{$CMOD.LBL_FIELDS_SELECT_DESELECT}</td>
{/if}
</tr>
+ {/if}
{foreach item=row_values from=$FIELD_PRIVILEGES[$tabid]}
<tr>
{foreach item=element from=$row_values}
Modified: vtigercrm/trunk/Smarty/templates/ProfileDetailView.tpl
==============================================================================
--- vtigercrm/trunk/Smarty/templates/ProfileDetailView.tpl (original)
+++ vtigercrm/trunk/Smarty/templates/ProfileDetailView.tpl Mon Aug 21 23:40:13 2006
@@ -170,8 +170,8 @@
{$STANDARD_PRIV[$tabid][2]}
</div></td>
<td class="small cellText" width="22%"> <div align="center">
- {if $FIELD_PRIVILEGES[$tabid] neq NULL}
- <img src="{$IMAGE_PATH}showDown.gif" alt="{$CMOD.LBL_SHOW_FIELDS}" onclick="fnToggleVIew('{$modulename}_view')" border="0" height="16" width="40">
+ {if $FIELD_PRIVILEGES[$tabid] neq NULL || $modulename eq 'Emails'}
+ <img src="{$IMAGE_PATH}showDown.gif" alt="{$APP.LBL_EXPAND_COLLAPSE}" title="{$APP.LBL_EXPAND_COLLAPSE}" onclick="fnToggleVIew('{$modulename}_view')" border="0" height="16" width="40">
{/if}
</div></td>
</tr>
@@ -179,6 +179,7 @@
<td colspan="6" class="small settingsSelectedUI">
<table class="small" border="0" cellpadding="2" cellspacing="0" width="100%">
<tbody>
+ {if $FIELD_PRIVILEGES[$tabid] neq ''}
<tr>
{if $modulename eq 'Calendar'}
<td class="small colHeader" colspan="6" valign="top">{$CMOD.LBL_FIELDS_SELECT_DESELECT} ({$APP.Tasks})</td>
@@ -186,6 +187,7 @@
<td class="small colHeader" colspan="6" valign="top">{$CMOD.LBL_FIELDS_SELECT_DESELECT}</td>
{/if}
</tr>
+ {/if}
{foreach item=row_values from=$FIELD_PRIVILEGES[$tabid]}
<tr>
{foreach item=element from=$row_values}
More information about the vtigercrm-commits
mailing list