X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Finclude%2Ffield.select.tpl;h=2757bfff09f5878ec6f71be66658531a4e895b14;hb=c76545c351fae4e2298624ff9ee5bf854dc5a5b6;hp=7f99db960023f4ea9f06372200487e40c1377184;hpb=ebd515f95f03f8a87f9b846d65e179b39a535222;p=platal.git diff --git a/templates/include/field.select.tpl b/templates/include/field.select.tpl index 7f99db9..2757bff 100644 --- a/templates/include/field.select.tpl +++ b/templates/include/field.select.tpl @@ -1,6 +1,6 @@ {**************************************************************************} {* *} -{* Copyright (C) 2003-2008 Polytechnique.org *} +{* Copyright (C) 2003-2010 Polytechnique.org *} {* http://opensource.polytechnique.org/ *} {* *} {* This program is free software; you can redistribute it and/or modify *} @@ -20,16 +20,18 @@ {* *} {**************************************************************************} -{if $with_text_value} +{if t($with_text_value)}
{/if} - + {if $list} {iterate from=$list item='option'} {/iterate} + {/if} -{if $with_text_value} +{if t($with_text_value)}
{/if}