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:
martinlanghoff 2005-03-01 02:53:27 +00:00
parent 0e18f8278b
commit e0003dfa08

View File

@ -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;
?>