[ Index ] |
|
Code source de b2evolution 2.1.0-beta |
1 <?php 2 /** 3 * This is the lost password form, from where the user can request 4 * a set-password-link to be sent to his/her email address. 5 * 6 * This file is part of the evoCore framework - {@link http://evocore.net/} 7 * See also {@link http://sourceforge.net/projects/evocms/}. 8 * 9 * @copyright (c)2003-2007 by Francois PLANQUE - {@link http://fplanque.net/} 10 * 11 * {@internal License choice 12 * - If you have received this file as part of a package, please find the license.txt file in 13 * the same folder or the closest folder above for complete license terms. 14 * - If you have received this file individually (e-g: from http://evocms.cvs.sourceforge.net/) 15 * then you must choose one of the following licenses before using the file: 16 * - GNU General Public License 2 (GPL) - http://www.opensource.org/licenses/gpl-license.php 17 * - Mozilla Public License 1.1 (MPL) - http://www.opensource.org/licenses/mozilla1.1.php 18 * }} 19 * 20 * {@internal Open Source relicensing agreement: 21 * }} 22 * 23 * @package htsrv 24 * 25 * {@internal Below is a list of authors who have contributed to design/coding of this file: }} 26 * @author fplanque: Francois PLANQUE. 27 */ 28 if( !defined('EVO_MAIN_INIT') ) die( 'Please, do not access this page directly.' ); 29 30 31 /** 32 * Include page header: 33 */ 34 $page_title = T_('Lost password ?'); 35 $page_icon = 'icon_login.gif'; 36 require dirname(__FILE__).'/_html_header.inc.php'; 37 38 $Form = & new Form( $htsrv_url_sensitive.'login.php', '', 'post', 'fieldset' ); 39 40 $Form->begin_form( 'fform' ); 41 42 $Form->hidden( 'action', 'retrievepassword' ); 43 $Form->hidden( 'redirect_to', url_rel_to_same_host($redirect_to, $htsrv_url_sensitive) ); 44 45 $Form->begin_fieldset( T_('Lost password ?') ); 46 47 echo '<ol>'; 48 echo '<li>'.T_('Please enter your login below. Do <strong>NOT</strong> enter your e-mail address!').'</li>'; 49 echo '<li>'.T_('An email will be sent to your registered email address immediately.').'</li>'; 50 echo '<li>'.T_('As soon as you receive the email, click on the link therein to change your password.').'</li>'; 51 echo '</ol>'; 52 53 $Form->text( 'login', $login, 16, T_('Login'), '', 20, 'input_text' ); 54 55 echo $Form->fieldstart.$Form->inputstart; 56 $Form->submit_input( array( /* TRANS: Text for submit button to request an activation link by email */ 'value' => T_('Send me an email now!'), 'class' => 'ActionButton' ) ); 57 echo $Form->inputend.$Form->fieldend; 58 59 $Form->end_fieldset();; 60 61 $Form->end_form(); 62 63 require dirname(__FILE__).'/_html_footer.inc.php'; 64 65 /* 66 * $Log: _lostpass_form.main.php,v $ 67 * Revision 1.2 2007/11/01 19:52:13 fplanque 68 * UI 69 * 70 * Revision 1.1 2007/06/25 11:02:37 fplanque 71 * MODULES (refactored MVC) 72 * 73 * Revision 1.12 2007/04/26 00:11:10 fplanque 74 * (c) 2007 75 * 76 * Revision 1.11 2007/01/20 01:44:43 blueyed 77 * removed done todo 78 * 79 * Revision 1.10 2007/01/19 03:06:56 fplanque 80 * Changed many little thinsg in the login procedure. 81 * There may be new bugs, sorry. I tested this for several hours though. 82 * More refactoring to be done. 83 * 84 * Revision 1.9 2006/11/24 18:27:26 blueyed 85 * Fixed link to b2evo CVS browsing interface in file docblocks 86 * 87 * Revision 1.8 2006/10/15 21:30:46 blueyed 88 * Use url_rel_to_same_host() for redirect_to params. 89 * 90 * Revision 1.7 2006/06/25 23:34:15 blueyed 91 * wording pt2 92 * 93 * Revision 1.6 2006/06/25 23:23:38 blueyed 94 * wording 95 * 96 * Revision 1.5 2006/06/22 22:30:04 blueyed 97 * htsrv url for password related scripts (login, register and profile update) 98 * 99 * Revision 1.4 2006/04/27 21:49:55 blueyed 100 * todo 101 * 102 * Revision 1.3 2006/04/24 20:52:31 fplanque 103 * no message 104 * 105 * Revision 1.2 2006/04/19 20:13:52 fplanque 106 * do not restrict to :// (does not catch subdomains, not even www.) 107 * 108 */ 109 ?>
titre
Description
Corps
titre
Description
Corps
titre
Description
Corps
titre
Corps
Généré le : Thu Nov 29 23:58:50 2007 | par Balluche grâce à PHPXref 0.7 |
![]() |