Happy New Year !
[platal.git] / templates / lists / header_listes.tpl
CommitLineData
0337d704 1{**************************************************************************}
2{* *}
ba6ae046 3{* Copyright (C) 2003-2013 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>
e8439508 30 <td><strong>Liste {$platal->argv[1]}&nbsp;:</strong></td>
0337d704 31 <td>
0edeb09c 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}
0edeb09c 37 {if $on neq 'trombi'}
1cc0afe7 38 [<a href='{$platal->ns}lists/annu/{$platal->argv[1]}'>annuaire/trombi</a>]
0337d704 39 {else}
1cc0afe7 40 [annuaire/trombi]
0337d704 41 {/if}
0edeb09c 42 {if $on neq 'archives'}
7b2413f6 43 [<a href='{$platal->ns}lists/archives/{$platal->argv[1]}'>archives</a>]
0337d704 44 {else}
45 [archives]
46 {/if}
47 </td>
48 </tr>
0d180d64 49 {if $details.own || hasPerms('admin') || $group_admin}
0337d704 50 <tr>
e8439508 51 <td><strong>Administrer la liste&nbsp;:</strong></td>
0337d704 52 <td>
0edeb09c 53 {if $on neq 'moderate'}
a7de4ef7 54 [<a href='{$platal->ns}lists/moderate/{$platal->argv[1]}'>modération</a>]
0337d704 55 {else}
a7de4ef7 56 [modération]
0337d704 57 {/if}
0edeb09c 58 {if $on neq 'admin'}
7b2413f6 59 [<a href='{$platal->ns}lists/admin/{$platal->argv[1]}'>ajout/retrait de membres</a>]
0337d704 60 {else}
61 [ajout/retrait de membres]
62 {/if}
0edeb09c 63 {if $on neq 'options'}
7b2413f6 64 [<a href='{$platal->ns}lists/options/{$platal->argv[1]}'>options</a>]
0337d704 65 {else}
66 [options]
67 {/if}
0edeb09c 68 {if $on neq 'delete'}
a7de4ef7 69 [<a href='{$platal->ns}lists/delete/{$platal->argv[1]}'>détruire</a>]
0337d704 70 {else}
a7de4ef7 71 [détruire liste]
0337d704 72 {/if}
73 </td>
74 </tr>
75 {/if}
0d180d64 76 {if hasPerms('admin') || $group_admin}
0337d704 77 <tr>
e8439508 78 <td><strong>Administrer (avancé)&nbsp;:</strong></td>
0337d704 79 <td>
0edeb09c 80 {if $on neq 'soptions'}
a7de4ef7 81 [<a href='{$platal->ns}lists/soptions/{$platal->argv[1]}'>options avancées</a>]
0337d704 82 {else}
a7de4ef7 83 [options avancées]
0337d704 84 {/if}
0edeb09c 85 {if $on neq 'check'}
a7de4ef7 86 [<a href='{$platal->ns}lists/check/{$platal->argv[1]}'>vérifications</a>]
0337d704 87 {else}
a7de4ef7 88 [vérifications]
0337d704 89 {/if}
90 </td>
91 </tr>
92 {/if}
4a29ad42 93 {if t($it_is_xnet) && ($details.own || $is_admin)}
229cb653 94 <tr>
38421eaa 95 <td><strong>Synchroniser&nbsp;:</strong></td>
0edeb09c 96 {if $on neq 'sync'}
38421eaa 97 <td>[<a href="{$platal->ns}lists/sync/{$platal->argv[1]}">synchroniser avec l'annuaire</a>]</td>
229cb653 98 {else}
38421eaa 99 <td>[synchroniser avec l'annuaire]</td>
229cb653 100 {/if}
101 </tr>
102 {/if}
0337d704 103</table>
104
105
a7de4ef7 106{* vim:set et sw=2 sts=2 sws=2 enc=utf-8: *}