Change locale to fr_FR.UTF-8
[platal.git] / templates / lists / admin.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
23
24{if !$details.own}
25<p class='erreur'>
26Tu n'es pas administrateur de la liste, mais du site.
27</p>
28{/if}
29
3eb25eb3 30{include file="lists/header_listes.tpl" on=admin}
0337d704 31
32<p>
a7de4ef7 33Pour inscrire un utilisateur, il faut remplir les champs prévus à cet effet en saisissant un de
34ses identifiants, de la forme "prenom.nom", ou "prenom.nom.promo" en cas d'homonymie. Pour inscrire plusieurs utilisateurs, les séparer par des espaces.
35L'icône {icon name=cross title='retirer membre'} permet de désinscrire de la liste quelqu'un
36qui y était abonné.
0337d704 37</p>
38
39<h1>
a7de4ef7 40 modérateurs de la liste
0337d704 41</h1>
42
43<form method='post' action='{$smarty.server.REQUEST_URI}'>
44 <table class='tinybicol' cellpadding='0' cellspacing='0'>
45 {foreach from=$owners item=xs key=promo}
46 <tr>
47 <td class='titre'>{if $promo}{$promo}{else}non-X{/if}</td>
48 <td>
49 {foreach from=$xs item=x}
8040946c 50 {if $promo && strpos($x.l, '@') === false}
7b2413f6 51 <a href="profile/{$x.l}" class="popup2">{$x.n}</a>
8040946c 52 {elseif $x.x}
53 <a href="{$platal->ns}member/{$x.x}">{$x.n}</a>
54 {elseif $x.n}
55 {$x.n}
0337d704 56 {else}
57 {$x.l}
58 {/if}
a7de4ef7 59 <a href='{$platal->pl_self(1)}?del_owner={$x.l}'>{icon name=cross title='retirer modérateur'}</a>
0337d704 60 <br />
61 {/foreach}
62 </td>
63 </tr>
64 {/foreach}
65 <tr>
66 <td class='titre'>Ajouter ... </td>
67 <td>
68 <input type='text' size='30' name='add_owner' />
69 &nbsp;
70 <input type='submit' value='ajouter' />
71 </td>
72 </tr>
73 </table>
74</form>
75
76
77<h1>
78 {$np_m|default:"0"} membre(s) dans la liste
79</h1>
80
81<form method='post' action='{$smarty.server.REQUEST_URI}'>
82 <table class='bicol' cellpadding='0' cellspacing='0'>
83 {foreach from=$members item=xs key=promo}
84 <tr>
85 <td class='titre'>{if $promo}{$promo}{else}non-X{/if}</td>
86 <td>
87 {foreach from=$xs item=x}
8040946c 88 {if $promo && strpos($x.l, '@') === false}
7b2413f6 89 <a href="profile/{$x.l}" class="popup2">{$x.n}</a>
8040946c 90 {elseif $x.x}
91 <a href="{$platal->ns}member/{$x.x}">{$x.n}</a>
92 {elseif $x.n}
93 {$x.n}
0337d704 94 {else}
95 {$x.l}
96 {/if}
ff874621 97 <a href='{$platal->pl_self(1)}?del_member={$x.l}'>{icon name=cross title='retirer membre'}</a>
0337d704 98 <br />
99 {/foreach}
100 </td>
101 </tr>
102 {/foreach}
103 <tr>
104 <td class='titre'>Ajouter ...</td>
105 <td>
106 <input type='text' size='40' name='add_member' />
107 &nbsp;
108 <input type='submit' value='ajouter' />
109 </td>
110 </tr>
111 </table>
112</form>
113
114
a7de4ef7 115{* vim:set et sw=2 sts=2 sws=2 enc=utf-8: *}