[Vtigercrm-commits] [vtiger-commits] r5960 - in /vtigercrm/trunk/Smarty/templates: Buttons_List.tpl Buttons_List1.tpl CreateView.tpl DetailView.tpl salesEditView.tpl

vtigercrm-commits at vtiger.fosslabs.com vtigercrm-commits at vtiger.fosslabs.com
Sun May 14 11:14:12 EDT 2006


Author: saraj
Date: Sun May 14 09:14:06 2006
New Revision: 5960

Log:
i18n done for information in all create/edit/list view - ahmed

Modified:
    vtigercrm/trunk/Smarty/templates/Buttons_List.tpl
    vtigercrm/trunk/Smarty/templates/Buttons_List1.tpl
    vtigercrm/trunk/Smarty/templates/CreateView.tpl
    vtigercrm/trunk/Smarty/templates/DetailView.tpl
    vtigercrm/trunk/Smarty/templates/salesEditView.tpl

Modified: vtigercrm/trunk/Smarty/templates/Buttons_List.tpl
==============================================================================
--- vtigercrm/trunk/Smarty/templates/Buttons_List.tpl (original)
+++ vtigercrm/trunk/Smarty/templates/Buttons_List.tpl Sun May 14 09:14:06 2006
@@ -14,7 +14,7 @@
 
 <tr><td style="height:2px"></td></tr>
 <tr>
-	<td style="padding-left:10px;padding-right:30px" class="moduleName" nowrap>{$CATEGORY} > <a class="hdrLink" href="index.php?action=ListView&module={$MODULE}">{$MODULE}</a></td>
+	<td style="padding-left:10px;padding-right:30px" class="moduleName" nowrap>{$APP.$CATEGORY} > <a class="hdrLink" href="index.php?action=ListView&module={$MODULE}">{$APP.$MODULE}</a></td>
 	<td class="sep1" style="width:1px;padding-right:1px"></td>
 	<td class=small >
 		<table border=0 cellspacing=0 cellpadding=0>
@@ -68,18 +68,18 @@
 	<td class="sep1" style="width:1px;padding-right:1px"></td>
 	<td nowrap style="width:50%;padding:10px">
 	   	{if $CHECK.Import eq 'yes' && $CHECK.Export eq 'yes'}	
-			<a href="index.php?module={$MODULE}&action=Import&step=2&return_module={$MODULE}&return_action=index">{$APP.LBL_IMPORT} {$MODULE}</a> |	
-	    		<a href="index.php?module={$MODULE}&action=Export&all=1">{$APP.LBL_EXPORT} {$MODULE}</a>
+			<a href="index.php?module={$MODULE}&action=Import&step=2&return_module={$MODULE}&return_action=index">{$APP.LBL_IMPORT} {$APP.$MODULE}</a> |	
+	    		<a href="index.php?module={$MODULE}&action=Export&all=1">{$APP.LBL_EXPORT} {$APP.$MODULE}</a>
 	   	{elseif $CHECK.Import eq 'yes' && $CHECK.Export eq 'no'} 	
-			<a href="index.php?module={$MODULE}&action=Import&step=2&return_module={$MODULE}&return_action=index">{$APP.LBL_IMPORT} {$MODULE}</a> 	
+			<a href="index.php?module={$MODULE}&action=Import&step=2&return_module={$MODULE}&return_action=index">{$APP.LBL_IMPORT} {$APP.$MODULE}</a> 	
 	   	{elseif $CHECK.Import eq 'no' && $CHECK.Export eq 'yes' } 	
-	    		<a href="index.php?module={$MODULE}&action=Export&all=1">{$APP.LBL_EXPORT} {$MODULE}</a>
+	    		<a href="index.php?module={$MODULE}&action=Export&all=1">{$APP.LBL_EXPORT} {$APP.$MODULE}</a>
 	   	{/if}	
 	{elseif $MODULE eq 'Notes' || $MODULE eq 'Emails'}	
 		<td class="sep1" style="width:1px"></td>
 		<td nowrap style="width:50%;padding:10px">
 		{if $CHECK.Export eq 'yes'}
-			 <a href="index.php?module={$MODULE}&action=Export&all=1">{$APP.LBL_EXPORT} {$MODULE}</a>
+			 <a href="index.php?module={$MODULE}&action=Export&all=1">{$APP.LBL_EXPORT} {$APP.$MODULE}</a>
 		{/if}
 	</td>
 	{else}

