Use icons instead of *, o or # for ML details
[platal.git] / templates / xnetlists / index.tpl
... / ...
CommitLineData
1{**************************************************************************}
2{* *}
3{* Copyright (C) 2003-2006 Polytechnique.org *}
4{* http://opensource.polytechnique.org/ *}
5{* *}
6{* This program is free software; you can redistribute it and/or modify *}
7{* it under the terms of the GNU General Public License as published by *}
8{* the Free Software Foundation; either version 2 of the License, or *}
9{* (at your option) any later version. *}
10{* *}
11{* This program is distributed in the hope that it will be useful, *}
12{* but WITHOUT ANY WARRANTY; without even the implied warranty of *}
13{* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *}
14{* GNU General Public License for more details. *}
15{* *}
16{* You should have received a copy of the GNU General Public License *}
17{* along with this program; if not, write to the Free Software *}
18{* Foundation, Inc., *}
19{* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA *}
20{* *}
21{**************************************************************************}
22
23{if $smarty.get.del_alias}
24
25<p class="error">Est tu sur de supprimer l'alias {$smarty.get.del_alias} ?</p>
26<form action='{$platal->ns}lists' method="post">
27 <div class="center">
28 <input type='submit' value="Oui, je suis sur" />
29 <input type='hidden' name='del_alias' value="{$smarty.get.del_alias}" />
30 </div>
31</form>
32<p>[<a href='{$platal->ns}lists'>retour à la page des listes</a>]</p>
33
34{else}
35
36<h1>{$asso.nom} : Listes de diffusion</h1>
37
38<h2>Listes de diffusion du groupe {$asso.nom} :</h2>
39
40<p class="descr">
41Une liste dont <strong>la diffusion</strong> est modérée est une liste dont les mails sont validés
42par les administrateurs avant d'être transmis aux membres de la liste. Une liste dont
43<strong>l'inscription</strong> est modérée est une liste pour laquelle l'abonnement est soumis à
44l'accord préalable des responsables du groupe.
45</p>
46<p class="descr">
47La dernière colonne du tableau t'indique si tu es inscrit{if $smarty.session.femme}e{/if} ou non à
48la liste. Dans le premier cas, une croix rouge te permet de te désabonner. Dans le second cas, une
49croix verte te permet de t'inscrire, après accord des responsables si l'inscription est modérée.
50</p>
51
52<table cellpadding="0" cellspacing="0" class='large'>
53 <tr>
54 <th>{icon name=wrench title="Modérateur"}</th>
55 <th>{icon name=weather_cloudy title="Liste privée"}</th>
56 <th>Liste</th>
57 <th>Description</th>
58 <th>Diffusion</th>
59 <th>Inscription</th>
60 <th>Nb</th>
61 <th>&nbsp;</th>
62 </tr>
63 {foreach from=$listes item=l}
64 <tr>
65 <td>
66 {if $l.own}
67 {icon name=wrench title="Modérateur"}
68 {/if}
69 </td>
70 <td>
71 {if $l.priv}
72 {icon name=weather_cloudy title="Liste privée"}
73 {/if}
74 </td>
75 <td>
76 <a href="mailto:{$l.list}@{$asso.mail_domain}">{icon name=email title="mail"}</a>
77 <a href='{$platal->ns}lists/members/{$l.list}'>{$l.list}</a>
78 </td>
79 <td>{$l.desc}</td>
80 <td class='center'>
81 {if $l.diff eq 2}modérée{elseif $l.diff eq 1}restreinte{else}libre{/if}
82 </td>
83 <td class='center'>{if $l.ins}modérée{else}libre{/if}</td>
84 <td align='right'>{$l.nbsub}</td>
85 <td align='right'>
86 {if $l.sub eq 2}
87 <a href="{$platal->ns}lists?del={$l.list}">{icon name=delete title="me désinscrire"}</a>
88 {elseif $l.sub eq 1}
89 {icon name=flag_orange title='inscription en attente de modération'}
90 {else}
91 <a href="{$platal->ns}lists?add={$l.list}">{icon name=add title="m'inscrire"}</a>
92 {/if}
93 </td>
94 </tr>
95 {foreachelse}
96 <tr><td colspan='6'>Pas de listes pour ce groupe</td></tr>
97 {/foreach}
98</table>
99
100<p class="descr">
101{icon name=wrench title="Modérateur"} tu es {if $smarty.session.femme}modératrice{else}moderateur{/if} sur cette liste<br />
102{icon name=weather_cloudy title="Liste privée"} cette liste est invisible aux non-membres de la liste. S'en désabonner
103t'empêcherait de t'y réabonner par la suite sans l'aide d'un administrateur.
104</p>
105
106<h2>Voici les alias existants pour le groupe {$asso.nom} :</h2>
107
108{if $alias->total()}
109<table cellspacing="0" cellpadding="0" class='large'>
110 <tr>
111 <th{if $may_update} colspan='3'{/if}>Alias</th>
112 </tr>
113 {iterate from=$alias item=a}
114 <tr>
115 {if $may_update}
116 <td class="center"><a href='mailto:{$a.alias}'>{icon name=email title="mail"}</a></td>
117 <td><a href="{$platal->ns}alias/admin/{$a.alias}">{$a.alias}</a></td>
118 <td class="center"><a href="{$platal->ns}lists?del_alias={$a.alias}">{icon name=delete title='supprimer'}</a></td>
119 {else}
120 <td><a href='mailto:{$a.alias}'>{icon name=email title="mail"} {$a.alias}</a></td>
121 {/if}
122 </tr>
123 {/iterate}
124</table>
125{else}
126<p>Aucun alias pour ce groupe</p>
127{/if}
128
129{/if}
130
131{* vim:set et sw=2 sts=2 sws=2: *}