Source for file mod_top_pages.php
Documentation is available at mod_top_pages.php
* Copyright (c) 2004 bitweaver.org
* Copyright (c) 2003 tikwiki.org
* Copyright (c) 2002-2003, Luis Argerich, Garland Foster, Eduardo Polidor, et. al.
* All Rights Reserved. See below for details and a complete list of authors.
* Licensed under the GNU LESSER GENERAL PUBLIC LICENSE. See http://www.gnu.org/copyleft/lesser.html for details
require_once( WIKI_PKG_PATH. 'BitPage.php' );
global $gQueryUser, $module_rows, $module_params;
'max_records' => $module_rows,
'sort_mode' => 'hits_desc',
'user_id' => !empty( $module_params['user_pages'] ) ? $gQueryUser->mUserId : NULL,
$modRank = $modWiki->getList( $listHash );
$_template->tpl_vars['modTopPages'] = new Smarty_variable( $modRank );
|