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