summaryrefslogtreecommitdiff
path: root/remind_password.php
diff options
context:
space:
mode:
Diffstat (limited to 'remind_password.php')
-rw-r--r--remind_password.php11
1 files changed, 6 insertions, 5 deletions
diff --git a/remind_password.php b/remind_password.php
index 78532cc..f91625d 100644
--- a/remind_password.php
+++ b/remind_password.php
@@ -1,6 +1,6 @@
<?php
/**
- * $Header: /cvsroot/bitweaver/_bit_users/remind_password.php,v 1.15 2006/08/23 08:29:29 jht001 Exp $
+ * $Header: /cvsroot/bitweaver/_bit_users/remind_password.php,v 1.16 2006/09/12 19:26:48 spiderr Exp $
*
* Copyright (c) 2004 bitweaver.org
* Copyright (c) 2003 tikwiki.org
@@ -8,7 +8,7 @@
* All Rights Reserved. See copyright.txt for details and a complete list of authors.
* Licensed under the GNU LESSER GENERAL PUBLIC LICENSE. See license.txt for details
*
- * $Id: remind_password.php,v 1.15 2006/08/23 08:29:29 jht001 Exp $
+ * $Id: remind_password.php,v 1.16 2006/09/12 19:26:48 spiderr Exp $
* @package users
* @subpackage functions
*/
@@ -40,8 +40,9 @@ if( $gBitUser->isRegistered() ) {
$foo = parse_url($_SERVER["REQUEST_URI"]);
$foo1=str_replace("remind_password","confirm",$foo["path"]);
$machine = httpPrefix().$foo1;
- $gBitSmarty->assign('mail_machine',$machine);
- $gBitSmarty->assign('mail_provpass', $provpass);
+ $gBitSmarty->assign( 'mail_machine', $machine );
+ $gBitSmarty->assign( 'mailProvPass', $provpass );
+ $gBitSmarty->assign( 'mailUserId', $userInfo['user_id'] );
$tmp['success'] = tra("Information to reset your password has been sent ");
}
$tmp['success'] .= tra("to the registered email address for")." " . $_REQUEST["username"] . ".";
@@ -61,5 +62,5 @@ if( $gBitUser->isRegistered() ) {
$gBitSmarty->assign('msg', $tmp);
}
// Display the template
-$gBitSystem->display( 'bitpackage:users/remind_password.tpl');
+$gBitSystem->display( 'bitpackage:users/remind_password.tpl', 'Request New Password' );
?>