HB/templates/game/alliance_adm_grades.tpl

35 lines
1.2 KiB
Smarty

{include file='game/header.tpl'}
<h2>Administration de l'alliance</h2>
{include file='game/alliance_adm_header.tpl'}
<br />
<h2>Administration des grades</h2>
<table style="text-align: center; width: 100%;">
<thead>
<tr>
<th>Nom</th>
<th>Description</th>
<th>Gestion &eacute;critures</th>
<th>Gestion chat</th>
<th>Gestion membre</th>
<th>Gestion grades</th>
<th>Gestion alliance</th>
<th>Action</th>
</tr>
</thead>
<tbody>
{foreach from=$grades item=grade}
<tr>
<td><a href="{$menu.alliance}&amp;q=adm_grades&amp;i={$grade.id}">{$grade.nom|escape}</a></td>
<td>{$grade.description|escape|nl2br}</td>
<td>{if $grade.gest_ecriture}Oui{else}Non{/if}</td>
<td>{if $grade.gest_chat}Oui{else}Non{/if}</td>
<td>{if $grade.gest_membre}Oui{else}Non{/if}</td>
<td>{if $grade.gest_rang}Oui{else}Non{/if}</td>
<td>{if $grade.gest_admin}Oui{else}Non{/if}</td>
<td><a href="{$menu.alliance}&amp;q=adm_grades&amp;i={$grade.id}&amp;a=del">Supprimer</a></td>
</tr>
{/foreach}
</tbody>
</table>
<a href="{$menu.alliance}&amp;q=adm_grades&amp;a=add">Ajouter un rang</a><br /><br />
{include file='game/footer.tpl'}