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 | <h1>{$asso.nom} : Annuaire du groupe </h1> |
24 | |
25 | <p class="descr"> |
26 | Le groupe {$asso.nom} compte {$nb_tot} membres. |
27 | </p> |
28 | |
29 | <p class="descr"> |
30 | Les membres extérieurs du groupe sont intégrés à cette liste, et repérés par l'inscription 'extérieur' dans la colonne promotion. |
31 | </p> |
32 | |
33 | {if $admin} |
34 | <p class="descr"> |
35 | Fonctionnalités visibles uniquement par les administrateurs : |
36 | </p> |
37 | <ul class="descr"> |
ef7c8560 |
38 | <li><a href="{rel}/{$platal->ns}member/new">Ajouter un membre</a></li> |
4e310c61 |
39 | <li><a href="{rel}/{$platal->ns}admin/annuaire">Synchroniser annuaire et Listes de diffusion</a></li> |
0337d704 |
40 | </ul> |
41 | {/if} |
42 | |
43 | <p class="center"> |
31c3c378 |
44 | [<a href="{$smarty.server.PHP_SELF}" {if !$request_group}class="erreur"{/if}>tout</a>] |
0337d704 |
45 | {foreach from=$alphabet item=c} |
31c3c378 |
46 | [<a href="?{$group}={$c}&order={$smarty.request.order}"{if $request_group eq $c} class="erreur"{/if}>{$c}</a>] |
0337d704 |
47 | {/foreach} |
48 | </p> |
49 | |
50 | <table summary="membres du groupe" class="{if $admin}large{else}tiny{/if}"> |
51 | <tr> |
31c3c378 |
52 | <th><a href="?order=alpha{if $smarty.request.order neq "alpha_inv"}_inv{/if}{if $request_group and $group eq 'initiale'}&initiale={$request_group}{/if}">Prénom NOM</a></th> |
53 | <th><a href="?order=promo{if $smarty.request.order eq "promo"}_inv{/if}{if $request_group and $group eq 'promo'}&promo={$request_group}{/if}">Promo</a></th> |
0337d704 |
54 | <th>Infos</th> |
55 | {if $admin} |
56 | <th>Éditer</th> |
57 | <th>suppr.</th> |
58 | {/if} |
59 | </tr> |
60 | {iterate from=$ann item=m} |
61 | <tr {if $m.admin}style="background:#d0c198;"{/if}> |
31c3c378 |
62 | <td>{if $m.femme}•{/if}{$m.prenom} {$m.nom|strtoupper}</td> |
0337d704 |
63 | <td>{$m.promo}</td> |
64 | <td> |
65 | {if $m.x} |
e8599c21 |
66 | <a href="https://www.polytechnique.org/profile/{$m.email}"><img src="{rel}/images/loupe.gif" alt="[fiche]" /></a> |
e49018a7 |
67 | <a href="https://www.polytechnique.org/vcard/{$m.email}.vcf"><img src="{rel}/images/vcard.png" alt="[vcard]" /></a> |
0337d704 |
68 | <a href="mailto:{$m.email}@polytechnique.org"><img src="{rel}/images/mail.png" alt="mail" /></a> |
69 | {else} |
70 | <a href="mailto:{$m.email}"><img src="{rel}/images/mail.png" alt="mail" /></a> |
71 | {/if} |
72 | </td> |
73 | {if $admin} |
ef7c8560 |
74 | <td><a href="{rel}/{$platal->ns}member/{if $m.x}{$m.email}{else}{$m.uid}{/if}"><img src="{rel}/images/profil.png" alt="Edition du profil" /></a></td> |
75 | <td><a href="{rel}/{$platal->ns}member/del/{if $m.x}{$m.email}{else}{$m.uid}{/if}"><img src="{rel}/images/del.png" alt="Suppression de {$m.prenom} {$m.nom}" /></a></td> |
0337d704 |
76 | {/if} |
77 | </tr> |
78 | {/iterate} |
79 | </table> |
80 | |
81 | <p class="descr"> |
82 | {foreach from=$links item=ofs key=txt} |
83 | <a href="?offset={$ofs}&initiale={$smarty.request.initiale}"{if $smarty.request.offset eq $ofs} class="erreur"{/if}>{$txt}</a> |
84 | {/foreach} |
85 | </p> |
86 | |
87 | {* vim:set et sw=2 sts=2 sws=2: *} |