Happy New Year!
[platal.git] / templates / xnetlists / alias-admin.tpl
CommitLineData
0337d704 1{**************************************************************************}
2{* *}
5e1513f6 3{* Copyright (C) 2003-2011 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
a7de4ef7 23<p>[<a href='{$platal->ns}lists'>retour à la page des listes</a>]</p>
0337d704 24
d1fcf09c 25<h1>Membres de {$platal->argv[1]}</h1>
aab2ffdd 26
7cdecf88 27<table class='tinybicol'>
cb8a8977
FB
28 {if $mem|@count}
29 {foreach from=$mem item=m}
0337d704 30 <tr>
0337d704 31 <td>
cb8a8977 32 {if $m.user}
7cdecf88 33 {if $m.admin}<strong>{/if}
cb8a8977 34 <a href="https://www.polytechnique.org/profile/{$m.user->login()}" class="popup2">{$m.user->fullName()}</a>
7cdecf88 35 {if $m.admin}</strong>{/if}
36 {else}
cb8a8977 37 {$m.email}
7cdecf88 38 {/if}
39 </td>
40 <td class="right">
cb8a8977 41 {if $m.user}
7cdecf88 42 {if $m.admin}<strong>{/if}
cb8a8977 43 {$m.user->promo()}
7cdecf88 44 {if $m.admin}</strong>{/if}
cb8a8977 45 {/if}
7cdecf88 46 </td>
47 <td class="center">
cb8a8977 48 <a href='{$platal->ns}alias/admin/{$platal->argv[1]}?del_member={$m.email|urlencode}&amp;token={xsrf_token}'>
7cdecf88 49 {icon name=delete title='retirer membre'}
0337d704 50 </a>
7cdecf88 51 </td>
52 </tr>
cb8a8977 53 {/foreach}
7cdecf88 54 {else}
55 <tr>
56 <td colspan="3">
6e828e47 57 <em>aucun membre&hellip;<em>
0337d704 58 </td>
59 </tr>
7cdecf88 60 {/if}
0337d704 61 <tr>
7cdecf88 62 <th colspan="3">Ajouter</th>
63 </tr>
64 <tr>
65 <td colspan="3" class="center">
7b2413f6 66 <form method="post" action="{$platal->ns}alias/admin/{$platal->argv[1]}">
8d73663d 67 {xsrf_token_field}
0337d704 68 <div>
69 <input type='text' name='add_member' />
70 &nbsp;
71 <input type='submit' value='ajouter' />
72 </div>
73 </form>
74 </td>
75 </tr>
76</table>
77
a7de4ef7 78{* vim:set et sw=2 sts=2 sws=2 enc=utf-8: *}