[Vtigercrm-commits] [vtiger-commits] r9680 - /vtigercrm/branches/5.0.2/Smarty/templates/DisplayFields.tpl
vtigercrm-commits at vtiger.fosslabs.com
vtigercrm-commits at vtiger.fosslabs.com
Mon Oct 23 07:15:52 EDT 2006
Author: aissafranc
Date: Mon Oct 23 05:15:49 2006
New Revision: 9680
Log:
Dropdown translation
Modified:
vtigercrm/branches/5.0.2/Smarty/templates/DisplayFields.tpl
Modified: vtigercrm/branches/5.0.2/Smarty/templates/DisplayFields.tpl
==============================================================================
--- vtigercrm/branches/5.0.2/Smarty/templates/DisplayFields.tpl (original)
+++ vtigercrm/branches/5.0.2/Smarty/templates/DisplayFields.tpl Mon Oct 23 05:15:49 2006
@@ -85,8 +85,8 @@
{foreach item=arr from=$fldvalue}
{foreach key=sel_value item=value from=$arr}
<option value="{$sel_value}" {$value}>
- {if $APP[$sel_value] neq ''}
- {$APP[$sel_value]}
+ {if $APP.$sel_value neq ''}
+ {$APP.$sel_value}
{else}
{$sel_value}
{/if}
@@ -101,11 +101,10 @@
</td>
<td width="30%" align=left class="dvtCellInfo">
<select MULTIPLE name="{$fldname}[]" size="4" style="width:160px;" tabindex="{$vt_tab}" class="small">
- {foreach item=arr from=$fldvalue}
- {foreach key=sel_value item=value from=$arr}
- <option value="{$sel_value}" {$value}>{$sel_value}</option>
- {/foreach}
- {/foreach}
+ {foreach key=sel_value item=value from=$arr}
+ <option value="{$sel_value}" {$value}>{if $APP.$sel_value}{$APP.$sel_value}{else}{$sel_value}{/if}</option>
+
+ {/foreach}
</select>
</td>
More information about the vtigercrm-commits
mailing list