X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Finclude%2Ffield.select.tpl;h=4103328c301c821c4a94ef898cb51fb8a7287c39;hb=e4860774e45eac2d62cf80d4fd70fac2e0cf1da1;hp=7f99db960023f4ea9f06372200487e40c1377184;hpb=dd9bac8f7903e9924525ad8db3e38650ff5ad1b6;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}