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 | |
0337d704 |
33 | <p class="descr"> |
5e193297 |
34 | Tu peux également : |
0337d704 |
35 | </p> |
36 | <ul class="descr"> |
5e193297 |
37 | {if $admin} |
38 | <li> |
39 | <a href="{$platal->ns}member/new"> |
40 | {icon name=add title="Ajouter un membre"} |
41 | Ajouter un membre |
42 | </a> |
43 | </li> |
44 | <li> |
45 | <a href="{$platal->ns}admin/annuaire"> |
46 | {icon name=wand title="Synchroniser"} |
47 | Synchroniser annuaire et Listes de diffusion |
48 | </a> |
49 | </li> |
50 | {/if} |
dc2073c3 |
51 | <li> |
52 | <a href="{$platal->ns}annuaire/vcard/photos/{$asso.diminutif}.vcf"> |
53 | {icon name=vcard title="Carte de visite"} |
54 | Ajouter les membres à ton carnet d'adresse |
55 | </a> |
56 | (<a href="{$platal->ns}annuaire/vcard/{$asso.diminutif}.vcf">sans les photos</a>) |
57 | </li> |
0337d704 |
58 | </ul> |
0337d704 |
59 | |
60 | <p class="center"> |
f2900e25 |
61 | [<a href="{$platal->ns}annuaire?order={$smarty.request.order}" {if !$only_admin}class="erreur"{/if}>tous les membres</a>] |
62 | [<a href="{$platal->ns}annuaire?order={$smarty.request.order}&admin=1" {if $only_admin}class="erreur"{/if}>administrateurs</a>]<br/> |
0337d704 |
63 | {foreach from=$alphabet item=c} |
f2900e25 |
64 | [<a href="{$platal->ns}annuaire?{$group}={$c}&order={$smarty.request.order}{if $only_admin}&admin=1{/if}"{if $request_group eq $c} class="erreur"{/if}>{$c}</a>] |
0337d704 |
65 | {/foreach} |
66 | </p> |
67 | |
4664b701 |
68 | <table summary="membres du groupe" class="tinybicol"> |
0337d704 |
69 | <tr> |
e02ecfce |
70 | <th> |
f2900e25 |
71 | <a href="{$platal->ns}annuaire?order=alpha{if $sort neq "alpha_inv"}_inv{/if}{if $request_group and $group eq 'initiale'}&initiale={$request_group}{/if}{if $only_admin}&admin=1{/if}"> |
e02ecfce |
72 | {if $sort eq 'alpha'} |
c73a312d |
73 | <img src="{$platal->baseurl}images/dn.png" alt="" title="Tri croissant" /> |
e02ecfce |
74 | {elseif $sort eq 'alpha_inv'} |
c73a312d |
75 | <img src="{$platal->baseurl}images/up.png" alt="" title="Tri décroissant" /> |
e02ecfce |
76 | {/if} |
77 | Prénom NOM |
78 | </a> |
79 | </th> |
80 | <th> |
81 | <a href="{$platal->ns}annuaire?order=promo{if $sort eq "promo"}_inv{/if}{if $request_group and $group eq 'promo'}&promo={$request_group}{/if}"> |
82 | {if $sort eq 'promo_inv'} |
c73a312d |
83 | <img src="{$platal->baseurl}images/dn.png" alt="" title="Tri croissant" /> |
e02ecfce |
84 | {elseif $sort eq 'promo'} |
c73a312d |
85 | <img src="{$platal->baseurl}images/up.png" alt="" title="Tri décroissant" /> |
e02ecfce |
86 | {/if} |
87 | Promo |
88 | </a> |
89 | </th> |
0337d704 |
90 | <th>Infos</th> |
91 | {if $admin} |
a72a67b9 |
92 | <th>Actions</th> |
0337d704 |
93 | {/if} |
94 | </tr> |
95 | {iterate from=$ann item=m} |
4664b701 |
96 | <tr> |
97 | <td>{if $m.admin}<strong>{/if}{if $m.femme}•{/if}{$m.prenom} {$m.nom|strtoupper}{if $m.admin}</strong>{/if}</td> |
98 | <td>{if $m.admin}<strong>{/if}{$m.promo}{if $m.admin}</strong>{/if}</td> |
99 | <td class="center"> |
dc2073c3 |
100 | {if $m.inscrit} |
05a11a4d |
101 | <a href="https://www.polytechnique.org/profile/{$m.email}" class="popup2">{icon name=user_suit title="fiche"}</a> |
dc2073c3 |
102 | {elseif $m.x} |
103 | <a href="https://www.polytechnique.org/marketing/public/{$m.uid}">{icon name=user_suit title="marketing"}</a> |
104 | {/if} |
105 | {if $m.inscrit} |
7ac1ef77 |
106 | <a href="https://www.polytechnique.org/vcard/{$m.email}.vcf">{icon name=vcard title="[vcard]"}</a> |
f7413044 |
107 | <a href="mailto:{$m.email}@polytechnique.org">{icon name=email title="mail"}</a> |
0337d704 |
108 | {else} |
f7413044 |
109 | <a href="mailto:{$m.email}">{icon name=email title="mail"}</a> |
0337d704 |
110 | {/if} |
111 | </td> |
112 | {if $admin} |
4664b701 |
113 | <td class="center"> |
25edb442 |
114 | <a href="{$platal->ns}member/{if $m.x}{$m.email}{else}{$m.uid}{/if}">{icon name=user_edit title="Edition du profil"}</a> |
a72a67b9 |
115 | <a href="{$platal->ns}member/del/{if $m.x}{$m.email}{else}{$m.uid}{/if}">{icon name=delete title="Supprimer de l'annuaire"}</a> |
116 | </td> |
0337d704 |
117 | {/if} |
118 | </tr> |
119 | {/iterate} |
120 | </table> |
121 | |
4664b701 |
122 | <p class="descr" style="text-align: center"> |
0337d704 |
123 | {foreach from=$links item=ofs key=txt} |
7b2413f6 |
124 | <a href="{$platal->ns}annuaire?offset={$ofs}&initiale={$smarty.request.initiale}"{if $smarty.request.offset eq $ofs} class="erreur"{/if}>{$txt}</a> |
0337d704 |
125 | {/foreach} |
126 | </p> |
127 | |
128 | {* vim:set et sw=2 sts=2 sws=2: *} |