From: martin Date: Sun, 16 Jun 2002 03:25:10 +0000 (+0000) Subject: More accessible log in button up top X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=a325bd2bf62c09672f2bd55e31a9b6f4067ffa28;p=moodle.git More accessible log in button up top --- diff --git a/index.php b/index.php index ed9dadb374..7df04482d9 100644 --- a/index.php +++ b/index.php @@ -8,9 +8,14 @@ redirect("$CFG->wwwroot/admin/"); } + if ($USER) { + $headerbutton = update_course_icon($site->id); + } else { + $headerbutton = "Log in"; + } print_header("$site->fullname", "$site->fullname", "", "", "summary))."\">", - true, update_course_icon($site->id)); + true, $headerbutton); ?>