X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Fxnetgrp%2Fannuaire.tpl;h=1ecffae085c63ee39082f88480674e0f156162dc;hb=e14069654a64b00afcec4d312c81c827d3c5f411;hp=2ee139c1eb584e8d4b663401bdeaf7267d8d96c6;hpb=8b1f8e12d444062ef63a0db3a8fa94582a9778c3;p=platal.git diff --git a/templates/xnetgrp/annuaire.tpl b/templates/xnetgrp/annuaire.tpl index 2ee139c..1ecffae 100644 --- a/templates/xnetgrp/annuaire.tpl +++ b/templates/xnetgrp/annuaire.tpl @@ -1,6 +1,6 @@ {**************************************************************************} {* *} -{* Copyright (C) 2003-2006 Polytechnique.org *} +{* Copyright (C) 2003-2009 Polytechnique.org *} {* http://opensource.polytechnique.org/ *} {* *} {* This program is free software; you can redistribute it and/or modify *} @@ -20,19 +20,12 @@ {* *} {**************************************************************************} -

{$asso.nom} : Annuaire du groupe

+

{$asso->nom} : Annuaire du groupe

-Le groupe {$asso.nom} compte {$nb_tot} membres. +Le groupe {$asso->nom} compte {$nb_tot} membres :

-

-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. -

- -

-Tu peux également : -

+{if $plset_base} +{include core=plset.tpl} +{else} +

-[tous les membres] -[administrateurs]
+[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} -[{$c}] +{if $c} +[{$c}] +{/if} {/foreach} +*}

- +
- + {if $is_admin} {/if} - {iterate from=$ann item=m} + {foreach from=$users item=user} - - + {if $user->group_comm} + + {/if} + {if $is_admin} {/if} - {/iterate} + {/foreach}
- - {if $sort eq 'alpha'} + + {if $order eq 'directory_name'} - {elseif $sort eq 'alpha_inv'} - + {elseif $order eq '-directory_name'} + {/if} - Prénom NOM + Prénom NOM - - {if $sort eq 'promo_inv'} + + {if $order eq '-promo'} - {elseif $sort eq 'promo'} - + {elseif $order eq 'promo'} + {/if} - Promo + Promo InfosInfosActions
- {if $m.admin}{/if} - {if $m.inscrit} - - {elseif $m.x} - - {/if} - {if $m.femme}•{/if}{$m.prenom} {$m.nom|strtoupper} - {if $m.x}{/if} - {if $m.admin}{/if}{if $m.admin}{/if}{$m.promo}{if $m.admin}{/if} - {if $m.inscrit} - {icon name=vcard title="[vcard]"} - {icon name=email title="mail"} - {else} - {icon name=email title="mail"} + {profile user=$user promo=false} + + {if $user->group_perms eq 'admin'}{/if} + {$user->promo()} + {if $user->group_perms eq 'admin'}{/if} + {$user->group_comm}group_comm} colspan="2"{/if}> + {if $user->hasProfile()} + {icon name=vcard title="[vcard]"} {/if} + {icon name=email title="email"} - {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 $pages gt 1}

-{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} +

+ {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 + cliquant sur le symbole.

+{/if} + +{/if} -{* vim:set et sw=2 sts=2 sws=2: *} +{* vim:set et sw=2 sts=2 sws=2 enc=utf-8: *}