Skip to content

Commit

Permalink
More accessible log in button up top
Browse files Browse the repository at this point in the history
  • Loading branch information
martin committed Jun 16, 2002
1 parent b1a1b00 commit a325bd2
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion index.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);


?>
Expand Down

0 comments on commit a325bd2

Please sign in to comment.