mirror of
https://github.com/moodle/moodle.git
synced 2025-01-18 05:58:34 +01:00
Fixed incorrect display of time
This commit is contained in:
parent
1e23ed0aa4
commit
3819ed3115
@ -214,16 +214,14 @@ function print_recent_selector_form($course, $advancedfilter=0, $selecteduser=0,
|
||||
} else {
|
||||
$day = $strdays;
|
||||
}
|
||||
$selecteddate = time() - ($count * 3600 * 24);
|
||||
$tmpdate = time() - ($count * 3600 * 24);
|
||||
$heading = $heading .
|
||||
"<a href=\"$CFG->wwwroot/course/recent.php?id=$course->id&date=$selecteddate\"> $count $day</a> | ";
|
||||
"<a href=\"$CFG->wwwroot/course/recent.php?id=$course->id&date=$tmpdate\"> $count $day</a> | ";
|
||||
}
|
||||
|
||||
$heading = $strsince . ": <a href=\"$CFG->wwwroot/course/recent.php?id=$course->id\">$strlastlogin</a>" . " | " . $heading;
|
||||
print_heading($heading);
|
||||
|
||||
print_heading(get_string("activitysince", "", userdate($selecteddate)));
|
||||
|
||||
$advancedlink = "<a href=\"$CFG->wwwroot/course/recent.php?id=$course->id&advancedfilter=1\">" . get_string("advancedfilter") . "</a>";
|
||||
print_heading($advancedlink);
|
||||
|
||||
|
@ -64,7 +64,7 @@ $advancedfilter = 1;
|
||||
"<a href=\"../$CFG->admin/index.php\">$stradministration</a> -> $strrecentactivity", "");
|
||||
}
|
||||
|
||||
print_heading(get_string("choosereportfilter").":");
|
||||
print_heading(get_string("activitysince", "", userdate($date)));
|
||||
|
||||
print_recent_selector_form($course, $advancedfilter);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user