From: <sy...@us...> - 2010-04-23 04:05:48
|
Revision: 26744 http://tikiwiki.svn.sourceforge.net/tikiwiki/?rev=26744&view=rev Author: sylvieg Date: 2010-04-23 04:05:42 +0000 (Fri, 23 Apr 2010) Log Message: ----------- [FIX]tracker: br between multilingual text Modified Paths: -------------- branches/5.x/templates/tracker_item_field_input.tpl Modified: branches/5.x/templates/tracker_item_field_input.tpl =================================================================== --- branches/5.x/templates/tracker_item_field_input.tpl 2010-04-22 19:22:18 UTC (rev 26743) +++ branches/5.x/templates/tracker_item_field_input.tpl 2010-04-23 04:05:42 UTC (rev 26744) @@ -167,8 +167,9 @@ {/jq} {/if} {else} - {foreach from=$field_value.lingualvalue item=ling} - <label for="{$field_value.ins_id|replace:'[':'_'|replace:']':''}_{$ling.lang}">{$ling.lang|langname}</label><br /> + {foreach from=$field_value.lingualvalue item=ling name=multi} + <label for="{$field_value.ins_id|replace:'[':'_'|replace:']':''}_{$ling.lang}">{$ling.lang|langname}</label> + <br /> {*prepend*}{if $field_value.options_array[2]}<span class="formunit">{$field_value.options_array[2]} </span>{/if} <input type="text" id="{$field_value.ins_id|replace:'[':'_'|replace:']':''}_{$ling.lang}" name="{$field_value.ins_id}[{$ling.lang}]" value="{$ling.value|escape}" {if $field_value.options_array[1]}size="{$field_value.options_array[1]}" maxlength="{$field_value.options_array[1]}"{/if} /> {*@@ missing value*} {*append*}{if $field_value.options_array[3]}<span class="formunit"> {$field_value.options_array[3]}</span>{/if} @@ -183,6 +184,7 @@ }); {/jq} {/if} + {if !$smarty.foreach.multi.last}<br />{/if} {/foreach} {/if} This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |