X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Fxnetgrp%2Fannuaire.tpl;h=a63a3c306ca3ceb92116ee34e805f62b37c00c69;hb=85fd04406cd481f50ce9326adce1ec3201c55478;hp=f5a2796bd4200e33bc8f1a5ddeb11a1ca0f39c4f;hpb=4cc4d0179fdb372637e40983c5c976f89fa4853e;p=platal.git diff --git a/templates/xnetgrp/annuaire.tpl b/templates/xnetgrp/annuaire.tpl index f5a2796..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,133 +23,67 @@

{$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=lostUsers value=false} - {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=lostUsers value=true}{/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 $lostUsers}

@@ -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: *}