[Vtigercrm-commits] [vtiger-commits] r7483 - /vtigercrm/trunk/Smarty/templates/DetailViewUI.tpl
vtigercrm-commits at vtiger.fosslabs.com
vtigercrm-commits at vtiger.fosslabs.com
Fri Jun 23 11:34:40 EDT 2006
Author: richie
Date: Fri Jun 23 09:34:37 2006
New Revision: 7483
Log:
picklist values come from language files if exists
Modified:
vtigercrm/trunk/Smarty/templates/DetailViewUI.tpl
Modified: vtigercrm/trunk/Smarty/templates/DetailViewUI.tpl
==============================================================================
--- vtigercrm/trunk/Smarty/templates/DetailViewUI.tpl (original)
+++ vtigercrm/trunk/Smarty/templates/DetailViewUI.tpl Fri Jun 23 09:34:37 2006
@@ -41,7 +41,14 @@
<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] neq ''}
+ {$APP[$sel_value]}
+ {else}
+ {$sel_value}
+ {/if}
+ </option>
+
{/foreach}
{/foreach}
</select>
More information about the vtigercrm-commits
mailing list