summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorMax Kremmel <xing@synapse.plus.com>2007-04-02 18:55:00 +0000
committerMax Kremmel <xing@synapse.plus.com>2007-04-02 18:55:00 +0000
commit7dfa9a3dd5d6dd1d589778e3f53b225218c10c08 (patch)
treef8ab2fb4aa2ccab810d337bd556f531371cfffa2 /modules
parent888f1bed23a9c6ea8670af76b65ce9ee12bd8a9b (diff)
downloadliberty-7dfa9a3dd5d6dd1d589778e3f53b225218c10c08.tar.gz
liberty-7dfa9a3dd5d6dd1d589778e3f53b225218c10c08.tar.bz2
liberty-7dfa9a3dd5d6dd1d589778e3f53b225218c10c08.zip
Massive changes to themes layout engine:
- merged 3 tables into 1 and removed user-specific layout contol. - moved all layout related code to themes/BitThemes.php. - cleaned up module parameter assignment to module php and tpl files. - improved layout of layout page by enabling all option editing at once. - removed limitation that every module can only be assigned once - more changes, but i can't remember all just now.
Diffstat (limited to 'modules')
-rw-r--r--modules/mod_last_changes.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/modules/mod_last_changes.php b/modules/mod_last_changes.php
index 2499098..ef840ad 100644
--- a/modules/mod_last_changes.php
+++ b/modules/mod_last_changes.php
@@ -1,6 +1,6 @@
<?php
/**
- * @version $Header: /cvsroot/bitweaver/_bit_liberty/modules/mod_last_changes.php,v 1.10 2007/03/02 11:15:10 squareing Exp $
+ * @version $Header: /cvsroot/bitweaver/_bit_liberty/modules/mod_last_changes.php,v 1.11 2007/04/02 18:55:00 squareing Exp $
* @package liberty
* @subpackage modules
* Params:
@@ -11,8 +11,8 @@
/**
* Initialization
*/
-global $gQueryUser, $gBitUser, $module_rows, $module_params, $gLibertySystem, $module_title;
-
+global $gQueryUser, $gBitUser, $gLibertySystem, $moduleParams;
+extract( $moduleParams );
$userId = NULL;
if( !empty( $gQueryUser->mUserId ) ) {
@@ -25,7 +25,7 @@ if( empty( $module_title ) ) {
} else {
$title = tra( "Last Changes" );
}
- $gBitSmarty->assign( 'moduleTitle', $title );
+ $moduleParams['title'] = $title;
}
if( !empty( $module_params['show_date'] ) ) {