1 {**************************************************************************}
3 {* Copyright (C) 2003-2013 Polytechnique.org *}
4 {* http://opensource.polytechnique.org/ *}
6 {* This program is free software; you can redistribute it and/or modify *}
7 {* it under the terms of the GNU General Public License as published by *}
8 {* the Free Software Foundation; either version 2 of the License, or *}
9 {* (at your option) any later version. *}
11 {* This program is distributed in the hope that it will be useful, *}
12 {* but WITHOUT ANY WARRANTY; without even the implied warranty of *}
13 {* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *}
14 {* GNU General Public License for more details. *}
16 {* You should have received a copy of the GNU General Public License *}
17 {* along with this program; if not, write to the Free Software *}
18 {* Foundation, Inc., *}
19 {* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA *}
21 {**************************************************************************}
25 <h1>Suppression du groupe {$nom}</h1>
27 <form action="admin?del={$smarty.request.del}" method="post">
30 <input type="submit" name="del" value="Oui, je veux supprimer ce groupe" />
36 <h1>Ajouter un groupe</h1>
38 <form action="admin" method="post">
41 Pour ajouter un groupe, choisir ici le diminutif qu'il va utiliser,
42 tu seras ensuite redirigé vers une page te permettant d'éditer le groupe :
45 <input type="text" name="diminutif" value="{$smarty.request.diminutif}" />
46 <input type="submit" name="del" value="Ajouter" />
51 <h1>Administration des groupes X.net</h1>
53 <table cellspacing="0" cellpadding="0" class='large'>
54 {foreach from=$assos item=a key=i name=all}
55 {if $i is even}<tr>{/if}
56 <td><a href='admin?del={$a.diminutif}'>{icon name=delete title='delete'}</a></td>
57 <td><a href='{$a.diminutif}/edit'>{$a.nom}</a></td>
58 {if $i is odd || $smarty.foreach.all.last}</tr>{/if}
64 {* vim:set et sw=2 sts=2 sws=2 enc=utf-8: *}