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

This commit is contained in:
urs_hunkler 2007-01-10 14:10:45 +00:00
parent ac39fae94d
commit 367e23c213

View File

@ -2199,6 +2199,10 @@ function print_header ($title='', $heading='', $navigation='', $focus='',
$pageclass .= ' course-'.SITEID;
}
if (!isloggedin()) {
$pageclass .= ' notloggedin';
}
if (!empty($USER->editing)) {
$pageclass .= ' editing';
}