mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 06:18:28 +01:00
19 lines
581 B
PHP
19 lines
581 B
PHP
<?php // $Id$
|
|
|
|
if (!defined('MOODLE_INTERNAL')) {
|
|
die('Direct access to this script is forbidden.'); /// It must be included from a Moodle page
|
|
}
|
|
|
|
require_once($CFG->dirroot.'/course/lib.php');
|
|
require_once($CFG->dirroot.'/course/report/log/lib.php');
|
|
|
|
|
|
print_heading(get_string('chooselogs') .':');
|
|
|
|
print_log_selector_form($course);
|
|
|
|
print_heading(get_string('chooselivelogs') .':');
|
|
echo '<p>';
|
|
link_to_popup_window('/course/report/log/live.php?id='. $course->id,'livelog', get_string('livelogs'), 500, 800);
|
|
echo '</p>';
|
|
?>
|