[Vtigercrm-commits] [vtiger-commits] r7479 - /vtigercrm/trunk/Smarty/templates/DisplayFields.tpl

vtigercrm-commits at vtiger.fosslabs.com vtigercrm-commits at vtiger.fosslabs.com
Fri Jun 23 11:26:30 EDT 2006


Author: richie
Date: Fri Jun 23 09:26:27 2006
New Revision: 7479

Log:
picklist values obtained from language files if exists

Modified:
    vtigercrm/trunk/Smarty/templates/DisplayFields.tpl

Modified: vtigercrm/trunk/Smarty/templates/DisplayFields.tpl
==============================================================================
--- vtigercrm/trunk/Smarty/templates/DisplayFields.tpl (original)
+++ vtigercrm/trunk/Smarty/templates/DisplayFields.tpl Fri Jun 23 09:26:27 2006
@@ -84,7 +84,13 @@
 			   <select name="{$fldname}" tabindex="{$vt_tab}" >
 				{foreach item=arr from=$fldvalue}
 					{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] neq ''}
+                                                        {$APP[$sel_value]}
+                                                {else}
+                                                        {$sel_value}
+                                                {/if}
+                                                </option>
 					{/foreach}
 				{/foreach}
 			   </select>





More information about the vtigercrm-commits mailing list