diff options
| author | Christian Fowler <spider@viovio.com> | 2008-06-25 22:21:28 +0000 |
|---|---|---|
| committer | Christian Fowler <spider@viovio.com> | 2008-06-25 22:21:28 +0000 |
| commit | 57c06511cdce3a1025f67f9fdfd84461e08f04b9 (patch) | |
| tree | 07845f9cafe4ca219e8caba28d590ab5c815628a /confirm.php | |
| parent | 4b6e8e44c20e202c1b89980f997ee0594c80118d (diff) | |
| download | users-57c06511cdce3a1025f67f9fdfd84461e08f04b9.tar.gz users-57c06511cdce3a1025f67f9fdfd84461e08f04b9.tar.bz2 users-57c06511cdce3a1025f67f9fdfd84461e08f04b9.zip | |
change display call to use a hash for display options, add display_mode to options hash
Diffstat (limited to 'confirm.php')
| -rw-r--r-- | confirm.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/confirm.php b/confirm.php index 1d7f8db..06791d0 100644 --- a/confirm.php +++ b/confirm.php @@ -1,6 +1,6 @@ <?php /** - * $Header: /cvsroot/bitweaver/_bit_users/confirm.php,v 1.6 2008/02/19 22:03:12 spiderr Exp $ + * $Header: /cvsroot/bitweaver/_bit_users/confirm.php,v 1.7 2008/06/25 22:21:28 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: confirm.php,v 1.6 2008/02/19 22:03:12 spiderr Exp $ + * $Id: confirm.php,v 1.7 2008/06/25 22:21:28 spiderr Exp $ * @package users * @subpackage functions */ @@ -24,7 +24,7 @@ if( !empty( $_REQUEST["v"] ) && strpos( $_REQUEST["v"], ':' ) ) { if( !empty( $userId ) && !empty( $provPass ) && $userInfo = $gBitUser->confirmRegistration( $userId, $provPass ) ) { $gBitSmarty->assign_by_ref( 'userInfo', $userInfo ); - $gBitSystem->display( 'bitpackage:users/change_password.tpl', 'Confrim Password Change' ); + $gBitSystem->display( 'bitpackage:users/change_password.tpl', 'Confrim Password Change' , array( 'display_mode' => 'display' )); } else { $gBitSystem->setHttpStatus( 410 ); $gBitSystem->fatalError( tra("This confirmation link is no longer valid. Please Login or <a href=\"".USERS_PKG_URL."remind_password.php\">request a new password change</a>") ); |
