[Vtigercrm-commits] [vtiger-commits] r9674 - /vtigercrm/branches/5.0.2/Smarty/templates/DetailView.tpl
vtigercrm-commits at vtiger.fosslabs.com
vtigercrm-commits at vtiger.fosslabs.com
Mon Oct 23 05:04:28 EDT 2006
Author: aissafranc
Date: Mon Oct 23 03:04:24 2006
New Revision: 9674
Log:
Correction for button "Localisation", now it's usable in any lang
Modified:
vtigercrm/branches/5.0.2/Smarty/templates/DetailView.tpl
Modified: vtigercrm/branches/5.0.2/Smarty/templates/DetailView.tpl
==============================================================================
--- vtigercrm/branches/5.0.2/Smarty/templates/DetailView.tpl (original)
+++ vtigercrm/branches/5.0.2/Smarty/templates/DetailView.tpl Mon Oct 23 03:04:24 2006
@@ -73,20 +73,28 @@
</script>
{if $MODULE eq 'Accounts' || $MODULE eq 'Contacts' || $MODULE eq 'Leads'}
{if $MODULE eq 'Accounts'}
- {assign var=address1 value='Billing'}
- {assign var=address2 value='Shipping'}
+ {assign var=address1 value='$MOD.LBL_BILLING_ADDRESS'}
+ {assign var=address2 value='$MOD.LBL_SHIPPING_ADDRESS'}
{/if}
{if $MODULE eq 'Contacts'}
- {assign var=address1 value='Mailing'}
- {assign var=address2 value='Other'}
+ {assign var=address1 value='$MOD.LBL_PRIMARY_ADDRESS'}
+ {assign var=address2 value='$MOD.LBL_ALTERNATE_ADDRESS'}
{/if}
<div id="locateMap" onMouseOut="fninvsh('locateMap')" onMouseOver="fnvshNrm('locateMap')">
<table bgcolor="#ffffff" border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td>
- <a href="javascript:;" onClick="fninvsh('locateMap'); searchMapLocation( 'Main' );" class="calMnu">{$address1} {$APP.LBL_ADDRESS}</a>
- <a href="javascript:;" onClick="fninvsh('locateMap'); searchMapLocation( 'Other' );" class="calMnu">{$address2} {$APP.LBL_ADDRESS}</a>
- </td>
+ {if $MODULE eq 'Accounts'}
+ <a href="javascript:;" onClick="fninvsh('locateMap'); searchMapLocation( 'Main' );" class="calMnu">{$MOD.LBL_BILLING_ADDRESS}</a>
+ <a href="javascript:;" onClick="fninvsh('locateMap'); searchMapLocation( 'Other' );" class="calMnu">{$MOD.LBL_SHIPPING_ADDRESS}</a>
+ {/if}
+
+ {if $MODULE eq 'Contacts'}
+ <a href="javascript:;" onClick="fninvsh('locateMap'); searchMapLocation( 'Main' );" class="calMnu">{$MOD.LBL_PRIMARY_ADDRESS}</a>
+ <a href="javascript:;" onClick="fninvsh('locateMap'); searchMapLocation( 'Other' );" class="calMnu">{$MOD.LBL_ALTERNATE_ADDRESS}</a>
+ {/if}
+
+ </td>
</tr>
</table>
</div>
More information about the vtigercrm-commits
mailing list