AddConference: ajout de validation

Login: tentative de repérage de la touche entrée
This commit is contained in:
Frederic Debuire
2008-02-15 21:39:22 +00:00
parent 363238ce30
commit 1618337b39
7 changed files with 82 additions and 31 deletions

View File

@@ -23,13 +23,14 @@
</td><td>
<div class="cbb">
<h2><fmt:message key="login.label.alreadyaccount" /> :</h2>
<form action="<c:url value='j_acegi_security_check'/>" method="POST" id="formlogin">
<fmt:message key="login.label.login" /> : <input type='text' name='j_username' /><br />
<fmt:message key="login.label.password" /> : <input type='password' name='j_password' /><br />
<form action="<c:url value='j_acegi_security_check'/>" method="POST" id="mainformlogin">
<fmt:message key="login.label.login" /> : <input id="username" type='text' name='j_username' /><br />
<fmt:message key="login.label.password" /> : <input id="password" type='password' name='j_password' /><br />
<input type="checkbox" name="_acegi_security_remember_me"/>&nbsp;&nbsp;<fmt:message key='login.label.rememberme' /><br />
<br /><br />
<a href="javascript:document.getElementById('formlogin').submit();" id="submit_btn"><fmt:message key="login.btn.connexion" /></a>
<a href="javascript:document.getElementById('mainformlogin').submit();" id="submit_btn"><fmt:message key="login.btn.connexion" /></a>
<script type="text/javascript"> new LoginManager('username', 'password');</script>
</form>
<div class="yacos_button">
<a href="<c:url value="/forgotPassword.htm"/>">
@@ -39,5 +40,6 @@
</div>
</td></tr>
</table>
</body>
</html>