1 {**************************************************************************}
3 {* Copyright (C) 2003-2006 Polytechnique.org *}
4 {* http://opensource.polytechnique.org/ *}
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. *}
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. *}
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 *}
21 {**************************************************************************}
23 <h1>{$asso.nom} : gestion des membres</h1>
26 [<a href='{rel}/{$platal->ns}annuaire'>Retour à l'annuaire</a>]
30 Édition du profil de {$user.prenom} {$user.nom}
31 {if $user.origine eq 'X'}
33 <a href="https://www.polytechnique.org/profile/{$user.alias}"><img src="{rel}/images/loupe.gif" alt="Voir la fiche" /></a>
35 <a href="{rel}/{$platal->ns}member/del/{$user.email}"><img src="{rel}/images/del.png" alt="Suppression du compte" /></a>
36 <a href="mailto:{$user.email}"><img src="{rel}/images/mail.png" alt="Ecrire un mail" /></a>
39 <form method="post" action="{rel}/{$platal->ns}member/{$platal->argv[1]}">
40 <table cellpadding="0" cellspacing="0" class='tiny'>
46 <select name="is_admin">
47 <option value="0" {if !$user.perms}selected="selected"{/if}>Membre</option>
48 <option value="1" {if $user.perms}selected="selected"{/if}>Administrateur</option>
52 {if $user.origine neq X}
58 <input type="text" value="{$user.prenom}" name="prenom" size="40" />
66 <input type="text" value="{$user.nom}" name="nom" size="40" />
74 <input type="text" value="{$user.email}" name="email" size="40" />
80 <h2>Abonnement aux listes</h2>
82 <table cellpadding="0" cellspacing="0" class='large'>
89 {foreach from=$listes item=liste}
92 <input type='hidden' name='ml1[{$liste.list}]' value='{$liste.sub}' />
93 <input type='checkbox' name='ml2[{$liste.list}]' {if $liste.sub eq 2}checked="checked"{/if} />
96 <a href='{rel}/{$platal->ns}lists/members/{$liste.list}'>{$liste.list}</a>
98 <td>{$liste.desc}</td>
99 <td class='right'>{$liste.nbsub}</td>
102 <tr><td colspan='4'>Pas de listes pour ce groupe</td></tr>
106 <h2>Abonnement aux alias</h2>
108 <table cellpadding="0" cellspacing="0" class='large'>
114 {foreach from=$alias item=a}
117 <input type='hidden' name='ml3[{$a.alias}]' value='{$a.sub}' />
118 <input type='checkbox' name='ml4[{$a.alias}]' {if $a.sub}checked="checked"{/if} />
121 <a href='{rel}/{$platal->ns}alias/admin/{$a.alias}'>{$a.alias}</a>
125 <tr><td colspan='2'>Pas d'alias pour ce groupe</td></tr>
131 <input type="submit" name='change' value="Valider ces changements" />
133 <input type="reset" value="Annuler ces changements" />
139 {* vim:set et sw=2 sts=2 sws=2: *}