X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Fxnetgrp%2Fannuaire.tpl;h=54bcd53e0c9b6873d7214ab53ddc794e67e26260;hb=aba1be6d494fe4a205f00bab1c880d5ee8246565;hp=d462aa586a44ca32d54f3f2a35ae4d95b6600112;hpb=59bec5bc5512a4f962ebac7b0346f59cdf56f901;p=platal.git diff --git a/templates/xnetgrp/annuaire.tpl b/templates/xnetgrp/annuaire.tpl index d462aa5..54bcd53 100644 --- a/templates/xnetgrp/annuaire.tpl +++ b/templates/xnetgrp/annuaire.tpl @@ -1,6 +1,6 @@ {**************************************************************************} {* *} -{* Copyright (C) 2003-2009 Polytechnique.org *} +{* Copyright (C) 2003-2011 Polytechnique.org *} {* http://opensource.polytechnique.org/ *} {* *} {* This program is free software; you can redistribute it and/or modify *} @@ -20,39 +20,41 @@ {* *} {**************************************************************************} -
-Le groupe {$asso.nom} compte {$nb_tot} membres : +Le groupe {$asso->nom} compte {$nb_tot} membres :
-[tous les membres]
-[animateurs]
+[tous les membres]
+[animateurs]
+{*
+ XXX: This code has been temporary dropped, waiting for a cleaner way to do that stuff
{foreach from=$alphabet item=c}
{if $c}
-[{$c}]
+[{$c}]
{/if}
{/foreach}
+*}
- - {if $sort eq 'alpha'} + + {if $order eq 'directory_name'} - {elseif $sort eq 'alpha_inv'} + {elseif $order eq '-directory_name'} {/if} - Prénom NOM + NOM Prénom | - - {if $sort eq 'promo_inv'} + + {if $order eq '-promo'} - {elseif $sort eq 'promo'} + {elseif $order eq 'promo'} {/if} - Promo + Promo | Infos | @@ -97,51 +102,56 @@ Le groupe {$asso.nom} compte {$nb_tot} membres :Actions | {/if}||||
---|---|---|---|---|---|---|---|
- {if $m.admin}{/if} - {if $m.inscrit} - - {elseif $m.x} - - {/if} - {if $m.femme}•{/if}{if $m.prenom || $m.nom}{$m.prenom} {$m.nom|strtoupper}{else}{$m.email}{/if} - {if $m.x}{/if} - {if $m.admin}{/if} - {if $m.inscrit && !$m.actif} - {icon name=error title="Recherche d'email"} - {assign var=broken value=true} - {/if} | -{if $m.admin}{/if}{$m.promo}{if $m.admin}{/if} | - {if $m.comm} -{$m.comm} | + {if $user->lost}{assign var=lostUsers value=true}{/if} + {profile user=$user promo=false} + ++ {if $user->group_perms eq 'admin' && $user->category()}{/if} + {$user->category()|default:"Extérieur"} + {if $user->group_perms eq 'admin' && $user->category()}{/if} + | + {if $user->group_comm} +{$user->group_comm} | {/if} -- {if $m.inscrit} - {icon name=vcard title="[vcard]"} - {icon name=email title="email"} - {else} - {icon name=email title="email"} + | group_comm} colspan="2"{/if}> + {if $user->hasProfile()} + {icon name=vcard title="[vcard]"} {/if} + {icon name=email title="email"} | {if $is_admin}- {icon name=user_edit title="Edition du profil"} - {icon name=delete title="Supprimer de l'annuaire"} + {icon name=user_edit title="Ãdition du profil"} + {icon name=delete title="Supprimer de l'annuaire"} | {/if}
-{foreach from=$links item=ofs key=txt} -{$txt} -{/foreach} +{section name="links" loop=$pages} +{if $smarty.section.links.index eq $current} +{$smarty.section.links.iteration} +{else} +{if $smarty.section.links.first} +précédente +{/if} +{$smarty.section.links.iteration} +{if $smarty.section.links.last} +suivante +{/if} +{/if} +{/section}
+{/if} -{if $broken} +{if $lostUsers}{icon name=error} Un camarade signalé par ce symbole n'a plus d'adresse de redirection et ne peut donc plus être contacté via son adresse polytechnique.org. Si tu connais sa nouvelle adresse, tu peux nous la communiquer en