summaryrefslogtreecommitdiff
path: root/page_history.php
diff options
context:
space:
mode:
authorwjames5 <will@tekimaki.com>2007-06-01 18:06:03 +0000
committerwjames5 <will@tekimaki.com>2007-06-01 18:06:03 +0000
commitc62da2621443b0f23b7a4ceb555dae6ebb515180 (patch)
tree91ea30430ab3f0aa245addbe45b8475c1324626a /page_history.php
parent23367ecade09f1a679094707eb39ec5ff920516a (diff)
downloadwiki-c62da2621443b0f23b7a4ceb555dae6ebb515180.tar.gz
wiki-c62da2621443b0f23b7a4ceb555dae6ebb515180.tar.bz2
wiki-c62da2621443b0f23b7a4ceb555dae6ebb515180.zip
update to use standard liberty history inc
Diffstat (limited to 'page_history.php')
-rw-r--r--page_history.php10
1 files changed, 8 insertions, 2 deletions
diff --git a/page_history.php b/page_history.php
index b27a960..a6f917b 100644
--- a/page_history.php
+++ b/page_history.php
@@ -1,6 +1,6 @@
<?php
/**
- * $Header: /cvsroot/bitweaver/_bit_wiki/page_history.php,v 1.19 2007/05/21 18:51:50 lsces Exp $
+ * $Header: /cvsroot/bitweaver/_bit_wiki/page_history.php,v 1.20 2007/06/01 18:06:03 wjames5 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.19 2007/05/21 18:51:50 lsces Exp $
+ * $Id: page_history.php,v 1.20 2007/06/01 18:06:03 wjames5 Exp $
* @package wiki
* @subpackage functions
*/
@@ -34,6 +34,11 @@ if( !$gContent->isValid() || empty( $gContent->mInfo ) ) {
$page_id = $_REQUEST['page_id'];
+$smartyContentRef = 'pageInfo';
+
+include_once( LIBERTY_PKG_PATH.'content_history_inc.php' );
+
+/* SLATED FOR REMOVAL - SCRIPT MOVED TO LIBERTY:content_history_inc.php
$gBitSmarty->assign('source', 0);
// If we have to include a preview please show it
$gBitSmarty->assign('preview', false);
@@ -86,6 +91,7 @@ if (isset($_REQUEST["delete"]) && isset($_REQUEST["hist"])) {
$gBitSmarty->assign_by_ref('version', $_REQUEST["preview"]);
}
}
+*/
// pagination stuff
$gBitSmarty->assign( 'page', $page = !empty( $_REQUEST['list_page'] ) ? $_REQUEST['list_page'] : 1 );