X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Ftable-editor.tpl;h=c4b376db9f6788830263a6d6bce110ebdf8e2f7a;hb=8269d2d652f539cd06117bac1e51f4e2182520b4;hp=392c55a1ec0d5d9c5a19d8dba081ae9566991fc4;hpb=9e570fe0de461eec909a72655e4ba6429378bdec;p=platal.git diff --git a/templates/table-editor.tpl b/templates/table-editor.tpl index 392c55a..c4b376d 100644 --- a/templates/table-editor.tpl +++ b/templates/table-editor.tpl @@ -21,15 +21,20 @@ {**************************************************************************} -

{$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 +77,8 @@ {if ($p_prev > -1) || ($p_next > -1)} {/if} @@ -105,7 +110,7 @@ {elseif $myval.Type eq 'enum'} {elseif ($myval.Type eq 'textarea') or ($myval.Type eq 'varchar200')} @@ -113,6 +118,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}{if $t->sortfield eq $myvar}{if $t->sortdesc}{icon name="bullet_arrow_down"}{else}{icon name="bullet_arrow_up"}{/if}{/if}action