Modified: vtigercrm/trunk/Smarty/templates/Buttons_List1.tpl
==============================================================================
--- vtigercrm/trunk/Smarty/templates/Buttons_List1.tpl (original)
+++ vtigercrm/trunk/Smarty/templates/Buttons_List1.tpl Sun May 14 09:14:06 2006
@@ -14,7 +14,7 @@
 
 <tr><td style="height:2px"></td></tr>
 <tr>
-	<td style="padding-left:10px;padding-right:30px" class="moduleName" nowrap>{$CATEGORY} > <a class="hdrLink" href="index.php?action=ListView&module={$MODULE}">{$MODULE}</a></td>
+	<td style="padding-left:10px;padding-right:30px" class="moduleName" nowrap>{$APP.$CATEGORY} > <a class="hdrLink" href="index.php?action=ListView&module={$MODULE}">{$APP.$MODULE}</a></td>
 	<td class="sep1" style="width:1px;padding-right:1px"></td>
 	<td class=small >
 		<table border=0 cellspacing=0 cellpadding=0>
@@ -65,18 +65,18 @@
 	<td class="sep1" style="width:1px;padding-right:1px"></td>
 	<td nowrap style="width:50%;padding:10px">
 	   	{if $CHECK.Import eq 'yes' && $CHECK.Export eq 'yes'}	
-			<a href="index.php?module={$MODULE}&action=Import&step=2&return_module={$MODULE}&return_action=index">{$APP.LBL_IMPORT} {$MODULE}</a> |	
-	    		<a href="index.php?module={$MODULE}&action=Export&all=1">{$APP.LBL_EXPORT} {$MODULE}</a>
+			<a href="index.php?module={$MODULE}&action=Import&step=2&return_module={$MODULE}&return_action=index">{$APP.LBL_IMPORT} {$APP.$MODULE}</a> |	
+	    		<a href="index.php?module={$MODULE}&action=Export&all=1">{$APP.LBL_EXPORT} {$APP.$MODULE}</a>
 	   	{elseif $CHECK.Import eq 'yes' && $CHECK.Export eq 'no'} 	
-			<a href="index.php?module={$MODULE}&action=Import&step=2&return_module={$MODULE}&return_action=index">{$APP.LBL_IMPORT} {$MODULE}</a> 	
+			<a href="index.php?module={$MODULE}&action=Import&step=2&return_module={$MODULE}&return_action=index">{$APP.LBL_IMPORT} {$APP.$MODULE}</a> 	
 	   	{elseif $CHECK.Import eq 'no' && $CHECK.Export eq 'yes' } 	
-	    		<a href="index.php?module={$MODULE}&action=Export&all=1">{$APP.LBL_EXPORT} {$MODULE}</a>
+	    		<a href="index.php?module={$MODULE}&action=Export&all=1">{$APP.LBL_EXPORT} {$APP.$MODULE}</a>
 	   	{/if}	
 	{elseif $MODULE eq 'Notes' || $MODULE eq 'Emails'}	
 		<td class="sep1" style="width:1px"></td>
 		<td nowrap style="width:50%;padding:10px">
 		{if $CHECK.Export eq 'yes'}
-			 <a href="index.php?module={$MODULE}&action=Export&all=1">{$APP.LBL_EXPORT} {$MODULE}</a>
+			 <a href="index.php?module={$MODULE}&action=Export&all=1">{$APP.LBL_EXPORT} {$APP.$MODULE}</a>
 		{/if}
 	</td>
 	{else}

Modified: vtigercrm/trunk/Smarty/templates/CreateView.tpl
==============================================================================
--- vtigercrm/trunk/Smarty/templates/CreateView.tpl (original)
+++ vtigercrm/trunk/Smarty/templates/CreateView.tpl Sun May 14 09:14:06 2006
@@ -59,11 +59,11 @@
 	     <div class="small" style="padding:20px">
 		
 		 {if $OP_MODE eq 'edit_view'}   
-			 <span class="lvtHeaderText"><font color="purple">[ {$ID} ] </font>{$NAME} -  Editing {$SINGLE_MOD} Information</span> <br>
+			 <span class="lvtHeaderText"><font color="purple">[ {$ID} ] </font>{$NAME} -  {$APP.LBL_EDITING} {$SINGLE_MOD} {$APP.LBL_INFORMATION}</span> <br>
 			{$UPDATEINFO}	 
 		 {/if}
 		 {if $OP_MODE eq 'create_view'}
-			<span class="lvtHeaderText">Creating New {$SINGLE_MOD}</span> <br>
+			<span class="lvtHeaderText">{$APP.LBL_CREATING} {$APP.LBL_NEW} {$SINGLE_MOD}</span> <br>
 		 {/if}
 
 		 <hr noshade size=1>
