Fix a broken link
[platal.git] / templates / listes / listes.inc.tpl
CommitLineData
0337d704 1{**************************************************************************}
2{* *}
50a40a33 3{* Copyright (C) 2003-2006 Polytechnique.org *}
0337d704 4{* http://opensource.polytechnique.org/ *}
5{* *}
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. *}
10{* *}
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. *}
15{* *}
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 *}
20{* *}
21{**************************************************************************}
22
23<table class='bicol' cellpadding='0' cellspacing='0'>
24 <tr>
865d4626 25 <th></th>
0337d704 26 <th>Liste</th>
27 <th>Description</th>
28 <th>Diff.</th>
29 <th>Inscr.</th>
30 <th>Nb</th>
31 <th></th>
32 </tr>
33 {foreach from=$listes item=liste}
ae6c293b 34 {if $liste.priv eq $priv}
0337d704 35 <tr class='{cycle values="impair,pair"}'>
9f94a7d4 36 <td style="width: 16px">
865d4626 37 {if $liste.own}
38 {icon name=wrench title="Modérateur"}
39 {/if}
40 </td>
0337d704 41 <td>
865d4626 42 <a href='{$platal->ns}lists/members/{$liste.list}'>{$liste.list}</a>
0337d704 43 </td>
44 <td>{$liste.desc}</td>
45 <td class='center'>
46 {if $liste.diff eq 2}modérée{elseif $liste.diff}restreinte{else}libre{/if}
47 </td>
48 <td class='center'>
49 {if $liste.ins}modérée{else}libre{/if}
50 </td>
51 <td class='right'>{$liste.nbsub}</td>
52 <td class='right'>
53 {if $liste.sub eq 2}
7b2413f6 54 <a href='{$platal->ns}lists?del={$liste.list}'>
ff874621 55 {icon name=cross title="me désinscrire"}
0337d704 56 </a>
57 {elseif $liste.sub eq 1}
bf8206c7 58 {icon name=flag_orange title='inscription en attente de modération'}
0337d704 59 {else}
7b2413f6 60 <a href='{$platal->ns}lists?add={$liste.list}'>
7c0881fd 61 {icon name=add title="m'inscrire"}</a>
0337d704 62 {/if}
63 </td>
64 </tr>
65 {/if}
66 {/foreach}
67</table>
68
69{* vim:set et sw=2 sts=2 sws=2: *}