Permalink
Browse files

'added the body class notloggedin to be able to style pages different…

… before loggin'
  • Loading branch information...
1 parent ac39fae commit 367e23c2136b488832ec998544bc80b6d320e7cb urs_hunkler committed Jan 10, 2007
Showing with 4 additions and 0 deletions.
  1. +4 −0 lib/weblib.php
View
@@ -2199,6 +2199,10 @@ function print_header ($title='', $heading='', $navigation='', $focus='',
$pageclass .= ' course-'.SITEID;
}
+ if (!isloggedin()) {
+ $pageclass .= ' notloggedin';
+ }
+
if (!empty($USER->editing)) {
$pageclass .= ' editing';
}

0 comments on commit 367e23c

Please sign in to comment.