@@ -80,11 +80,11 @@
 					<td class="dvtTabCache" style="width:10px" nowrap>&nbsp;</td>
 
 					{if $MODULE eq 'Leads' || $MODULE eq 'Accounts' || $MODULE eq 'Contacts' || $MODULE eq 'Products'}	
-						<td width=75 style="width:15%" align="center" nowrap="nowrap" class="dvtSelectedCell" id="bi" onclick="fnLoadValues('bi','mi','basicTab','moreTab')"><b>Basic Information</b></td>
-                    				<td class="dvtUnSelectedCell" style="width: 100px;" align="center" nowrap="nowrap" id="mi" onclick="fnLoadValues('mi','bi','moreTab','basicTab')"><b>More Information </b></td>
+						<td width=75 style="width:15%" align="center" nowrap="nowrap" class="dvtSelectedCell" id="bi" onclick="fnLoadValues('bi','mi','basicTab','moreTab')"><b>{$APP.LBL_BASIC} {$APP.LBL_INFORMATION}</b></td>
+                    				<td class="dvtUnSelectedCell" style="width: 100px;" align="center" nowrap="nowrap" id="mi" onclick="fnLoadValues('mi','bi','moreTab','basicTab')"><b>{$APP.LBL_MORE} {$APP.LBL_INFORMATION} </b></td>
                    				<td class="dvtTabCache" style="width:100%" nowrap="nowrap">&nbsp;</td>
 					{else}
-						<td class="dvtSelectedCell" align=center nowrap>Basic Information</td>
+						<td class="dvtSelectedCell" align=center nowrap>{$APP.LBL_BASIC} {$APP.LBL_INFORMATION}</td>
 	                                        <td class="dvtTabCache" style="width:100%">&nbsp;</td>
 					{/if}
 				   <tr>

Modified: vtigercrm/trunk/Smarty/templates/DetailView.tpl
==============================================================================
--- vtigercrm/trunk/Smarty/templates/DetailView.tpl (original)
+++ vtigercrm/trunk/Smarty/templates/DetailView.tpl Sun May 14 09:14:06 2006
@@ -65,7 +65,7 @@
 		<div class="small" style="padding:20px" >
 		
 		<table align="center" border="0" cellpadding="0" cellspacing="0" width="95%"><tr><td>		
-		 <span class="lvtHeaderText"><font color="purple">[ {$ID} ] </font>{$NAME} -  {$SINGLE_MOD} Information</span>&nbsp;&nbsp;<span id="vtbusy_info" style="display:none;" valign="bottom"><img src="{$IMAGE_PATH}vtbusy.gif" border="0"></span><span id="vtbusy_info" style="visibility:hidden;" valign="bottom"><img src="{$IMAGE_PATH}vtbusy.gif" border="0"></span></td><td>&nbsp;</td></tr>
+		 <span class="lvtHeaderText"><font color="purple">[ {$ID} ] </font>{$NAME} -  {$APP[$SINGLE_MOD]} {$APP.LBL_INFORMATION}</span>&nbsp;&nbsp;<span id="vtbusy_info" style="display:none;" valign="bottom"><img src="{$IMAGE_PATH}vtbusy.gif" border="0"></span><span id="vtbusy_info" style="visibility:hidden;" valign="bottom"><img src="{$IMAGE_PATH}vtbusy.gif" border="0"></span></td><td>&nbsp;</td></tr>
 		 <tr height=20><td>{$UPDATEINFO}</td><td align="right" width="400" nowrap><div id="addtagdiv"><a href="javascript:;" onClick="show('tagdiv'),hide('addtagdiv'),document.getElementById('txtbox_tagfields').focus()">+addtag</a></div><div id="tagdiv" style="display:none;"><input class="textbox"  type="text" id="txtbox_tagfields" name="textbox_First Name" value=""></input>&nbsp;&nbsp;<input name="button_tagfileds" type="button" class="small" value="Tag it" onclick="return tagvalidate()"/><input name="close" type="button" class="small" value="Close" onClick="hide('tagdiv'),show('addtagdiv')"></div></td></tr>
 		 </table>			 
 		 <hr noshade size=1>
@@ -78,12 +78,12 @@
 				<tr>
 					<td class="dvtTabCache" style="width:10px" nowrap>&nbsp;</td>
 					{if $MODULE eq 'Notes' || $MODULE eq 'Faq' || $MODULE eq 'Webmails' || ($MODULE eq 'Activities' && $ACTIVITY_MODE eq 'Task')}
