Automatic installer.php lang files by installer_builder (20070726)
[moodle-linuxchix.git] / course / report / log / mod.php
blob6673a1c307f98a774cc61687b3f2d9372afe367b
1 <?php // $Id$
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') .':');
16 echo '<p>';
17 link_to_popup_window('/course/report/log/live.php?id='. $course->id,'livelog', get_string('livelogs'), 500, 800);
18 echo '</p>';