mirror of
https://github.com/moodle/moodle.git
synced 2025-01-18 22:08:20 +01:00
Merged from MOODLE_14_STABLE - loglive now has a proper footer and the links in header & footer open in new windows
This commit is contained in:
parent
0e18f8278b
commit
e0003dfa08
@ -18,6 +18,12 @@
|
||||
|
||||
session_write_close();
|
||||
|
||||
// we override the default framename so header/footer
|
||||
// links open in a new window
|
||||
if (empty($CFG->framename) || $CFG->framename==='_top') {
|
||||
$CFG->framename = '_blank';
|
||||
}
|
||||
|
||||
$strlivelogs = get_string("livelogs");
|
||||
$strupdatesevery = get_string("updatesevery", "moodle", COURSE_LIVELOG_REFRESH);
|
||||
|
||||
@ -30,6 +36,8 @@
|
||||
print_log($course, $user, $date, "l.time DESC", 0, 500,
|
||||
"loglive.php?id=$course->id&user=$user&date=$date");
|
||||
|
||||
print_footer();
|
||||
|
||||
exit;
|
||||
|
||||
?>
|
||||
|
Loading…
x
Reference in New Issue
Block a user