Commit a325bd2b authored by martin's avatar martin
Browse files

More accessible log in button up top

parent b1a1b00a
......@@ -8,9 +8,14 @@
redirect("$CFG->wwwroot/admin/");
}
if ($USER) {
$headerbutton = update_course_icon($site->id);
} else {
$headerbutton = "<FONT SIZE=2><A HREF=\"login/\">Log in</A></FONT>";
}
print_header("$site->fullname", "$site->fullname", "", "",
"<META NAME=\"Description\" CONTENT=\"".stripslashes(strip_tags($site->summary))."\">",
true, update_course_icon($site->id));
true, $headerbutton);
?>
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment