summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorMax Kremmel <xing@synapse.plus.com>2007-04-04 14:31:32 +0000
committerMax Kremmel <xing@synapse.plus.com>2007-04-04 14:31:32 +0000
commitfab0348c3a8259b16a7bf4f59c5f8c38b0d7b1d8 (patch)
tree6f60bab9fdd091fa089029bf05b39da5d24f28a7 /modules
parent85d5d2ac736b38a7cedfedfe44e60f7d300e98b8 (diff)
downloadthemes-fab0348c3a8259b16a7bf4f59c5f8c38b0d7b1d8.tar.gz
themes-fab0348c3a8259b16a7bf4f59c5f8c38b0d7b1d8.tar.bz2
themes-fab0348c3a8259b16a7bf4f59c5f8c38b0d7b1d8.zip
move all style related code to BitThemes to further clean up the mess. all style related methods are now called using BitThemes instead of BitSystem
Diffstat (limited to 'modules')
-rw-r--r--modules/mod_switch_theme.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/mod_switch_theme.php b/modules/mod_switch_theme.php
index 12bce65..395d980 100644
--- a/modules/mod_switch_theme.php
+++ b/modules/mod_switch_theme.php
@@ -2,7 +2,7 @@
global $gBitThemes;
$change_theme = $gBitSystem->getConfig('users_themes');
$gBitSmarty->assign('change_theme', $change_theme);
-$style = $gBitSystem->getStyle();
+$style = $gBitThemes->getStyle();
if( $change_theme == 'y' ) {
if ($gBitUser->isValid() && $gBitSystem->getConfig('users_preferences') == 'y') {