wiki
[ class tree: wiki ] [ index: wiki ] [ all elements ]

Source for file mod_recent_page_changes.php

Documentation is available at mod_recent_page_changes.php

  1. <?php
  2. /**
  3.  * Copyright (c) 2004 bitweaver.org
  4.  * Copyright (c) 2003 tikwiki.org
  5.  * Copyright (c) 2002-2003, Luis Argerich, Garland Foster, Eduardo Polidor, et. al.
  6.  * All Rights Reserved. See below for details and a complete list of authors.
  7.  * Licensed under the GNU LESSER GENERAL PUBLIC LICENSE. See http://www.gnu.org/copyleft/lesser.html for details
  8.  *
  9.  * @package wiki
  10.  * @subpackage modules
  11.  */
  12. global $gQueryUserId$moduleParams;
  13. $params $moduleParams['module_params'];
  14.  
  15. /**
  16.  * required setup
  17.  */
  18.  
  19. if$gBitUser->hasPermission'p_wiki_view_page' ) ) {
  20.     require_onceWIKI_PKG_PATH.'BitPage.php' );
  21.     $wp new BitPage();
  22.  
  23.     $listHash array(
  24.         'max_records' => $moduleParams['module_rows'],
  25.         'sort_mode' => 'last_modified_desc',
  26.         'user_id' => $gQueryUserId,
  27.     );
  28.     $modLastModif $wp->getList$listHash );
  29.  
  30.     $_template->tpl_vars['modLastModif'new Smarty_variable$modLastModif );
  31.     $_template->tpl_vars['maxlen'new Smarty_variableisset$params["maxlen") );
  32. }
  33. ?>

Documentation generated on Wed, 29 Jul 2015 13:57:11 +0000 by phpDocumentor 1.5.0-lsces