--- artistsC01.theme.old 2008-09-15 14:59:28.794661000 -0700 +++ artistsC01.theme 2008-09-15 15:00:02.513053000 -0700 @@ -123,20 +123,18 @@ function artistsC01_settings() { */ function artistsC01_get_logo($colorScheme=NULL) { //get theme settings - $settings = variable_get('theme_artistsC01_settings',array()); - - $logo = $settings['logo']; + $logo = theme_get_setting('logo'); // get color scheme if (! $colorScheme ) { - $colorScheme = $settings['artistsC01_colorScheme']; + $colorScheme = theme_get_setting('artistsC01_colorScheme'); if (!isset($colorScheme)) { $colorScheme = 'blueLagoon'; } } - if ($settings['toggle_logo']) { - if ($settings['default_logo']) { + if (theme_get_setting('toggle_logo')) { + if (theme_get_setting('default_logo')) { $logo = base_path() . drupal_get_path('theme', 'artistsC01') . '/images/logo_' . $colorScheme . '.png'; } }