-					<td class="dvtSelectedCell" align=center nowrap>{$SINGLE_MOD} Information</td>
+					<td class="dvtSelectedCell" align=center nowrap>{$SINGLE_MOD} {$APP.LBL_INFORMATION}</td>
 					<td class="dvtTabCache" style="width:100%">&nbsp;</td>
 					{else}
-					<td class="dvtSelectedCell" align=center nowrap>{$SINGLE_MOD} Information</td>	
+					<td class="dvtSelectedCell" align=center nowrap>{$SINGLE_MOD} {$APP.LBL_INFORMATION}</td>	
 					<td class="dvtTabCache" style="width:10px">&nbsp;</td>
-					<td class="dvtUnSelectedCell" align=center nowrap><a href="index.php?action=CallRelatedList&module={$MODULE}&record={$ID}&parenttab={$CATEGORY}">More Information</a></td>
+					<td class="dvtUnSelectedCell" align=center nowrap><a href="index.php?action=CallRelatedList&module={$MODULE}&record={$ID}&parenttab={$CATEGORY}">{$APP.LBL_MORE} {$APP.LBL_INFORMATION}</a></td>
 
 					<td class="dvtTabCache" style="width:100%">&nbsp;</td>
 					{/if}

Modified: vtigercrm/trunk/Smarty/templates/salesEditView.tpl
==============================================================================
--- vtigercrm/trunk/Smarty/templates/salesEditView.tpl (original)
+++ vtigercrm/trunk/Smarty/templates/salesEditView.tpl Sun May 14 09:14:06 2006
@@ -55,11 +55,11 @@
 		<div class="small" style="padding:20px">
 		
 		 {if $OP_MODE eq 'edit_view'}   
-			 <span class="lvtHeaderText"><font color="purple">[ {$ID} ] </font>{$NAME} -  Editing {$SINGLE_MOD} Information</span> <br>
+			 <span class="lvtHeaderText"><font color="purple">[ {$ID} ] </font>{$NAME} - {$APP.LBL_EDITING} {$SINGLE_MOD} {$APP.LBL_INFORMATION}</span> <br>
 			{$UPDATEINFO}	 
 		 {/if}
 		 {if $OP_MODE eq 'create_view'}
-			<span class="lvtHeaderText">Creating {$SINGLE_MOD}</span> <br>
+			<span class="lvtHeaderText">{$APP.LBL_CREATING} {$SINGLE_MOD}</span> <br>
 		 {/if}
 
 		 <hr noshade size=1>
@@ -76,13 +76,13 @@
 				<tr>
 					<td class="dvtTabCache" style="width:10px" nowrap>&nbsp;</td>
                                         {if $MODULE eq 'Notes' || $MODULE eq 'Faq'}
-                                        <td class="dvtSelectedCell" align=center nowrap>{$SINGLE_MOD} Information</td>
+                                        <td class="dvtSelectedCell" align=center nowrap>{$SINGLE_MOD} {$APP.LBL_INFORMATION}</td>
                                         <td class="dvtTabCache" style="width:100%">&nbsp;</td>
                                         {else}
-                                        <td class="dvtSelectedCell" align=center nowrap>{$SINGLE_MOD} Information</td>
+                                        <td class="dvtSelectedCell" align=center nowrap>{$SINGLE_MOD} {$APP.LBL_INFORMATION}</td>
                                         <td class="dvtTabCache" style="width:10px">&nbsp;</td>
                                         {if $OP_MODE neq 'create_view'}
-                                        <td class="dvtUnSelectedCell" align=center nowrap><a href="index.php?action=CallRelatedList&module={$MODULE}&record={$ID}&parenttab={$CATEGORY}" onclick="getRelatedLink()">More Information</a></td>
+                                        <td class="dvtUnSelectedCell" align=center nowrap><a href="index.php?action=CallRelatedList&module={$MODULE}&record={$ID}&parenttab={$CATEGORY}" onclick="getRelatedLink()">{$APP.LBL_MORE} {$APP.LBL_INFORMATION}</a></td>
                                         {/if}
 
                                         <td class="dvtTabCache" style="width:100%">&nbsp;</td>
@@ -310,7 +310,7 @@
 																{/foreach}
 																{/foreach}
 																{if $check eq 0}
-																	{assign var=select_user value='checked'}
+																	{assign var=select_user value='checked'}`
 																	{assign var=style_user value='display:block'}
 																	{assign var=style_group value='display:none'}
 																{else}





More information about the vtigercrm-commits mailing list