X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Finclude%2Ffield.select.tpl;h=4103328c301c821c4a94ef898cb51fb8a7287c39;hb=e4860774e45eac2d62cf80d4fd70fac2e0cf1da1;hp=7f99db960023f4ea9f06372200487e40c1377184;hpb=179afa7fa79902e11498314d37fe4dbf452b3617;p=platal.git diff --git a/templates/include/field.select.tpl b/templates/include/field.select.tpl index 7f99db9..4103328 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-2011 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}