From f3ecd2c8da243eeec9a06ad98cee4612c2781512 Mon Sep 17 00:00:00 2001 From: martin Date: Wed, 5 Jun 2002 06:24:29 +0000 Subject: [PATCH] Slight interface tweaks --- course/lib.php | 4 ++-- course/log.php | 4 ++-- lib/weblib.php | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/course/lib.php b/course/lib.php index 5ac4831853..109f76a542 100644 --- a/course/lib.php +++ b/course/lib.php @@ -30,7 +30,7 @@ function print_log_selector_form($course, $selecteduser=0, $selecteddate="today" asort($users); // Get all the possible dates - $tt = getdate(time()); + $tt = usergetdate(time()); $timemidnight = $today = mktime (0, 0, 0, $tt["mon"], $tt["mday"], $tt["year"]); $dates = array("$today" => "Today, ".userdate($today, "j F Y") ); @@ -104,7 +104,7 @@ function print_log($course, $user=0, $date=0, $order="ORDER BY l.time ASC") { echo ""; echo "".userdate($log->time, "l").""; echo "".userdate($log->time, "j M Y, h:i A").""; - echo "$log->firstname $log->lastname"; + echo "ip\" HREF=\"../user/view.php?id=$log->user&course=$log->course\">$log->firstname $log->lastname"; echo ""; link_to_popup_window( make_log_url($log->module,$log->url), "fromloglive","$log->module $log->action", 400, 600); echo ""; diff --git a/course/log.php b/course/log.php index d4ddf59e61..793daec786 100644 --- a/course/log.php +++ b/course/log.php @@ -31,7 +31,7 @@ $dateinfo = userdate($date, "l, j F Y"); } - print_header("$course->shortname: Logs", "$course->shortname : Logs", + print_header("$course->shortname: Logs", "$course->fullname", "id\">$course->shortname -> id\">Logs -> Logs for $userinfo, $dateinfo", ""); @@ -43,7 +43,7 @@ } else { - print_header("$course->shortname: Logs", "$course->shortname : Logs", + print_header("$course->shortname: Logs", "$course->fullname", "id\">$course->shortname -> Logs", ""); print_heading("Choose which logs you want to look at"); diff --git a/lib/weblib.php b/lib/weblib.php index 0a695c8652..409ad29df7 100644 --- a/lib/weblib.php +++ b/lib/weblib.php @@ -149,10 +149,10 @@ function link_to_popup_window ($url, $name="popup", $linkname="click here", $hei echo "\n"; - echo "\n\n"; + echo "\n\n"; } -- 2.39.5