diff --git a/lib/setup.php b/lib/setup.php index 9985a880a5b..2ea564e743b 100644 --- a/lib/setup.php +++ b/lib/setup.php @@ -794,7 +794,7 @@ unset($urlthemename); // Ensure a valid theme is set. if (!isset($CFG->theme)) { - $CFG->theme = 'standardwhite'; + $CFG->theme = 'standard'; } // Set language/locale of printed times. If user has chosen a language that @@ -838,7 +838,7 @@ unset($classname); if (!empty($CFG->debugvalidators) and !empty($CFG->guestloginbutton)) { - if ($CFG->theme == 'standard' or $CFG->theme == 'standardwhite') { // Temporary measure to help with XHTML validation + if ($CFG->theme == 'standard') { // Temporary measure to help with XHTML validation if (isset($_SERVER['HTTP_USER_AGENT']) and empty($USER->id)) { // Allow W3CValidator in as user called w3cvalidator (or guest) if ((strpos($_SERVER['HTTP_USER_AGENT'], 'W3C_Validator') !== false) or (strpos($_SERVER['HTTP_USER_AGENT'], 'Cynthia') !== false )) {