Xnet users should login with their curretn email address.
[platal.git] / templates / xnet / login.tpl
CommitLineData
3c64137d
SJ
1{**************************************************************************}
2{* *}
3{* Copyright (C) 2003-2011 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<h1>Identification</h1>
24
25<form action="{$smarty.server.REQUEST_URI}" method="post" id="login" onsubmit='doChallengeResponse(); return false;'>
26 <table class="bicol">
27 <tr>
8a0908db 28 <td class="titre">Identifiant (adresse email)&nbsp;:</td>
3c64137d
SJ
29 <td>
30 <input type="text" name="username" />
8a0908db 31 <input type="hidden" name="domain" value="email" />
3c64137d
SJ
32 </td>
33 </tr>
34 <tr>
35 <td class="titre">Mot de passe&nbsp;:</td>
36 <td><input type="password" name="password" size="10" maxlength="256" /></td>
37 </tr>
38 <tr>
39 <td {popup caption='Connexion permanente' width='300' text='Décocher cette case pour que le site oublie ce navigateur.<br />
40 Il est conseillé de décocher la case si cette machine n\'est pas <b>strictement</b> personnelle'} colspan="2">
41 <label><input type="checkbox" name="remember" checked="checked" />
42 Garder l'accès aux services après déconnexion.
43 </label>
e1e112b3
SJ
44 <br />
45 <a href="recovery/ext">Mot de passe perdu&nbsp;?</a>
3c64137d
SJ
46 </td>
47 </tr>
48 <tr>
49 <td colspan="2" class="center"><input type="submit" name="submitbtn" value="Envoyer" /></td>
50 </tr>
51 </table>
52</form>
53
54<form action="{$smarty.server.REQUEST_URI}" method="post" id="loginsub">
55 <div>
56 <input type="hidden" name="challenge" value="{$smarty.session.challenge}" />
57 <input type="hidden" name="username" value="" />
58 <input type="hidden" name="remember" value="" />
59 <input type="hidden" name="response" value="" />
60 <input type="hidden" name="xorpass" value="" />
61 <input type="hidden" name="domain" value="" />
62 <input type="hidden" name="auth_type" value="xnet" />
63 </div>
64</form>
65
66{* vim:set et sw=2 sts=2 sws=2 enc=utf-8: *}