3 if (!defined('MOODLE_INTERNAL')) {
4 die('Direct access to this script is forbidden.'); /// It must be included from a Moodle page
7 require_once($CFG->dirroot
.'/course/lib.php');
8 require_once($CFG->dirroot
.'/course/report/log/lib.php');
11 print_heading(get_string('chooselogs') .':');
13 print_log_selector_form($course);
15 print_heading(get_string('chooselivelogs') .':');
17 link_to_popup_window('/course/report/log/live.php?id='. $course->id
,'livelog', get_string('livelogs'), 500, 800);