? _13148_cleanup.patch ? files ? modules/api ? modules/devel ? modules/flexinode ? modules/game ? sites/morbus.totalnetnh.net.drupal Index: includes/theme.inc =================================================================== RCS file: /cvs/drupal/drupal/includes/theme.inc,v retrieving revision 1.280 diff -u -p -r1.280 theme.inc --- includes/theme.inc 29 Jan 2006 07:36:29 -0000 1.280 +++ includes/theme.inc 30 Jan 2006 20:13:41 -0000 @@ -308,19 +308,19 @@ function theme_get_setting($setting_name } if ($settings['toggle_favicon']) { + $settings['favicon'] = $base_path; if ($settings['default_favicon']) { if (file_exists($favicon = dirname($theme_object->filename) .'/favicon.ico')) { - $settings['favicon'] = $favicon; + $settings['favicon'] .= $favicon; } else { - $settings['favicon'] = 'misc/favicon.ico'; + $settings['favicon'] .= 'misc/favicon.ico'; } } elseif ($settings['favicon_path']) { - $settings['favicon'] = $settings['favicon_path']; + $settings['favicon'] .= $settings['favicon_path']; } } - } return isset($settings[$setting_name]) ? $settings[$setting_name] : NULL; @@ -427,9 +427,10 @@ function theme_page($content) { } function theme_maintenance_page($content) { + global $base_path; drupal_set_header('Content-Type: text/html; charset=utf-8'); theme('add_style', 'misc/maintenance.css'); - drupal_set_html_head(''); + drupal_set_html_head(''); $output = "\n"; $output .= ''; $output .= '
'; @@ -634,7 +635,6 @@ function theme_form_element($title, $val return $output; } - /** * Return a themed submenu, typically displayed under the tabs. * Index: themes/chameleon/chameleon.theme =================================================================== RCS file: /cvs/drupal/drupal/themes/chameleon/chameleon.theme,v retrieving revision 1.38 diff -u -p -r1.38 chameleon.theme --- themes/chameleon/chameleon.theme 20 Jan 2006 08:54:06 -0000 1.38 +++ themes/chameleon/chameleon.theme 30 Jan 2006 20:13:41 -0000 @@ -22,6 +22,7 @@ function chameleon_regions() { } function chameleon_page($content) { + global $base_path; $language = $GLOBALS['locale']; if (theme_get_setting('toggle_favicon')) { @@ -35,14 +36,14 @@ function chameleon_page($content) { $output .= "\n"; $output .= "