Merge commit 'catalyst/MOODLE_19_STABLE' into mdl19-linuxchix
[moodle-linuxchix.git] / admin / report / log / index.php
blobdf808f31b572d08d6891ef3feed08ba4eb998973
1 <?php // $Id$
3 require_once('../../../config.php');
4 require_once($CFG->dirroot.'/course/lib.php');
5 require_once($CFG->dirroot.'/course/report/log/lib.php');
6 require_once($CFG->libdir.'/adminlib.php');
8 admin_externalpage_setup('reportlog');
10 admin_externalpage_print_header();
13 $course = get_site();
15 print_heading(get_string('chooselogs') .':');
17 print_mnet_log_selector_form($CFG->mnet_localhost_id, $course);
19 echo '<br />';
20 print_heading(get_string('chooselivelogs') .':');
22 $heading = link_to_popup_window('/course/report/log/live.php?id='. $course->id,
23 'livelog', get_string('livelogs'),
24 500, 800, '', 'none', true);
26 print_heading($heading, 'center', 3);
29 admin_externalpage_print_footer();