hasPermission( 'p_wiki_view_page' ) ) { require_once( WIKI_PKG_PATH.'BitPage.php' ); $wp = new BitPage(); $listHash = array( 'max_records' => $moduleParams['module_rows'], 'sort_mode' => 'last_modified_desc', 'user_id' => $gQueryUserId, ); $modLastModif = $wp->getList( $listHash ); $_template->tpl_vars['modLastModif'] = new Smarty_variable( $modLastModif ); $_template->tpl_vars['maxlen'] = new Smarty_variable( isset( $params["maxlen"] ) ); } ?>