mirror of
https://github.com/moodle/moodle.git
synced 2025-08-03 16:13:28 +02:00
More accessible log in button up top
This commit is contained in:
parent
b1a1b00aa6
commit
a325bd2bf6
1 changed files with 6 additions and 1 deletions
|
@ -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);
|
||||
|
||||
|
||||
?>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue