summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorLester Caine <lester@lsces.co.uk>2007-06-22 10:16:09 +0000
committerLester Caine <lester@lsces.co.uk>2007-06-22 10:16:09 +0000
commit48bdfa86cb994e35d689508ed378e33c2e2d2693 (patch)
treea68d9423a8d2034d57beafb9862e78fa9543e4ae /modules
parentdcc32ee052636f6aa0a0ede23ae99b4b700634e9 (diff)
downloadliberty-48bdfa86cb994e35d689508ed378e33c2e2d2693.tar.gz
liberty-48bdfa86cb994e35d689508ed378e33c2e2d2693.tar.bz2
liberty-48bdfa86cb994e35d689508ed378e33c2e2d2693.zip
Add phpdoc comment blocks
Diffstat (limited to 'modules')
-rw-r--r--modules/mod_last_comments.php9
-rw-r--r--modules/mod_structure_toc.php11
2 files changed, 18 insertions, 2 deletions
diff --git a/modules/mod_last_comments.php b/modules/mod_last_comments.php
index a16fce8..81a463b 100644
--- a/modules/mod_last_comments.php
+++ b/modules/mod_last_comments.php
@@ -1,4 +1,13 @@
<?php
+/**
+ * @version $Header: /cvsroot/bitweaver/_bit_liberty/modules/mod_last_comments.php,v 1.3 2007/06/22 10:16:09 lsces Exp $
+ * @package liberty
+ * @subpackage modules
+ */
+
+/**
+ * Initial Setup
+ */
require_once( LIBERTY_PKG_PATH.'LibertyComment.php' );
global $gQueryUser, $gBitUser, $gLibertySystem, $moduleParams;
$params = $moduleParams['module_params'];
diff --git a/modules/mod_structure_toc.php b/modules/mod_structure_toc.php
index f109a62..6496629 100644
--- a/modules/mod_structure_toc.php
+++ b/modules/mod_structure_toc.php
@@ -1,10 +1,14 @@
<?php
-// $Header: /cvsroot/bitweaver/_bit_liberty/modules/mod_structure_toc.php,v 1.5 2007/05/20 19:45:06 spiderr Exp $
/**
- * Params:
+ * @version $Header: /cvsroot/bitweaver/_bit_liberty/modules/mod_structure_toc.php,v 1.6 2007/06/22 10:16:09 lsces Exp $
+ *
* @package liberty
* @subpackage modules
*/
+
+/**
+ * Initial Setup
+ */
global $gStructure, $gContent;
$struct = NULL;
if( is_object( $gContent ) && ( empty( $gStructure ) || !$gStructure->isValid() ) ) {
@@ -22,3 +26,6 @@ if( is_object( $struct ) && count( $struct->isValid() ) ) {
$gBitSmarty->assign( 'modStructureTOC', $struct->getToc( $struct->mInfo['root_structure_id'] ) );
}
?>
+
+
+