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:
@@ -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;
|
||||
|
||||
?>
|
||||
|
||||
Reference in New Issue
Block a user