forked from halo-battle/game
Version 1.12
This commit is contained in:
parent
2a066a7498
commit
de31cd3e9a
1373 changed files with 156282 additions and 45238 deletions
35
onyx2/tpl/admin/version.tpl
Normal file
35
onyx2/tpl/admin/version.tpl
Normal file
|
|
@ -0,0 +1,35 @@
|
|||
{include file='game/header.tpl'}
|
||||
<h2>Gestion du cache</h2>
|
||||
<a href="{$menu.versions}&actuCache">Mettre à jour le cache</a>
|
||||
<h2>{if $id == "add"}Ajouter{else}Modifier{/if} une version{if $id != "add"} : {$id}{/if}</h2>
|
||||
<form action="{$menu.versions}&i={$id}" method="post">
|
||||
<fieldset class="options">
|
||||
<label for="version">Version :</label> <input type="text" name="version" id="version" value="{$mod.version}" /><br />
|
||||
<label for="contenu">Contenu :</label><br /><textarea cols="10" rows="10" name="contenu" id="contenu">{$mod.contenu}</textarea><br />
|
||||
<input type="submit" class="submit" value="GO" />
|
||||
</fieldset>
|
||||
</form>
|
||||
<h2>Liste des versions</h2>
|
||||
<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="{$menu.versions}&i={$ligne.id}">EDIT</a> | <a href="{$menu.versions}&d={$ligne.id}">SUPPR</a></td>
|
||||
<td>{$ligne.version}</td>
|
||||
<td>{$ligne.contenu|nl2br}</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'}
|
||||
Loading…
Add table
Add a link
Reference in a new issue