mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 00:46:50 +02:00
Standard theme is the one to use! Everybody switch to it!! :-)
This commit is contained in:
parent
3e92eca303
commit
db70c04693
1 changed files with 1 additions and 1 deletions
|
@ -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 (empty($_SESSION['USER'])) { // Allow W3CValidator in as user called w3cvalidator (or guest)
|
||||||
if ((strpos($_SERVER['HTTP_USER_AGENT'], 'W3C_Validator') !== false) or
|
if ((strpos($_SERVER['HTTP_USER_AGENT'], 'W3C_Validator') !== false) or
|
||||||
(strpos($_SERVER['HTTP_USER_AGENT'], 'Cynthia') !== false )) {
|
(strpos($_SERVER['HTTP_USER_AGENT'], 'Cynthia') !== false )) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue