0337d704 |
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 | <div class="center"> |
25 | <table> |
26 | <tr> |
27 | <td> |
9abcb47f |
28 | <img src="{rel}/images/cadenas_rouge.png" alt=" [ CADENAS ROUGE ] " /> |
0337d704 |
29 | </td> |
30 | <td> |
31 | <span class="smaller"> |
32 | <strong> |
33 | Pour des raisons de sécurité, il est obligatoire de taper ton mot de passe, même |
34 | avec l'accès permanent, pour certaines opérations sensibles. |
35 | </strong> |
36 | </span> |
37 | </td> |
38 | </tr> |
39 | </table> |
40 | </div> |
41 | |
42 | <form action="{$smarty.server.REQUEST_URI}" method="post" id="login" onsubmit='doChallengeResponse(); return false;'> |
43 | <table class="tinybicol" cellpadding="4" summary="Formulaire de login"> |
44 | <tr> |
45 | <td class="titre"> |
46 | Mot de passe: |
47 | </td> |
48 | <td> |
49 | <input type="password" name="password" size="10" maxlength="10" /> |
50 | </td> |
51 | </tr> |
52 | <tr> |
53 | <td></td> |
54 | <td {popup caption='Connexion permanente' width='300' text="Décoche cette case pour que le site oublie ce navigateur.<br /> |
55 | Il est conseillé de décocher la case si cette machine n'est pas <b>strictement</b> personnelle"}> |
56 | <input type="checkbox" name="remember" checked="checked" /> Garder l'accès aux services après déconnexion |
57 | </td> |
58 | </tr> |
59 | <tr> |
60 | <td> |
9abcb47f |
61 | <img src="{rel}/images/pi.png" alt=" [ ? ] " /> |
0337d704 |
62 | <a href="{rel}/recovery.php">Mot de passe perdu ?</a> |
63 | </td> |
64 | <td class="right"> |
65 | <input type="submit" name="submitbtn" value="Envoyer" /> |
66 | </td> |
67 | </tr> |
68 | </table> |
69 | </form> |
70 | <br /> |
71 | {if $smarty.request.response}<!-- failed login code --> |
72 | <div class="erreur"> |
73 | Erreur d'identification. Essaie à nouveau ! |
74 | </div> |
75 | {/if} |
76 | |
77 | <!-- Set up the form with the challenge value and an empty reply value --> |
78 | <form action="{$smarty.server.REQUEST_URI}" method="post" id="loginsub"> |
79 | <div> |
80 | <input type="hidden" name="challenge" value="{$smarty.session.session->challenge}" /> |
81 | <input type="hidden" name="username" value="{$smarty.cookies.ORGuid}" /> |
82 | <input type="hidden" name="remember" value="" /> |
83 | <input type="hidden" name="response" value="" /> |
84 | </div> |
85 | </form> |
86 | |
87 | {literal} |
88 | <script type="text/javascript"> |
89 | <!-- |
90 | // Activate the appropriate input form field. |
91 | document.forms.login.password.focus(); |
92 | // --> |
93 | </script> |
94 | {/literal} |
95 | |
96 | {* vim:set et sw=2 sts=2 sws=2: *} |