X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Flists%2Fmembers.tpl;h=217a6bd3920f2f7e23d6ddc39d7aee29758390b1;hb=09c8f0ce149bf279767fbb6a7089e69df434dcca;hp=884c42747be8728259849b2a63a22bee2d91898c;hpb=92144f3e3b3399da3acbb7c80c096a0966870a69;p=platal.git diff --git a/templates/lists/members.tpl b/templates/lists/members.tpl index 884c427..217a6bd 100644 --- a/templates/lists/members.tpl +++ b/templates/lists/members.tpl @@ -1,6 +1,6 @@ {**************************************************************************} {* *} -{* Copyright (C) 2003-2007 Polytechnique.org *} +{* Copyright (C) 2003-2011 Polytechnique.org *} {* http://opensource.polytechnique.org/ *} {* *} {* This program is free software; you can redistribute it and/or modify *} @@ -29,42 +29,42 @@ - + - + - + - + - + - + - + @@ -85,33 +85,7 @@ {if $owners|@count}
Adresse Adresse : {mailto address=$details.addr}
Sujet Sujet : {$details.desc|smarty:nodefaults}
Visibilité Visibilité : {if $details.priv eq 0}publique{elseif $details.priv eq 1}privée{else}admin{/if}
Diffusion Diffusion : {if $details.diff eq 2}modérée{elseif $details.diff}restreinte{else}libre{/if}
Inscription Inscription : {if $details.ins}modérée{else}libre{/if}
Nb. membres:Nb. membres : {$nb_m|default:"0"}
Ton statut:Ton statut : {if $details.sub>1} Tu es inscrit sur la liste.
- Te désinscrire : - {icon name=cross title="me désinsiscrire"} + Te désinscrire : + {icon name=cross title="me désinscrire"} {elseif $details.sub eq 1} Ta demande d'inscription est en cours de validation. {else} Tu n'es pas inscrit.
- Demander ton inscription : - {icon name=add title="demander mon inscription"} + Demander ton inscription : + {icon name=add title="demander mon inscription"} {/if}
- {foreach from=$owners item=xs key=promo} - {foreach from=$xs item=x name=all} - - - - {if $x.p} - - {/if} - - {/foreach} - {/foreach} + {include file='lists/display_list.tpl' list=$owners delete=false no_sort_key='non-X' promo=$smarty.get.alpha}
- {if $smarty.foreach.all.first} - {if $promo}{$promo}{else}non-X{/if} - {/if} - - {if $promo && strpos($x.l, '@') === false} - {$x.n} - {elseif $x.x} - {$x.n} - {elseif $x.n} - {$x.n} - {else} - {$x.l} - {/if} - - {$x.p} -
{/if} @@ -124,36 +98,25 @@ {/if} + {if $members|@count} - {foreach from=$members item=xs key=promo} - {foreach from=$xs item=x name=all} - - - - {if $x.p} - - {/if} - - {/foreach} - {/foreach} + {if $details.own || hasPerms('admin,groupadmin')} + + {/if} + {include file='lists/display_list.tpl' list=$members delete=false no_sort_key='non-X' promo=$smarty.get.alpha}
- {if $smarty.foreach.all.first} - {if $promo}{$promo}{else}non-X{/if} - {/if} - - {if $promo && strpos($x.l, '@') === false} - {$x.n} - {elseif $x.x} - {$x.n} - {elseif $x.n} - {$x.n} - {else} - {$x.l} - {/if} - - {$x.p} -
+ {include file="include/csv.tpl" url="`$platal->ns`lists/csv/`$platal->argv[1]`/`$platal->argv[1]`.csv"} +
+ +{if t($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 + cliquant sur le symbole. +

+{/if} + {/if}