first reimport from platal
[platal.git] / templates / recovery.tpl
1 {**************************************************************************}
2 {*                                                                        *}
3 {*  Copyright (C) 2003-2004 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
24 <h1>Perte du mot de passe</h1>
25
26
27 {if $ok}
28
29 <p>
30 <strong>Un certificat d'authentification aléatoire</strong> vient de t'être attribué et envoyé à
31 ton adresse en polytechnique.org.<span class="erreur"> Il expire dans six heures.</span> Tu dois donc
32 <strong>consulter ton mail avant son expiration</strong> et utiliser le certificat comme expliqué
33 dans le mail pour changer ton mot de passe.
34 </p>
35 <p>
36 Si tu n'accèdes pas à ton mail dans les
37 6 heures, sollicite un nouveau
38 certificat sur cette page.
39 </p>
40
41 {else}
42
43 <form action="{$smarty.server.PHP_SELF}" method="post">
44   <p>
45   Il est impossible de récupérer le mot de passe perdu (nous n'avons que le résultat après un
46   chiffrement irréversible de ton mot de passe). La procédure suivante va te permettre de choisir un
47   nouveau mot de passe.
48   </p>
49   <p>
50   Après avoir complété les informations suivantes, tu recevras à ton adresse Polytechnique.org un
51   courrier électronique te permettant de choisir ce nouveau mot de passe. Si jamais tu n'as plus
52   accès aux boîtes aux lettres vers lesquelles ton adresse Polytechnique.org reroute ton courrier,
53   alors indique nous ci-dessous l'adresse à laquelle tu souhaites recevoir le courrier. Nous t'y
54   adresserons le message de création d'un nouveau mot de passe si et seulement si tes anciennes
55   boîtes sont réellement inaccessibles.
56   </p>
57   <table class="tinybicol" cellpadding="3" cellspacing="0" summary="Récupération du mot de passe">
58     <tr>
59       <th colspan="2">
60         Perte de mot de passe
61       </th>
62     </tr>
63     <tr>
64       <td class="titre">
65         Login :<br />
66         <span class="smaller">"prenom.nom"</span>
67       </td>
68       <td>
69         <input type="text" size="20" maxlength="50" name="login" />
70       </td>
71     </tr>
72     <tr>
73       <td class="titre">
74         Adresse électronique : <span class="smaller">(facultatif)</span>
75       </td>
76       <td>
77         <input type="text" size="20" maxlength="50" name="email" />
78       </td>
79     </tr>
80     <tr>
81       <td class="titre">
82         Date de naissance :
83       </td>
84       <td>
85         <input type="text" size="8" maxlength="8" name="birth" />
86       </td>
87     </tr>
88     <tr>
89       <td colspan="2">
90         <span class="smaller">
91           (format JJMMAAAA soit 01032000 pour 1er mars 2000)
92         </span>
93       </td>
94     </tr>
95     <tr>
96       <td colspan="2" class="center">
97         <input type="submit" value="Continuer" name="submit" />
98       </td>
99     </tr>
100   </table>
101 </form>
102 {/if}
103
104 {* vim:set et sw=2 sts=2 sws=2: *}