diff options
| author | Lester Caine <lester@lsces.co.uk> | 2007-05-21 18:51:51 +0000 |
|---|---|---|
| committer | Lester Caine <lester@lsces.co.uk> | 2007-05-21 18:51:51 +0000 |
| commit | 9a97b194383df13a7c24ef5a5b3c2fa80fdf978a (patch) | |
| tree | f1db842c196422b0877cc24197ddb73859647ad5 /page_history.php | |
| parent | 7b1edaa34f758684f8d52d3f20e964644ca345bf (diff) | |
| download | wiki-9a97b194383df13a7c24ef5a5b3c2fa80fdf978a.tar.gz wiki-9a97b194383df13a7c24ef5a5b3c2fa80fdf978a.tar.bz2 wiki-9a97b194383df13a7c24ef5a5b3c2fa80fdf978a.zip | |
Operational fixes for history page with listInfo controls for pagination
Still needs further tidying to feed hash to getHistory
Diffstat (limited to 'page_history.php')
| -rw-r--r-- | page_history.php | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/page_history.php b/page_history.php index a3f7c56..b27a960 100644 --- a/page_history.php +++ b/page_history.php @@ -1,6 +1,6 @@ <?php /** - * $Header: /cvsroot/bitweaver/_bit_wiki/page_history.php,v 1.18 2007/04/23 09:36:32 squareing Exp $ + * $Header: /cvsroot/bitweaver/_bit_wiki/page_history.php,v 1.19 2007/05/21 18:51:50 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: page_history.php,v 1.18 2007/04/23 09:36:32 squareing Exp $ + * $Id: page_history.php,v 1.19 2007/05/21 18:51:50 lsces Exp $ * @package wiki * @subpackage functions */ @@ -91,8 +91,7 @@ if (isset($_REQUEST["delete"]) && isset($_REQUEST["hist"])) { $gBitSmarty->assign( 'page', $page = !empty( $_REQUEST['list_page'] ) ? $_REQUEST['list_page'] : 1 ); $offset = ( $page - 1 ) * $gBitSystem->getConfig( 'max_records' ); $history = $gContent->getHistory( NULL, NULL, $offset, $gBitSystem->getConfig( 'max_records' ) ); -$gContent->postGetList($history); -$gBitSmarty->assign_by_ref( 'history', $history ); +$gBitSmarty->assign_by_ref( 'data', $history['data'] ); $gBitSmarty->assign_by_ref( 'listInfo', $history['listInfo'] ); // Display the template |
