X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Ftable-editor.tpl;h=cfa08e9edbc5dfe4eb5940ab8eed50becc85b9d0;hb=a38287878bf37b4a39120dceb82877b3e1d99303;hp=2d1c2aed1bcf07976cd4537e04e026d9b504a21e;hpb=233961da8f8ab40bca3baead130f318932a6f770;p=platal.git diff --git a/templates/table-editor.tpl b/templates/table-editor.tpl index 2d1c2ae..cfa08e9 100644 --- a/templates/table-editor.tpl +++ b/templates/table-editor.tpl @@ -21,15 +21,14 @@ {**************************************************************************} -

{$title}

{if $list} - {foreach from=$t->vars item=myval}{if $myval.display} - + {foreach from=$t->vars item=myval key=myvar}{if $myval.display} + {/if}{/foreach} {if !$hideactions} @@ -72,8 +71,8 @@ {if ($p_prev > -1) || ($p_next > -1)} {/if} @@ -113,6 +112,7 @@ {else} {if $myval.Type eq 'timestamp'}jj/mm/aaaa hh:mm:ss{/if} + {if $myval.Type eq 'date'}jj/mm/aaaa{/if} {if $myval.Type eq 'time'}hh:mm:ss{/if} {/if}
{$myval.desc}{$myval.desc}action