summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorChristian Fowler <spider@viovio.com>2005-06-28 07:46:29 +0000
committerChristian Fowler <spider@viovio.com>2005-06-28 07:46:29 +0000
commit1ac5efd4760ea31cef14335c3ccb64ca256e75b5 (patch)
treec24ae459842c48b00389a0e23057ddace5837faf /modules
parent96a6e127788097951511b99264aa153b19b12f76 (diff)
downloadwiki-1ac5efd4760ea31cef14335c3ccb64ca256e75b5.tar.gz
wiki-1ac5efd4760ea31cef14335c3ccb64ca256e75b5.tar.bz2
wiki-1ac5efd4760ea31cef14335c3ccb64ca256e75b5.zip
Merge recent changes from R1 into HEAD
Diffstat (limited to 'modules')
-rw-r--r--modules/mod_breadcrumb.php18
-rw-r--r--modules/mod_comm_received_objects.php17
-rw-r--r--modules/mod_last_modif_pages.php16
-rw-r--r--modules/mod_random_pages.php14
-rw-r--r--modules/mod_top_pages.php17
-rw-r--r--modules/mod_wiki_last_comments.php24
6 files changed, 100 insertions, 6 deletions
diff --git a/modules/mod_breadcrumb.php b/modules/mod_breadcrumb.php
index 20f24a4..7118646 100644
--- a/modules/mod_breadcrumb.php
+++ b/modules/mod_breadcrumb.php
@@ -1,6 +1,20 @@
<?php
-/** $Header: /cvsroot/bitweaver/_bit_wiki/modules/Attic/mod_breadcrumb.php,v 1.1 2005/06/19 06:12:45 bitweaver Exp $
- * \param maxlen = max number of displayed characters for the page name
+/**
+ * $Header: /cvsroot/bitweaver/_bit_wiki/modules/Attic/mod_breadcrumb.php,v 1.2 2005/06/28 07:46:28 spiderr Exp $
+ *
+ * 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 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_breadcrumb.php,v 1.2 2005/06/28 07:46:28 spiderr Exp $
+ * @package wiki
+ * @subpackage modules
+ */
+
+/**
+ * @param maxlen = max number of displayed characters for the page name
*/
if (!isset($_SESSION["breadCrumb"])) {
$_SESSION["breadCrumb"] = array();
diff --git a/modules/mod_comm_received_objects.php b/modules/mod_comm_received_objects.php
index 28bde13..7824782 100644
--- a/modules/mod_comm_received_objects.php
+++ b/modules/mod_comm_received_objects.php
@@ -1,4 +1,21 @@
<?php
+/**
+ * $Header: /cvsroot/bitweaver/_bit_wiki/modules/mod_comm_received_objects.php,v 1.2 2005/06/28 07:46:28 spiderr Exp $
+ *
+ * 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 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_comm_received_objects.php,v 1.2 2005/06/28 07:46:28 spiderr Exp $
+ * @package wiki
+ * @subpackage modules
+ */
+
+/**
+ * required setup
+ */
require_once( WIKI_PKG_PATH.'BitPage.php' );
global $wikilib;
$ranking = $wikilib->list_received_pages(0, -1, $sort_mode = 'title_asc', '');
diff --git a/modules/mod_last_modif_pages.php b/modules/mod_last_modif_pages.php
index 2d92e5d..0fe445f 100644
--- a/modules/mod_last_modif_pages.php
+++ b/modules/mod_last_modif_pages.php
@@ -1,6 +1,22 @@
<?php
+/**
+ * $Header: /cvsroot/bitweaver/_bit_wiki/modules/mod_last_modif_pages.php,v 1.2 2005/06/28 07:46:28 spiderr Exp $
+ *
+ * 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 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_last_modif_pages.php,v 1.2 2005/06/28 07:46:28 spiderr Exp $
+ * @package wiki
+ * @subpackage modules
+ */
global $gQueryUserId, $module_rows, $module_params, $wikilib;
+/**
+ * required setup
+ */
require_once( WIKI_PKG_PATH.'BitPage.php' );
$ranking = $wikilib->getList(0, $module_rows, 'last_modified_desc', NULL, $gQueryUserId );
diff --git a/modules/mod_random_pages.php b/modules/mod_random_pages.php
index 9122420..4f8a9a0 100644
--- a/modules/mod_random_pages.php
+++ b/modules/mod_random_pages.php
@@ -1,5 +1,19 @@
<?php
+/**
+ * $Header: /cvsroot/bitweaver/_bit_wiki/modules/mod_random_pages.php,v 1.2 2005/06/28 07:46:28 spiderr Exp $
+ *
+ * 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 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_random_pages.php,v 1.2 2005/06/28 07:46:28 spiderr Exp $
+ * @package wiki
+ * @subpackage modules
+ */
global $wikilib;
+
$ranking = $wikilib->get_random_pages($module_rows);
$smarty->assign('modRandomPages', $ranking);
?> \ No newline at end of file
diff --git a/modules/mod_top_pages.php b/modules/mod_top_pages.php
index 09258dd..07e0b85 100644
--- a/modules/mod_top_pages.php
+++ b/modules/mod_top_pages.php
@@ -1,4 +1,21 @@
<?php
+/**
+ * $Header: /cvsroot/bitweaver/_bit_wiki/modules/mod_top_pages.php,v 1.2 2005/06/28 07:46:28 spiderr Exp $
+ *
+ * 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 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.2 2005/06/28 07:46:28 spiderr Exp $
+ * @package wiki
+ * @subpackage modules
+ */
+
+/**
+ * required setup
+ */
require_once( WIKI_PKG_PATH.'BitPage.php' );
global $wikilib;
diff --git a/modules/mod_wiki_last_comments.php b/modules/mod_wiki_last_comments.php
index 4b08932..022e74e 100644
--- a/modules/mod_wiki_last_comments.php
+++ b/modules/mod_wiki_last_comments.php
@@ -1,9 +1,25 @@
<?php
-//
-// $Header: /cvsroot/bitweaver/_bit_wiki/modules/mod_wiki_last_comments.php,v 1.1 2005/06/19 06:12:45 bitweaver Exp $
-// \brief Show last comments on wiki pages
-//
+/**
+ * $Header: /cvsroot/bitweaver/_bit_wiki/modules/mod_wiki_last_comments.php,v 1.2 2005/06/28 07:46:28 spiderr Exp $
+ *
+ * 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 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_wiki_last_comments.php,v 1.2 2005/06/28 07:46:28 spiderr Exp $
+ * @package wiki
+ * @subpackage modules
+ */
+
+/**
+ * Show last comments on wiki pages
+ */
global $gQueryUserId;
+/**
+ * required setup
+ */
require_once( LIBERTY_PKG_PATH.'LibertyComment.php' );
$cmt = new LibertyComment();
$lastComments = $cmt->getList( array( 'max_records' => $module_rows, 'user_id' => $gQueryUserId, 'content_type_guid' => BITPAGE_CONTENT_TYPE_GUID ) );