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>Gestion des homonymes</h1>
26 <p class="erreur">mail envoyé à {$forlife}</p>
27 {elseif $op eq 'correct'}
28 <p class="erreur">mail envoyé à {$forlife}, alias supprimé</p>
31 {if $op eq 'list' || $op eq 'mail' || $op eq 'correct'}
34 Les utilisateurs signalés en rouge sont ceux qui conservent actuellement
35 l'alias prenom.nom et empêchent donc la mise en place du robot détrompeur.
40 <th>alias concerné</th>
41 <th>date de péremption de l'alias</th>
44 {foreach from=$hnymes key=login item=row}
47 <strong>{$login}</strong>
50 {foreach from=$row item=user}
53 {if $user.type eq 'alias'}
54 <span class="erreur"><strong>{$user.forlife}</strong></span>
59 <td>{$user.expire|date_format}</td>
61 <a href="profile/{$user.forlife}" class='popup2'>fiche</a>
62 <a href="admin/utilisateurs.php?login={$user.forlife}">edit</a>
63 {if $user.type eq 'alias'}
64 <a href="{$smarty.server.PHP_SELF}?op=mail-conf&target={$user.user_id}">mailer</a>
65 <a href="{$smarty.server.PHP_SELF}?op=correct-conf&target={$user.user_id}">corriger</a>
73 {elseif $op eq 'mail-conf'}
75 <form method="post" action="{$smarty.server.PHP_SELF}">
78 <th>Envoyer un mail pour prévenir l'utilisateur</th>
82 <textarea cols="80" rows="20" name="mailbody">
86 Comme nous t'en avons informé par mail il y a quelques temps,
87 pour respecter nos engagements en terme d'adresses e-mail devinables,
88 tu te verras bientôt retirer l'alias {$loginbis}@polytechnique.org pour
89 ne garder que {$forlife}@polytechnique.org.
91 Toute personne qui écrira à {$loginbis}@polytechnique.org recevra la
92 réponse d'un robot qui l'informera que {$loginbis}@polytechnique.org
93 est ambigu pour des raisons d'homonymie et signalera ton email exact.
95 L'équipe Polytechnique.org
102 <input type="hidden" name="target" value="{$target}" />
103 <input type="hidden" name="op" value="mail" />
104 <input type="submit" value="Envoyer" />
110 {elseif $op eq 'correct-conf'}
112 <form method="post" action="{$smarty.server.PHP_SELF}">
113 <table class="bicol">
115 <th>Mettre en place le robot {$loginbis}@polytechnique.org</th>
119 <textarea cols="80" rows="20" name="mailbody">
122 Comme nous t'en avons informé par mail il y a quelques temps,
123 nous t'avons retiré de façon définitive l'adresse
124 {$loginbis}@polytechnique.org.
126 Toute personne qui écrit à {$loginbis}@polytechnique.org reçoit la
127 réponse d'un robot qui l'informe que {$loginbis}@polytechnique.org
128 est ambigu pour des raisons d'homonymie et signale ton email exact
130 Tu peux faire l'essai toi-même en écrivant à {$loginbis}@polytechnique.org.
132 L'équipe Polytechnique.org
139 <input type="hidden" name="target" value="{$target}" />
140 <input type="hidden" name="op" value="correct" />
141 <input type="submit" value="Envoyer et corriger" />
150 {* vim:set et sw=2 sts=2 sws=2: *}