1 {**************************************************************************}
3 {* Copyright (C) 2003-2006 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="?del={$smarty.request.del}" method="post">
29 <input type="submit" name="del" value="Oui, je veux supprimer ce groupe" />
35 <h1>Ajouter un groupe</h1>
37 <form action="{$smarty.server.PHP_SELF}" method="post">
39 Pour ajouter un groupe, choisir ici le diminutif qu'il va utiliser,
40 tu seras ensuite redirigé vers une page te permettant d'éditer le groupe :
43 <input type="text" name="diminutif" value="{$smarty.request.diminutif}" />
44 <input type="submit" name="del" value="Ajouter" />
49 <h1>Administration des groupes X.net</h1>
51 <table cellspacing="0" cellpadding="0" class='large'>
52 {foreach from=$assos item=a key=i name=all}
53 {if $i is even}<tr>{/if}
54 <td><a href='?del={$a.diminutif}'><img src='{rel}/images/del.png' alt='delete' /></a></td>
55 <td><a href='{rel}/{$a.diminutif}/edit.php'>{$a.nom}</a></td>
56 {if $i is odd || $smarty.foreach.all.last}</tr>{/if}
62 {* vim:set et sw=2 sts=2 sws=2: *}