diff options
| author | Max Kremmel <xing@synapse.plus.com> | 2006-02-13 10:06:20 +0000 |
|---|---|---|
| committer | Max Kremmel <xing@synapse.plus.com> | 2006-02-13 10:06:20 +0000 |
| commit | 64bde9fa3635cbcc1149c542db757a046dc2a390 (patch) | |
| tree | 330da186fab5bc8276013993410a9d375b029fd9 /modules | |
| parent | 2b28d788bbbec877da96a92b789da1d1131595b5 (diff) | |
| download | themes-64bde9fa3635cbcc1149c542db757a046dc2a390.tar.gz themes-64bde9fa3635cbcc1149c542db757a046dc2a390.tar.bz2 themes-64bde9fa3635cbcc1149c542db757a046dc2a390.zip | |
another batch of kernel_prefs name cleanup. this should be it
Diffstat (limited to 'modules')
| -rw-r--r-- | modules/mod_switch_theme.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/mod_switch_theme.php b/modules/mod_switch_theme.php index 00cf665..5dd5f6d 100644 --- a/modules/mod_switch_theme.php +++ b/modules/mod_switch_theme.php @@ -1,5 +1,5 @@ <?php -$change_theme = $gBitSystem->getPreference('feature_user_theme'); +$change_theme = $gBitSystem->getPreference('users_themes'); $gBitSmarty->assign('change_theme', $change_theme); $style = $gBitSystem->getStyle(); @@ -7,7 +7,7 @@ if( $change_theme == 'y' ) { if (isset($_COOKIE['tiki-theme'])) { $style = $_COOKIE['tiki-theme']; } - if ($gBitUser->isValid() && $gBitSystem->getPreference('feature_user_preferences') == 'y') { + if ($gBitUser->isValid() && $gBitSystem->getPreference('users_preferences') == 'y') { $userStyle = $gBitUser->getPreference('theme'); $style = empty($userStyle) ? $style : $userStyle; } |
