X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Fxnetgrp%2Fannuaire.tpl;h=6abb30d751a266d8e250f3503d80a2df44bca414;hb=0073747ac81cc9cff9e43847eb008f0e815255f0;hp=8706e5f758b5ec66166bafd348e27a5e24fbfe0b;hpb=f6d7a2df40acc6892fa79bbf35939276b8810728;p=platal.git diff --git a/templates/xnetgrp/annuaire.tpl b/templates/xnetgrp/annuaire.tpl index 8706e5f..6abb30d 100644 --- a/templates/xnetgrp/annuaire.tpl +++ b/templates/xnetgrp/annuaire.tpl @@ -1,6 +1,6 @@ {**************************************************************************} {* *} -{* Copyright (C) 2003-2009 Polytechnique.org *} +{* Copyright (C) 2003-2010 Polytechnique.org *} {* http://opensource.polytechnique.org/ *} {* *} {* This program is free software; you can redistribute it and/or modify *} @@ -20,10 +20,10 @@ {* *} {**************************************************************************} -

{$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 :

@@ -112,13 +114,15 @@ Le groupe {$asso.nom} compte {$nb_tot} membres : {if $user->group_comm} {$user->group_comm} {/if} - group_comm}colspan="2"{/if}> - {icon name=vcard title="[vcard]"} - {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=user_edit title="Édition du profil"} {icon name=delete title="Supprimer de l'annuaire"} {/if} @@ -126,11 +130,23 @@ Le groupe {$asso.nom} compte {$nb_tot} membres : {/foreach} +{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}