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 | <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"> |
a7de4ef7 |
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. |
0337d704 |
31 | </p> |
32 | |
0337d704 |
33 | <p class="descr"> |
a7de4ef7 |
34 | Tu peux également : |
0337d704 |
35 | </p> |
36 | <ul class="descr"> |
d24c8a11 |
37 | {if $is_admin} |
5e193297 |
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"} |
a7de4ef7 |
54 | Ajouter les membres à ton carnet d'adresse |
dc2073c3 |
55 | </a> |
56 | (<a href="{$platal->ns}annuaire/vcard/{$asso.diminutif}.vcf">sans les photos</a>) |
57 | </li> |
0337d704 |
58 | </ul> |
0337d704 |
59 | |
a91fb584 |
60 | {if $plset_base} |
61 | {include file="core/plset.tpl"} |
62 | {else} |
63 | |
0337d704 |
64 | <p class="center"> |
f2900e25 |
65 | [<a href="{$platal->ns}annuaire?order={$smarty.request.order}" {if !$only_admin}class="erreur"{/if}>tous les membres</a>] |
fbacde57 |
66 | [<a href="{$platal->ns}annuaire?order={$smarty.request.order}&admin=1" {if $only_admin}class="erreur"{/if}>administrateurs</a>]<br/> |
0337d704 |
67 | {foreach from=$alphabet item=c} |
d8d9fb55 |
68 | {if $c} |
f2900e25 |
69 | [<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>] |
d8d9fb55 |
70 | {/if} |
0337d704 |
71 | {/foreach} |
72 | </p> |
73 | |
4664b701 |
74 | <table summary="membres du groupe" class="tinybicol"> |
0337d704 |
75 | <tr> |
e02ecfce |
76 | <th> |
f2900e25 |
77 | <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 |
78 | {if $sort eq 'alpha'} |
c73a312d |
79 | <img src="{$platal->baseurl}images/dn.png" alt="" title="Tri croissant" /> |
e02ecfce |
80 | {elseif $sort eq 'alpha_inv'} |
a7de4ef7 |
81 | <img src="{$platal->baseurl}images/up.png" alt="" title="Tri décroissant" /> |
e02ecfce |
82 | {/if} |
a7de4ef7 |
83 | Prénom NOM |
e02ecfce |
84 | </a> |
85 | </th> |
86 | <th> |
87 | <a href="{$platal->ns}annuaire?order=promo{if $sort eq "promo"}_inv{/if}{if $request_group and $group eq 'promo'}&promo={$request_group}{/if}"> |
88 | {if $sort eq 'promo_inv'} |
c73a312d |
89 | <img src="{$platal->baseurl}images/dn.png" alt="" title="Tri croissant" /> |
e02ecfce |
90 | {elseif $sort eq 'promo'} |
a7de4ef7 |
91 | <img src="{$platal->baseurl}images/up.png" alt="" title="Tri décroissant" /> |
e02ecfce |
92 | {/if} |
93 | Promo |
94 | </a> |
95 | </th> |
0337d704 |
96 | <th>Infos</th> |
d24c8a11 |
97 | {if $is_admin} |
a72a67b9 |
98 | <th>Actions</th> |
0337d704 |
99 | {/if} |
100 | </tr> |
101 | {iterate from=$ann item=m} |
4664b701 |
102 | <tr> |
fbacde57 |
103 | <td> |
104 | {if $m.admin}<strong>{/if} |
dc2073c3 |
105 | {if $m.inscrit} |
98a7e9dc |
106 | <a href="https://www.polytechnique.org/profile/{$m.email}" class="popup2"> |
dc2073c3 |
107 | {elseif $m.x} |
98a7e9dc |
108 | <a href="https://www.polytechnique.org/marketing/public/{$m.uid}"> |
dc2073c3 |
109 | {/if} |
add9e6eb |
110 | {if $m.femme}•{/if}{if $m.prenom || $m.nom}{$m.prenom} {$m.nom|strtoupper}{else}{$m.email}{/if} |
fbacde57 |
111 | {if $m.x}</a>{/if} |
e429fff0 |
112 | {if $m.admin}</strong>{/if} |
113 | {if $m.inscrit && !$m.actif} |
114 | <a href="https://www.polytechnique.org/marketing/broken/{$m.email}">{icon name=error title="Recherche d'email"}</a> |
115 | {assign var=broken value=true} |
116 | {/if}</td> |
fbacde57 |
117 | <td>{if $m.admin}<strong>{/if}{$m.promo}{if $m.admin}</strong>{/if}</td> |
118 | <td class="center"> |
dc2073c3 |
119 | {if $m.inscrit} |
7ac1ef77 |
120 | <a href="https://www.polytechnique.org/vcard/{$m.email}.vcf">{icon name=vcard title="[vcard]"}</a> |
f7413044 |
121 | <a href="mailto:{$m.email}@polytechnique.org">{icon name=email title="mail"}</a> |
0337d704 |
122 | {else} |
f7413044 |
123 | <a href="mailto:{$m.email}">{icon name=email title="mail"}</a> |
0337d704 |
124 | {/if} |
125 | </td> |
d24c8a11 |
126 | {if $is_admin} |
4664b701 |
127 | <td class="center"> |
25edb442 |
128 | <a href="{$platal->ns}member/{if $m.x}{$m.email}{else}{$m.uid}{/if}">{icon name=user_edit title="Edition du profil"}</a> |
a72a67b9 |
129 | <a href="{$platal->ns}member/del/{if $m.x}{$m.email}{else}{$m.uid}{/if}">{icon name=delete title="Supprimer de l'annuaire"}</a> |
130 | </td> |
0337d704 |
131 | {/if} |
132 | </tr> |
133 | {/iterate} |
134 | </table> |
135 | |
4664b701 |
136 | <p class="descr" style="text-align: center"> |
0337d704 |
137 | {foreach from=$links item=ofs key=txt} |
d3b88248 |
138 | <a href="{$platal->ns}annuaire?offset={$ofs}&initiale={$smarty.request.initiale}&order={$sort}"{if $smarty.request.offset eq $ofs} class="erreur"{/if}>{$txt}</a> |
0337d704 |
139 | {/foreach} |
140 | </p> |
141 | |
e429fff0 |
142 | {if $broken} |
143 | <p class="smaller"> |
a7de4ef7 |
144 | {icon name=error} : Un camarade signalé par ce symbole n'a plus d'adresse de redirection et ne peut donc |
145 | plus être contacté via son adresse polytechnique.org. Si tu connais sa nouvelle adresse, tu peux nous la communiquer en |
e429fff0 |
146 | cliquant sur le symbole. |
147 | </p> |
148 | {/if} |
149 | |
a91fb584 |
150 | {/if} |
151 | |
a7de4ef7 |
152 | {* vim:set et sw=2 sts=2 sws=2 enc=utf-8: *} |