IMPORTANT NEW FEATURE FOR CSS
print_header now produces a unique CSS class and id for each page, allowing targeting of styles for any module or page.
This commit is contained in:
+1
-1
@@ -358,7 +358,7 @@ global $THEME;
|
||||
}
|
||||
}
|
||||
|
||||
if ($CFG->theme == 'standardxhtml') { // Temporary measure to help with XHTML validation
|
||||
if (stripos($CFG->theme, 'xhtml') !== false ) { // 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 )) {
|
||||
|
||||
Reference in New Issue
Block a user