<span class="smaller">{$myrow.$myfield|date_format:"%x %X"}</span>
{elseif $myval.Type eq 'checkbox'}
<input type="checkbox" disabled="disabled"{if $myrow.$myfield} checked="checked"{/if}/>
+ {elseif $myval.Type eq 'ip_address'}
+ {$myrow.$myfield|uint_to_ip}
{else}
{$myrow.$myfield}
{/if}
<td class="action">
{if !$readonly}
<a href="{$t->pl}/edit/{$idval}">{icon name=page_edit title='éditer'}</a>
- <a href="{$t->pl}/delete/{$idval}">{icon name=delete title='supprimer'}</a>
+ <a href="{$t->pl}/delete/{$idval}?token={xsrf_token}">{icon name=delete title='supprimer'}</a>
{/if}
</td>
{/if}
{else}
<form method="post" action="{$t->pl}/update/{$id}">
+ {xsrf_token_field}
<table class="bicol">
<tr class="impair">
<th colspan="2">