[Vtigercrm-commits] [vtiger-commits] r9652 - in /vtigercrm/branches/5.0.2/Smarty/templates: CreateView.tpl DetailView.tpl Inventory/InventoryCreateView.tpl Inventory/InventoryEditView.tpl salesEditView.tpl
vtigercrm-commits at vtiger.fosslabs.com
vtigercrm-commits at vtiger.fosslabs.com
Tue Oct 17 08:40:54 EDT 2006
Author: richie
Date: Tue Oct 17 06:40:43 2006
New Revision: 9652
Log:
* changed the hardcoded labels to i18n, Fixes #2268
Modified:
vtigercrm/branches/5.0.2/Smarty/templates/CreateView.tpl
vtigercrm/branches/5.0.2/Smarty/templates/DetailView.tpl
vtigercrm/branches/5.0.2/Smarty/templates/Inventory/InventoryCreateView.tpl
vtigercrm/branches/5.0.2/Smarty/templates/Inventory/InventoryEditView.tpl
vtigercrm/branches/5.0.2/Smarty/templates/salesEditView.tpl
Modified: vtigercrm/branches/5.0.2/Smarty/templates/CreateView.tpl
==============================================================================
--- vtigercrm/branches/5.0.2/Smarty/templates/CreateView.tpl (original)
+++ vtigercrm/branches/5.0.2/Smarty/templates/CreateView.tpl Tue Oct 17 06:40:43 2006
@@ -119,7 +119,7 @@
{foreach key=header item=data from=$BASBLOCKS}
<tr>
- {if $header== 'Address Information' && ($MODULE == 'Accounts' || $MODULE == 'Quotes' || $MODULE == 'PurchaseOrder' || $MODULE == 'SalesOrder'|| $MODULE == 'Invoice')}
+ {if $header== $MOD.LBL_ADDRESS_INFORMATION && ($MODULE == 'Accounts' || $MODULE == 'Quotes' || $MODULE == 'PurchaseOrder' || $MODULE == 'SalesOrder'|| $MODULE == 'Invoice')}
<td colspan=2 class="detailedViewHeader">
<b>{$header}</b></td>
<td class="detailedViewHeader">
@@ -127,7 +127,7 @@
<td class="detailedViewHeader">
<input name="cpy" onclick="return copyAddressRight(EditView)" type="radio"><b>{$APP.LBL_LCPY_ADDRESS}</b></td>
- {elseif $header== 'Address Information' && $MODULE == 'Contacts'}
+ {elseif $header== $MOD.LBL_ADDRESS_INFORMATION && $MODULE == 'Contacts'}
<td colspan=2 class="detailedViewHeader">
<b>{$header}</b></td>
<td class="detailedViewHeader">
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 Tue Oct 17 06:40:43 2006
@@ -221,7 +221,7 @@
<td> </td>
<td> </td>
<td align=right>
- {if $header eq 'Address Information' && ($MODULE eq 'Accounts' || $MODULE eq 'Contacts' || $MODULE eq 'Leads') }
+ {if $header eq $MOD.LBL_ADDRESS_INFORMATION && ($MODULE eq 'Accounts' || $MODULE eq 'Contacts' || $MODULE eq 'Leads') }
{if $MODULE eq 'Leads'}
<input name="mapbutton" value="{$APP.LBL_LOCATE_MAP}" class="crmbutton small create" type="button" onClick="searchMapLocation( 'Main' )" title="{$APP.LBL_LOCATE_MAP}">
{else}
Modified: vtigercrm/branches/5.0.2/Smarty/templates/Inventory/InventoryCreateView.tpl
==============================================================================
--- vtigercrm/branches/5.0.2/Smarty/templates/Inventory/InventoryCreateView.tpl (original)
+++ vtigercrm/branches/5.0.2/Smarty/templates/Inventory/InventoryCreateView.tpl Tue Oct 17 06:40:43 2006
@@ -125,7 +125,7 @@
{foreach key=header item=data from=$blockInfo}
<tr>
- {if $header== 'Address Information' && ($MODULE == 'Accounts' || $MODULE == 'Contacts' || $MODULE == 'Quotes' || $MODULE == 'PurchaseOrder' || $MODULE == 'SalesOrder'|| $MODULE == 'Invoice')}
+ {if $header== $MOD.LBL_ADDRESS_INFORMATION && ($MODULE == 'Accounts' || $MODULE == 'Contacts' || $MODULE == 'Quotes' || $MODULE == 'PurchaseOrder' || $MODULE == 'SalesOrder'|| $MODULE == 'Invoice')}
<td colspan=2 class="detailedViewHeader">
<b>{$header}</b></td>
<td class="detailedViewHeader">
Modified: vtigercrm/branches/5.0.2/Smarty/templates/Inventory/InventoryEditView.tpl
==============================================================================
--- vtigercrm/branches/5.0.2/Smarty/templates/Inventory/InventoryEditView.tpl (original)
+++ vtigercrm/branches/5.0.2/Smarty/templates/Inventory/InventoryEditView.tpl Tue Oct 17 06:40:43 2006
@@ -111,7 +111,7 @@
<!-- included to handle the edit fields based on ui types -->
{foreach key=header item=data from=$BLOCKS}
<tr>
- {if $header== 'Address Information' && ($MODULE == 'Accounts' || $MODULE == 'Contacts' || $MODULE == 'Quotes' || $MODULE == 'PurchaseOrder' || $MODULE == 'SalesOrder'|| $MODULE == 'Invoice')}
+ {if $header== $MOD.LBL_ADDRESS_INFORMATION && ($MODULE == 'Accounts' || $MODULE == 'Contacts' || $MODULE == 'Quotes' || $MODULE == 'PurchaseOrder' || $MODULE == 'SalesOrder'|| $MODULE == 'Invoice')}
<td colspan=2 class="detailedViewHeader">
<b>{$header}</b></td>
<td class="detailedViewHeader">
Modified: vtigercrm/branches/5.0.2/Smarty/templates/salesEditView.tpl
==============================================================================
--- vtigercrm/branches/5.0.2/Smarty/templates/salesEditView.tpl (original)
+++ vtigercrm/branches/5.0.2/Smarty/templates/salesEditView.tpl Tue Oct 17 06:40:43 2006
@@ -131,14 +131,14 @@
<tr>
- {if $header== 'Address Information' && ($MODULE == 'Accounts' || $MODULE == 'Quotes' || $MODULE == 'PurchaseOrder' || $MODULE == 'SalesOrder'|| $MODULE == 'Invoice')}
+ {if $header== $MOD.LBL_ADDRESS_INFORMATION && ($MODULE == 'Accounts' || $MODULE == 'Quotes' || $MODULE == 'PurchaseOrder' || $MODULE == 'SalesOrder'|| $MODULE == 'Invoice')}
<td colspan=2 class="detailedViewHeader">
<b>{$header}</b></td>
<td class="detailedViewHeader">
<input name="cpy" onclick="return copyAddressLeft(EditView)" type="radio"><b>{$APP.LBL_RCPY_ADDRESS}</b></td>
<td class="detailedViewHeader">
<input name="cpy" onclick="return copyAddressRight(EditView)" type="radio"><b>{$APP.LBL_LCPY_ADDRESS}</b></td>
- {elseif $header== 'Address Information' && $MODULE == 'Contacts'}
+ {elseif $header== $MOD.LBL_ADDRESS_INFORMATION && $MODULE == 'Contacts'}
<td colspan=2 class="detailedViewHeader">
<b>{$header}</b></td>
<td class="detailedViewHeader">
More information about the vtigercrm-commits
mailing list