1 {**************************************************************************}
3 {* Copyright (C) 2003-2004 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 {**************************************************************************}
23 <table class='bicol' cellpadding='0' cellspacing='0'>
32 {foreach from=$listes item=liste}
33 {if $liste.priv >= $min && $liste.priv <= $max|default:$min}
34 <tr class='{cycle values="impair,pair"}'>
36 <a href='members.php?liste={$liste.list}'>{$liste.list}{if $liste.own} *{/if}</a>
38 <td>{$liste.desc}</td>
40 {if $liste.diff eq 2}modérée{elseif $liste.diff}restreinte{else}libre{/if}
43 {if $liste.ins}modérée{else}libre{/if}
45 <td class='right'>{$liste.nbsub}</td>
48 <a href='{$smarty.server.PHP_SELF}?del={$liste.list}'>
49 <img src="{"images/retirer.gif"|url}" alt="[ désinscription ]" title="me désinscrire de {$liste.list}" />
51 {elseif $liste.sub eq 1}
52 <img src="{"images/flag.png"|url}" alt="[ en cours ]" title='inscription en attente de modération' />
54 <a href='{$smarty.server.PHP_SELF}?add={$liste.list}'>
55 <img src="{"images/ajouter.gif"|url}" alt="[ inscription ]" title="m'inscrire sur {$liste.list}" />
64 {* vim:set et sw=2 sts=2 sws=2: *}