From: moodler Date: Tue, 25 Jan 2005 13:22:18 +0000 (+0000) Subject: Standard theme is the one to use! Everybody switch to it!! :-) X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=db70c046935e92b145716d82ac368a2060a8184d;p=moodle.git Standard theme is the one to use! Everybody switch to it!! :-) --- diff --git a/lib/setup.php b/lib/setup.php index ca2995f74e..fff77cbdb1 100644 --- a/lib/setup.php +++ b/lib/setup.php @@ -358,7 +358,7 @@ global $THEME; } } - if (stripos($CFG->theme, 'xhtml') !== false ) { // Temporary measure to help with XHTML validation + if ($CFG->theme == 'standard') { // Temporary measure to help with XHTML validation if (empty($_SESSION['USER'])) { // 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 )) {