[Vtigercrm-commits] [vtiger-commits] r9673 - /vtigercrm/branches/5.0.2/Smarty/templates/DetailViewUI.tpl

vtigercrm-commits at vtiger.fosslabs.com vtigercrm-commits at vtiger.fosslabs.com
Sun Oct 22 11:00:37 EDT 2006


Author: aissafranc
Date: Sun Oct 22 09:00:34 2006
New Revision: 9673

Log:
Minor change allow to translate combobox in detailview ajax

Modified:
    vtigercrm/branches/5.0.2/Smarty/templates/DetailViewUI.tpl

Modified: vtigercrm/branches/5.0.2/Smarty/templates/DetailViewUI.tpl
==============================================================================
--- vtigercrm/branches/5.0.2/Smarty/templates/DetailViewUI.tpl (original)
+++ vtigercrm/branches/5.0.2/Smarty/templates/DetailViewUI.tpl Sun Oct 22 09:00:34 2006
@@ -42,7 +42,8 @@
                     							   <select id="txtbox_{$label}" name="{$keyfldname}">
                     								{foreach item=arr from=$keyoptions}
                     									{foreach key=sel_value item=value from=$arr}
-                    										<option value="{$sel_value}" {$value}>{$sel_value}</option>
+                    										<option value="{$sel_value}" {$value}>{if $APP.$sel_value}{$APP.$sel_value}{else}{$sel_value}{/if}</option>
+                    									
                     									{/foreach}
                     								{/foreach}
                     							   </select>





More information about the vtigercrm-commits mailing list