Happy New Year!
[platal.git] / templates / core / password_prompt_logged.tpl
CommitLineData
0337d704 1{**************************************************************************}
2{* *}
12262f13 3{* Copyright (C) 2003-2011 Polytechnique.org *}
0337d704 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
86777849 23<h1>{icon name=error} Page sécurisée</h1>
0337d704 24
86777849
FB
25<div>
26 La page que tu as demandée est classée comme sensible. Il est nécessaire de taper ton mot de passe
1038c8ad 27 pour y accéder, même avec l'accès permanent activé.
0337d704 28</div>
0338ba2e 29<br />
0337d704 30
31<form action="{$smarty.server.REQUEST_URI}" method="post" id="login" onsubmit='doChallengeResponse(); return false;'>
1038c8ad 32 <table class="bicol" cellpadding="4" summary="Formulaire de login">
0337d704 33 <tr>
34 <td class="titre">
86777849
FB
35 Nom d'utilisateur&nbsp;:
36 </td>
37 <td>{$smarty.session.hruid}</td>
38 <td class="right" rowspan="3" style="vertical-align: middle">
39 <input type="submit" name="submitbtn" value="Envoyer" />
40 </td>
41 </tr>
42 <tr>
43 <td class="titre">
661e78f7 44 Mot de passe&nbsp;:
0337d704 45 </td>
46 <td>
2b18a8ff 47 <input type="password" name="password" size="10" maxlength="256" />
841ff7e7 48 &nbsp;<a href="recovery">Perdu&nbsp;?</a>
0338ba2e 49 </td>
0337d704 50 </tr>
51 <tr>
fba760d2 52 <td {popup caption='Connexion permanente' width='300' text='Décoche cette case pour que le site oublie ce navigateur.<br />
53 Il est conseillé de décocher la case si cette machine n\'est pas <b>strictement</b> personnelle'} colspan="2">
a44f405e
SJ
54 <label><input type="checkbox" name="remember" checked="checked" />
55 Garder l'accès aux services après déconnexion.</label>
0337d704 56 </td>
57 </tr>
0337d704 58 </table>
59</form>
60<br />
0337d704 61
62<!-- Set up the form with the challenge value and an empty reply value -->
63<form action="{$smarty.server.REQUEST_URI}" method="post" id="loginsub">
64 <div>
839a80cf 65 {xsrf_token_field}
cab08090 66 <input type="hidden" name="challenge" value="{$smarty.session.challenge}" />
5b52fb00 67 <input type="hidden" name="username" value="{$smarty.session.uid}" />
0337d704 68 <input type="hidden" name="remember" value="" />
69 <input type="hidden" name="response" value="" />
70 </div>
71</form>
72
73{literal}
74<script type="text/javascript">
75 <!--
76 // Activate the appropriate input form field.
77 document.forms.login.password.focus();
78 // -->
79</script>
80{/literal}
81
a7de4ef7 82{* vim:set et sw=2 sts=2 sws=2 enc=utf-8: *}