diff options
| author | Max Kremmel <xing@synapse.plus.com> | 2006-02-22 19:53:55 +0000 |
|---|---|---|
| committer | Max Kremmel <xing@synapse.plus.com> | 2006-02-22 19:53:55 +0000 |
| commit | 204fa91079f6fa3466a74efd158ff302f6358f31 (patch) | |
| tree | 98f4709cf2ba7f8cea23ae33721ed87026ba17c0 /list_pages.php | |
| parent | 5b598b31629f106429a4993e6f04329e806a66b9 (diff) | |
| download | wiki-204fa91079f6fa3466a74efd158ff302f6358f31.tar.gz wiki-204fa91079f6fa3466a74efd158ff302f6358f31.tar.bz2 wiki-204fa91079f6fa3466a74efd158ff302f6358f31.zip | |
use gContent instead of Content
Diffstat (limited to 'list_pages.php')
| -rw-r--r-- | list_pages.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/list_pages.php b/list_pages.php index 04299bc..8d13c9a 100644 --- a/list_pages.php +++ b/list_pages.php @@ -1,6 +1,6 @@ <?php /** - * $Header: /cvsroot/bitweaver/_bit_wiki/list_pages.php,v 1.7 2006/02/13 10:06:26 squareing Exp $ + * $Header: /cvsroot/bitweaver/_bit_wiki/list_pages.php,v 1.8 2006/02/22 19:53:55 squareing 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: list_pages.php,v 1.7 2006/02/13 10:06:26 squareing Exp $ + * $Id: list_pages.php,v 1.8 2006/02/22 19:53:55 squareing Exp $ * @package wiki * @subpackage functions */ @@ -92,9 +92,9 @@ if (isset($_REQUEST["find"])) { } $gBitSmarty->assign_by_ref('find', $find); // Get a list of last changes to the Wiki database -$Content = new BitPage(); +$gContent = new BitPage(); $sort_mode = preg_replace( '/^user_/', 'creator_user_', $sort_mode ); -$listpages = $Content->getList( $offset, $max_records, $sort_mode, $find, NULL, TRUE ); +$listpages = $gContent->getList( $offset, $max_records, $sort_mode, $find, NULL, TRUE ); // If there're more records then assign next_offset $cant_pages = ceil($listpages["cant"] / $max_records); $gBitSmarty->assign_by_ref('cant_pages', $cant_pages); |
