X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Fxnetgrp%2Fannuaire.tpl;h=a63a3c306ca3ceb92116ee34e805f62b37c00c69;hb=85fd04406cd481f50ce9326adce1ec3201c55478;hp=25b95510d57db00d84740f3ec7f6823258fc3b0c;hpb=aa7cb8835068676865ffa42628044b482d204119;p=platal.git diff --git a/templates/xnetgrp/annuaire.tpl b/templates/xnetgrp/annuaire.tpl index 25b9551..a63a3c3 100644 --- a/templates/xnetgrp/annuaire.tpl +++ b/templates/xnetgrp/annuaire.tpl @@ -1,6 +1,6 @@ {**************************************************************************} {* *} -{* Copyright (C) 2003-2010 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,135 +23,69 @@

{$asso->nom} : Annuaire du groupe

-Le groupe {$asso->nom} compte {$nb_tot} membres : +Le groupe {$asso->nom} compte {$plset_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} - - {assign var=lostCount value=0} - {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
- {if $user->lost}{assign var=lostCount value=$lostCount+1}{/if} - {profile user=$user promo=false} - - {if $user->group_perms eq 'admin' && $user->promo()}{/if} - {$user->promo()} - {if $user->group_perms eq 'admin' && $user->promo()}{/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 $lostCount > 0} +{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 @@ -159,6 +93,4 @@ Le groupe {$asso->nom} compte {$nb_tot} membres :

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