summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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'] ) );
}
?>
+
+
+