1 {**************************************************************************}
3 {* Copyright (C) 2003-2006 Polytechnique.org *}
4 {* http://opensource.polytechnique.org/ *}
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. *}
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. *}
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 *}
21 {**************************************************************************}
24 Accès à Polytechnique.net
29 Ton navigateur n'accepte pas le javaScript !!
32 Cette forme de script web est nécessaire pour l'utilisation du site.
33 Pour en savoir plus, regarde la <a href="faq.php#connect">FAQ</a>.
37 <table class='large' cellpadding="4" cellspacing="0">
39 <th style="width: 50%;">
40 Accès pour les Polytechniciens
43 Accès pour les extérieurs
47 <td style="padding: 1em">
49 Il suffit de suivre <strong><a href="{$smarty.session.session->loginX}">ce lien</a></strong> qui va te rediriger vers
50 <a href="https://www.polytechnique.org/">Polytechnique.org</a> brièvement.
53 Une fois autentifié sur Polytechnique.org, tu seras redirigé sur X.net
57 <a href="{$smarty.session.session->loginX}">ME CONNECTER</a>
61 <td style="padding: 1em">
62 <!--<form action="{$smarty.server.REQUEST_URI}" method="post" id="login" onsubmit="doChallengeResponse(); return false;">
63 <table class="large" cellpadding="4" cellspacing="0" summary="Formulaire de login">
65 <th colspan="2">Connexion
66 <input type="hidden" name="remember" value="" />
67 <input type="hidden" name="domain" value="" />
75 <input type="text" name="username" size="20" maxlength="50" value="" />
83 <input type="password" name="password" size="10" maxlength="10" />
87 <td colspan="2" class="center">
88 <input type="submit" name="submitbtn" value="Envoyer" />
94 (Activer obligatoirement le <strong>javascript</strong>) -->
95 <p>(Non disponible)</p>
96 {if $smarty.request.response}<!-- failed login code //-->
98 Erreur d'identification. Essaie à nouveau !
105 <!-- Set up the form with the challenge value and an empty reply value //-->
106 <form action="{$smarty.server.REQUEST_URI}" method="post" id="loginsub">
108 <input type="hidden" name="challenge" value="{$smarty.session.session->challenge}" />
109 <input type="hidden" name="response" value="" />
110 <input type="hidden" name="username" value="" />
111 <input type="hidden" name="remember" value="" />
112 <input type="hidden" name="domain" value="" />
117 <script type="text/javascript">
119 // Activate the appropriate input form field.
120 if (document.forms.login.username.value == '') {
121 document.forms.login.username.focus();
123 document.forms.login.password.focus();
129 {* vim:set et sw=2 sts=2 sws=2: *}