X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Fxnetgrp%2Fannuaire.tpl;h=ae775e3f550e6d375b60387d7c82b9d6b4780b8d;hb=3eaeedd1621a4ad6f3b89b01dcab4143e6f27545;hp=6170e151f7c816096cbe215ab573e0ce3e570bf9;hpb=353f2d2b11c4e3c6c0bc3553813368b6f42fa9c6;p=platal.git diff --git a/templates/xnetgrp/annuaire.tpl b/templates/xnetgrp/annuaire.tpl index 6170e15..ae775e3 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 *} @@ -23,132 +23,66 @@

{$asso->nom} : Annuaire du groupe

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

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

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

- - - - - - {if $is_admin} - - {/if} - - {foreach from=$users item=user} - - - {if $user->group_comm} - - {/if} - - {if $is_admin} - - {/if} - - {/foreach} -
- - {if $order eq 'directory_name'} - - {elseif $order eq '-directory_name'} - - {/if} - Prénom NOM - - - - {if $order eq '-promo'} - - {elseif $order eq 'promo'} - - {/if} - Promo - - InfosActions
- {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="Édition du profil"} - {icon name=delete title="Supprimer de l'annuaire"} -
- -{if $pages gt 1} -

-{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} +{include core=plset.tpl} -{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 @@ -156,6 +90,4 @@ Le groupe {$asso->nom} compte {$nb_tot} membres :

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