X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Fcore%2Ftable-editor.tpl;h=df3b459aa15e0a6bcd4de5decfbb6954f439be2b;hb=61e0e8619a9e391d9536d1af3c8cd441491bbc99;hp=9be22927b7da2d6cd81c8755f88d06d564c33dc9;hpb=5ddeb07cc787dd1dc3630a31f1528f5cc7c4d9b9;p=platal.git diff --git a/templates/core/table-editor.tpl b/templates/core/table-editor.tpl index 9be2292..df3b459 100644 --- a/templates/core/table-editor.tpl +++ b/templates/core/table-editor.tpl @@ -1,6 +1,6 @@ {**************************************************************************} {* *} -{* Copyright (C) 2003-2007 Polytechnique.org *} +{* Copyright (C) 2003-2008 Polytechnique.org *} {* http://opensource.polytechnique.org/ *} {* *} {* This program is free software; you can redistribute it and/or modify *} @@ -44,11 +44,11 @@ - Nouvelles entrées : ManuellementDepuis un CSV + Nouvelles entrées : ManuellementDepuis un CSV - {icon name=add title='nouvelle entrée'} + {icon name=add title='nouvelle entrée'} {/if} @@ -64,6 +64,8 @@ {$myrow.$myfield|date_format:"%x %X"} {elseif $myval.Type eq 'checkbox'} + {elseif $myval.Type eq 'ip_address'} + {$myrow.$myfield|uint_to_ip} {else} {$myrow.$myfield} {/if} @@ -72,8 +74,8 @@ {if !$hideactions} {if !$readonly} - {icon name=page_edit title='éditer'} - {icon name=delete title='supprimer'} + {icon name=page_edit title='éditer'} + {icon name=delete title='supprimer'} {/if} {/if} @@ -98,13 +100,14 @@ {else}
+ {xsrf_token_field} @@ -154,4 +157,4 @@ {/if} -{* vim:set et sw=2 sts=2 sws=2: *} +{* vim:set et sw=2 sts=2 sws=2 enc=utf-8: *}
{if $id} - modification de l'entrée + modification de l'entrée {else} - nouvelle entrée + nouvelle entrée {/if}