Bless standardwhite for testing too

This commit is contained in:
moodler
2005-03-23 16:49:03 +00:00
parent a3b3afd1b5
commit 8d62ca684c
+1 -1
View File
@@ -363,7 +363,7 @@ global $THEME;
}
}
if ($CFG->theme == 'standard') { // Temporary measure to help with XHTML validation
if ($CFG->theme == 'standard' or $CFG->theme == 'standardwhite') { // 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 )) {