2006 => 2007 Happy New Year\!
[platal.git] / templates / lists / header_listes.tpl
CommitLineData
0337d704 1{**************************************************************************}
2{* *}
5ddeb07c 3{* Copyright (C) 2003-2007 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
0337d704 23<table>
24 <tr>
25 <td colspan='2'>
7b2413f6 26 [<a href='{$platal->ns}lists'>Voir toutes les listes</a>]
0337d704 27 </td>
28 </tr>
29 <tr>
bc4ad6aa 30 <td><strong>Liste {$platal->argv[1]} :</strong></td>
0337d704 31 <td>
32 {if $on neq members}
7b2413f6 33 [<a href='{$platal->ns}lists/members/{$platal->argv[1]}'>liste des membres</a>]
0337d704 34 {else}
35 [liste des membres]
36 {/if}
37 {if !$it_is_xnet}
38 {if $on neq trombi}
7b2413f6 39 [<a href='{$platal->ns}lists/trombi/{$platal->argv[1]}'>trombinoscope</a>]
0337d704 40 {else}
41 [trombinoscope]
42 {/if}
43 {/if}
44 {if $on neq archives}
7b2413f6 45 [<a href='{$platal->ns}lists/archives/{$platal->argv[1]}'>archives</a>]
0337d704 46 {else}
47 [archives]
48 {/if}
49 </td>
50 </tr>
51 {if $details.own || $smarty.session.perms eq admin || $force_list_super}
52 <tr>
53 <td><strong>Administrer la liste :</strong></td>
54 <td>
55 {if $on neq moderate}
7b2413f6 56 [<a href='{$platal->ns}lists/moderate/{$platal->argv[1]}'>modération</a>]
0337d704 57 {else}
58 [modération]
59 {/if}
60 {if $on neq admin}
7b2413f6 61 [<a href='{$platal->ns}lists/admin/{$platal->argv[1]}'>ajout/retrait de membres</a>]
0337d704 62 {else}
63 [ajout/retrait de membres]
64 {/if}
65 {if $on neq options}
7b2413f6 66 [<a href='{$platal->ns}lists/options/{$platal->argv[1]}'>options</a>]
0337d704 67 {else}
68 [options]
69 {/if}
70 {if $on neq delete}
7b2413f6 71 [<a href='{$platal->ns}lists/delete/{$platal->argv[1]}'>détruire</a>]
0337d704 72 {else}
73 [détruire liste]
74 {/if}
75 </td>
76 </tr>
77 {/if}
78 {if $smarty.session.perms eq admin || $force_list_super}
79 <tr>
80 <td><strong>Administrer (avancé) :</strong></td>
81 <td>
82 {if $on neq soptions}
7b2413f6 83 [<a href='{$platal->ns}lists/soptions/{$platal->argv[1]}'>options avancées</a>]
0337d704 84 {else}
85 [options avancées]
86 {/if}
87 {if $on neq check}
7b2413f6 88 [<a href='{$platal->ns}lists/check/{$platal->argv[1]}'>vérifications</a>]
0337d704 89 {else}
90 [vérifications]
91 {/if}
92 </td>
93 </tr>
94 {/if}
229cb653 95 {if $it_is_xnet}
96 <tr>
97 <td><strong>Synchroniser</strong></td>
98 {if $on neq sync}
7b2413f6 99 <td>[<a href="{$platal->ns}lists/sync/{$platal->argv[1]}">Synchroniser avec l'annuaire</a>]</td>
229cb653 100 {else}
101 <td>[Synchroniser avec l'annuaire]</td>
102 {/if}
103 </tr>
104 {/if}
0337d704 105</table>
106
107
108{* vim:set et sw=2 sts=2 sws=2: *}