X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Finclude%2Ffield.select.tpl;h=4103328c301c821c4a94ef898cb51fb8a7287c39;hb=d05cf8d4ad0bba8aa4e053ede5f9dccb9b0c88fa;hp=195592e73ff0b36a2434282e1796dd7c8ff04136;hpb=0783a5ed4d3409bcd7a7e1d908696159999810c8;p=platal.git diff --git a/templates/include/field.select.tpl b/templates/include/field.select.tpl index 195592e..4103328 100644 --- a/templates/include/field.select.tpl +++ b/templates/include/field.select.tpl @@ -1,6 +1,6 @@ {**************************************************************************} {* *} -{* Copyright (C) 2003-2009 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}