HB/templates/admin/version.tpl

25 lines
680 B
Smarty

{include file='game/header.tpl'}
<a href="?p={$linkpage}&amp;i=add">Ajouter une version</a>
<table>
<thead>
<tr>
<th>Action</th>
<th>Version</th>
<th>Infos</th>
<th>Date</th>
<th>Par</th>
</tr>
</thead>
<tbody>
{foreach from=$tableau item=ligne key=key}
<tr>
<td><a href="?p={$linkpage}&amp;i={$ligne.id}">EDIT</a> | <a href="?p={$linkpage}&amp;d={$ligne.id}">SUPPR</a></td>
<td>{$ligne.version}</td>
<td>{$ligne.contenu}</td>
<td>{$ligne.temps|date_format:"%d/%m/%y %H:%M:%S"}</td>
<td>{$ligne.pseudo}</td>
</tr>
{/foreach}
</tbody>
</table>
{include file='game/footer.tpl'}