Make password checker easily pluggable to any password change prompt.
[platal.git] / templates / platal / motdepasse.tpl
1 {**************************************************************************}
2 {*                                                                        *}
3 {*  Copyright (C) 2003-2008 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>
25   Changer de mot de passe
26 </h1>
27
28 <p>
29   Ton mot de passe doit faire au moins <strong>6 caractères</strong> quelconques. Attention
30   au type de clavier que tu utilises (qwerty?) et aux majuscules/minuscules.
31 </p>
32 <p>
33   Pour une sécurité optimale, ton mot de passe circule de manière cryptée (https) et est
34   stocké crypté irréversiblement sur nos serveurs.
35 </p>
36 <br />
37 <form action="{$smarty.server.REQUEST_URI}" method="post" id="changepass">
38   <table class="tinybicol" cellpadding="3" cellspacing="0"
39     summary="Formulaire de mot de passe">
40     <tr>
41       <th colspan="2">
42         Saisie du nouveau mot de passe
43       </th>
44     </tr>
45     <tr>
46       <td class="titre">
47         Nouveau mot de passe&nbsp;:
48       </td>
49       <td>
50         <input type="password" size="10" maxlength="10" name="nouveau" />
51       </td>
52     </tr>
53     <tr>
54       <td class="titre">
55         Retape-le une fois&nbsp;:
56       </td>
57       <td>
58         <input type="password" size="10" maxlength="10" name="nouveau2" />
59       </td>
60     </tr>
61     <tr>
62       <td class="titre">
63         Sécurité
64       </td>
65       <td>
66         {checkpasswd id="nouveau"}
67       </td>
68     </tr>
69     <tr>
70       <td colspan="2" class="center">
71         <input type="submit" value="Changer" name="submitn" disabled="disabled"
72                onclick="EnCryptedResponse(); return false;" />
73       </td>
74     </tr>
75   </table>
76 </form>
77 <form action="{$smarty.server.REQUEST_URI}" method="post" id="changepass2">
78 <p>
79 {xsrf_token_field}
80 <input type="hidden" name="response2"  value="" />
81 </p>
82 </form>
83
84 <p>
85   Note bien qu'il s'agit là du mot de passe te permettant de t'authentifier sur le site {#globals.core.sitename#} ;
86   le mot de passe te permettant d'utiliser le serveur <a href="./Xorg/SMTPSécurisé">SMTP</a> et <a href="Xorg/NNTPSécurisé">NNTP</a>
87   de {#globals.core.sitename#} (si tu as <a href="./password/smtp">activé l'accès SMTP et NNTP</a>)
88   est indépendant de celui-ci et tu peux le modifier <a href="./password/smtp">ici</a>.
89 </p>
90
91 {* vim:set et sw=2 sts=2 sws=2 enc=utf-8: *}