1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768 |
- <?php
- /* For licensing terms, see /license.txt */
- /**
- * Quick form to ask for password reminder.
- * @package chamilo.custompages
- */
- require_once('../../main/inc/global.inc.php');
- require_once('language.php');
- ?>
- <html>
- <head>
- <title><?php echo custompages_get_lang('LostPassword');?></title>
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
- <!--[if !IE 6]><!-->
- <link rel="stylesheet" type="text/css" href="../../custompages/style.css" />
- <!--<![endif]-->
- <!--[if IE 6]>
- <link rel="stylesheet" type="text/css" href="../../custompages/style-ie6.css" />
- <![endif]-->
- <script type="text/javascript" src="../../main/inc/lib/javascript/jquery.min.js"></script>
- <script type="text/javascript">
- $(document).ready(function() {
- // Handler pour la touche retour
- $('input').keyup(function(e) {
- if (e.keyCode == 13) {
- $('#lostpassword-form').submit();
- }
- });
- });
- </script>
- </head>
- <body>
- <div id="backgroundimage">
- <img src="/custompages/images/page-background.png" class="backgroundimage" />
- </div>
- <div id="wrapper">
- <div id="header">
- <img src="../../custompages/images/header.png" alt="Ambassador logo" />
- </div> <!-- #header -->
- <div id="registration-form-info" class="form-info">
- <?php if(isset($content['error']) && !empty($content['error'])){
- echo $content['info'];
- } else {
- echo custompages_get_lang('EnterEmailAndWeWillSendYouYourPassword');
- }?>
- </div>
- <div id="lostpassword-form-box" class="form-box">
- <?php if (isset($content['error']) && !empty($content['error'])) {
- echo '<div id="registration-form-error" class="form-error"><ul>'.$content['error'].'</ul></div>';
- }?>
- <form id="lostpassword-form" class="form" action="lostPassword.php" method="post">
- <div>
- <label for="user">*<?php echo custompages_get_lang('LoginOrEmailAddress');?></label>
- <input name="user" type="text" /><br />
- </div>
- </form>
- <div id="lostpassword-form-submit" class="form-submit" onclick="document.forms['lostpassword-form'].submit();">
- <span><?php echo custompages_get_lang('Send'); ?> </span>
- </div> <!-- #form-submit -->
- </div> <!-- #form -->
- <div id="footer">
- <img src="../../custompages/images/footer.png" />
- </div> <!-- #footer -->
- </div> <!-- #wrapper -->
- </body>
- </html>
|