X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Fxnetgrp%2Fannuaire.tpl;h=7ed7eb64e58f0462442a87786fc1c8563c6007f5;hb=ce814052cb278387bdf24f4e300f2cde915479a0;hp=4aa1a01d3fcf2254682c960a73b6a453f6100d52;hpb=e84395087d3ab4d549be6fad7d6c7296601796ff;p=platal.git diff --git a/templates/xnetgrp/annuaire.tpl b/templates/xnetgrp/annuaire.tpl index 4aa1a01..7ed7eb6 100644 --- a/templates/xnetgrp/annuaire.tpl +++ b/templates/xnetgrp/annuaire.tpl @@ -1,6 +1,6 @@ {**************************************************************************} {* *} -{* Copyright (C) 2003-2007 Polytechnique.org *} +{* Copyright (C) 2003-2009 Polytechnique.org *} {* http://opensource.polytechnique.org/ *} {* *} {* This program is free software; you can redistribute it and/or modify *} @@ -37,11 +37,17 @@ Le groupe {$asso.nom} compte {$nb_tot} membres :
  • {icon name=wand title="Synchroniser"} - Synchroniser annuaire et Listes de diffusion + Synchroniser annuaire et listes de diffusion
  • {/if}
  • + + {icon name=page_excel title="Fichier Excel"} + Obtenir au format Excel + +
  • +
  • {icon name=vcard title="Carte de visite"} Ajouter les membres à ton carnet d'adresse @@ -51,90 +57,96 @@ Le groupe {$asso.nom} compte {$nb_tot} membres : {if $plset_base} -{include file="core/plset.tpl"} +{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} {if $c} -[{$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}{if $m.prenom || $m.nom}{$m.prenom} {$m.nom|strtoupper}{else}{$m.email}{/if} - {if $m.x}{/if} - {if $m.admin}{/if} - {if $m.inscrit && !$m.actif} - {icon name=error title="Recherche d'email"} - {assign var=broken value=true} - {/if}{if $m.admin}{/if}{$m.promo}{if $m.admin}{/if} - {if $m.inscrit} + {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}> {icon name=vcard title="[vcard]"} - {icon name=email title="mail"} - {else} - {icon name=email title="mail"} - {/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="Edition du profil"} + {icon name=delete title="Supprimer de l'annuaire"}
    +{if $pages ge 1}

    -{foreach from=$links item=ofs key=txt} -{$txt} -{/foreach} +{section name="links" loop=$pages min=1} +{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 + {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.