summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorlaetzer <laetzer@users.sourceforge.net>2008-08-26 13:03:15 +0000
committerlaetzer <laetzer@users.sourceforge.net>2008-08-26 13:03:15 +0000
commit0158e8c02c5847a3a72836b7644271c58819a405 (patch)
treedc48532cea17a53436bd97f5f5d45d8eed70e3a1 /modules
parent61268356f00abcc1236e79b125a0b4ee636eff46 (diff)
downloadwiki-0158e8c02c5847a3a72836b7644271c58819a405.tar.gz
wiki-0158e8c02c5847a3a72836b7644271c58819a405.tar.bz2
wiki-0158e8c02c5847a3a72836b7644271c58819a405.zip
determines the number of rows to show
Diffstat (limited to 'modules')
-rw-r--r--modules/mod_top_pages.php6
1 files changed, 4 insertions, 2 deletions
diff --git a/modules/mod_top_pages.php b/modules/mod_top_pages.php
index 5ded597..9269fa3 100644
--- a/modules/mod_top_pages.php
+++ b/modules/mod_top_pages.php
@@ -1,6 +1,6 @@
<?php
/**
- * $Header: /cvsroot/bitweaver/_bit_wiki/modules/mod_top_pages.php,v 1.8 2007/03/07 18:48:45 squareing Exp $
+ * $Header: /cvsroot/bitweaver/_bit_wiki/modules/mod_top_pages.php,v 1.9 2008/08/26 13:03:15 laetzer 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: mod_top_pages.php,v 1.8 2007/03/07 18:48:45 squareing Exp $
+ * $Id: mod_top_pages.php,v 1.9 2008/08/26 13:03:15 laetzer Exp $
* @package wiki
* @subpackage modules
*/
@@ -19,6 +19,8 @@
require_once( WIKI_PKG_PATH.'BitPage.php' );
global $gQueryUser, $module_rows, $module_params;
+extract( $moduleParams );
+
if( $gBitUser->hasPermission( 'p_wiki_view_page' ) ) {
$modWiki = new BitPage();
$listHash = array(