diff options
| author | Lester Caine <lester@lsces.co.uk> | 2006-02-06 21:35:17 +0000 |
|---|---|---|
| committer | Lester Caine <lester@lsces.co.uk> | 2006-02-06 21:35:17 +0000 |
| commit | 546e2f09b92a59f52c123668a02d6f5abe635a09 (patch) | |
| tree | 107b1923cf2f7d3d3d1ffb6bdad23aa2eb803a74 | |
| parent | 8ab2040a75a2eee89ceaf9c0cf5681ef5017f350 (diff) | |
| download | users-546e2f09b92a59f52c123668a02d6f5abe635a09.tar.gz users-546e2f09b92a59f52c123668a02d6f5abe635a09.tar.bz2 users-546e2f09b92a59f52c123668a02d6f5abe635a09.zip | |
Change ["control"] to ['listInfo']
| -rw-r--r-- | admin/index.php | 10 | ||||
| -rw-r--r-- | index.php | 20 |
2 files changed, 15 insertions, 15 deletions
diff --git a/admin/index.php b/admin/index.php index 848ba01..d4431ef 100644 --- a/admin/index.php +++ b/admin/index.php @@ -1,5 +1,5 @@ <?php -// $Header: /cvsroot/bitweaver/_bit_users/admin/index.php,v 1.6 2005/09/03 10:22:20 squareing Exp $ +// $Header: /cvsroot/bitweaver/_bit_users/admin/index.php,v 1.7 2006/02/06 21:35:17 lsces Exp $ // Copyright (c) 2002-2003, Luis Argerich, Garland Foster, Eduardo Polidor, et. al. // 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. @@ -147,11 +147,11 @@ $gBitUser->getList( $_REQUEST ); $gBitSmarty->assign_by_ref('users', $_REQUEST["data"]); $gBitSmarty->assign_by_ref('usercount', $_REQUEST["cant"]); if (isset($_REQUEST["numrows"])) - $_REQUEST["control"]["numrows"] = $_REQUEST["numrows"]; + $_REQUEST['listInfo']["numrows"] = $_REQUEST["numrows"]; else - $_REQUEST["control"]["numrows"] = 10; -$_REQUEST["control"]["URL"] = USERS_PKG_URL."admin/index.php"; -$gBitSmarty->assign_by_ref('control', $_REQUEST["control"]); + $_REQUEST['listInfo']["numrows"] = 10; +$_REQUEST['listInfo']["URL"] = USERS_PKG_URL."admin/index.php"; +$gBitSmarty->assign_by_ref('control', $_REQUEST['listInfo']); $gBitUser->invokeServices( 'content_edit_function' ); @@ -1,6 +1,6 @@ <?php /** - * $Header: /cvsroot/bitweaver/_bit_users/index.php,v 1.12 2006/02/06 00:12:08 squareing Exp $ + * $Header: /cvsroot/bitweaver/_bit_users/index.php,v 1.13 2006/02/06 21:35:17 lsces 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: index.php,v 1.12 2006/02/06 00:12:08 squareing Exp $ + * $Id: index.php,v 1.13 2006/02/06 21:35:17 lsces Exp $ * @package users * @subpackage functions */ @@ -75,11 +75,11 @@ if( !empty( $_REQUEST['home'] ) && ($gBitUser->hasPermission( 'bit_p_view_user_h $gBitSmarty->assign_by_ref('users', $_REQUEST["data"]); $gBitSmarty->assign_by_ref('usercount', $_REQUEST["cant"]); if (isset($_REQUEST["numrows"])) - $_REQUEST["control"]["numrows"] = $_REQUEST["numrows"]; + $_REQUEST['listInfo']["numrows"] = $_REQUEST["numrows"]; else - $_REQUEST["control"]["numrows"] = 50; - $_REQUEST["control"]["URL"] = USERS_PKG_URL."index.php"; - $gBitSmarty->assign_by_ref('control', $_REQUEST["control"]); + $_REQUEST['listInfo']["numrows"] = 50; + $_REQUEST['listInfo']["URL"] = USERS_PKG_URL."index.php"; + $gBitSmarty->assign_by_ref('control', $_REQUEST['listInfo']); $centerDisplay = 'bitpackage:users/index_list.tpl'; $browserTitle = $gBitSystem->getPreference( 'site_title' ).' '.tra( 'Members' ); } elseif( !$gBitSystem->isFeatureActive( 'users_homepages' ) ) { @@ -88,11 +88,11 @@ if( !empty( $_REQUEST['home'] ) && ($gBitUser->hasPermission( 'bit_p_view_user_h $gBitSmarty->assign_by_ref('users', $_REQUEST["data"]); $gBitSmarty->assign_by_ref('usercount', $_REQUEST["cant"]); if (isset($_REQUEST["numrows"])) - $_REQUEST["control"]["numrows"] = $_REQUEST["numrows"]; + $_REQUEST['listInfo']["numrows"] = $_REQUEST["numrows"]; else - $_REQUEST["control"]["numrows"] = 50; - $_REQUEST["control"]["URL"] = USERS_PKG_URL."index.php"; - $gBitSmarty->assign_by_ref('control', $_REQUEST["control"]); + $_REQUEST['listInfo']["numrows"] = 50; + $_REQUEST['listInfo']["URL"] = USERS_PKG_URL."index.php"; + $gBitSmarty->assign_by_ref('control', $_REQUEST['listInfo']); $centerDisplay = 'bitpackage:users/index_list.tpl'; $browserTitle = $gBitSystem->getPreference( 'site_title' ).' '.tra( 'Members' ); } else { |
