diff options
| author | Max Kremmel <xing@synapse.plus.com> | 2005-07-17 17:36:47 +0000 |
|---|---|---|
| committer | Max Kremmel <xing@synapse.plus.com> | 2005-07-17 17:36:47 +0000 |
| commit | b3f697de17baa39ed858e9c4979fe33869767fa6 (patch) | |
| tree | c5ef5c22283a7516be42de59bc49e6a25ea607c4 /display_bitpage_inc.php | |
| parent | 5d59979a8999836f5b1eb620dde8c33fa208a9ba (diff) | |
| download | wiki-b3f697de17baa39ed858e9c4979fe33869767fa6.tar.gz wiki-b3f697de17baa39ed858e9c4979fe33869767fa6.tar.bz2 wiki-b3f697de17baa39ed858e9c4979fe33869767fa6.zip | |
Merge recent changes from R1 to HEAD - never doing this again.
Diffstat (limited to 'display_bitpage_inc.php')
| -rw-r--r-- | display_bitpage_inc.php | 19 |
1 files changed, 9 insertions, 10 deletions
diff --git a/display_bitpage_inc.php b/display_bitpage_inc.php index 00b6abf..3f66814 100644 --- a/display_bitpage_inc.php +++ b/display_bitpage_inc.php @@ -1,6 +1,6 @@ <?php /** - * $Header: /cvsroot/bitweaver/_bit_wiki/display_bitpage_inc.php,v 1.2 2005/06/28 07:46:27 spiderr Exp $ + * $Header: /cvsroot/bitweaver/_bit_wiki/display_bitpage_inc.php,v 1.3 2005/07/17 17:36:45 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: display_bitpage_inc.php,v 1.2 2005/06/28 07:46:27 spiderr Exp $ + * $Id: display_bitpage_inc.php,v 1.3 2005/07/17 17:36:45 squareing Exp $ * @package wiki * @subpackage functions */ @@ -210,15 +210,14 @@ $smarty->assign_by_ref('description',$gContent->mInfo["description"]); // Comments engine! if( $gBitSystem->isFeatureActive( 'feature_wiki_comments' ) ) { - $maxComments = $gBitSystem->getPreference( 'wiki_comments_per_page', 10 ); - $comments_default_ordering = $gBitSystem->getPreference( 'wiki_comments_default_ordering' ); - $comments_vars=Array('page'); - $comments_prefix_var='wiki page:'; - $comments_object_var='page'; - $commentsParentId = $gContent->mContentId; - $comments_return_url = WIKI_PKG_URL.'index.php?page_id='.$gContent->mPageId; - include_once( LIBERTY_PKG_PATH.'comments_inc.php' ); + $comments_vars = Array('page'); + $comments_prefix_var='wiki page:'; + $comments_object_var='page'; + $commentsParentId = $gContent->mContentId; + $comments_return_url = WIKI_PKG_URL.'index.php?page_id='.$gContent->mPageId; + include_once( LIBERTY_PKG_PATH.'comments_inc.php' ); } + $section='wiki'; if( $gBitSystem->isFeatureActive( 'feature_wiki_attachments' ) ) { if(isset($_REQUEST["removeattach"])) { |
