print_course_search();
- print_footer();
+ echo $OUTPUT->footer();
"delete.php?id=$course->id&delete=".md5($course->timemodified)."&sesskey=".sesskey(),
"category.php?id=$course->category");
- print_footer();
+ echo $OUTPUT->footer();
exit;
}
print_continue("category.php?id=$course->category");
- print_footer();
+ echo $OUTPUT->footer();
?>
$editform->display();
- print_footer($course);
+ echo $OUTPUT->footer();
?>
$mform->display();
-print_footer();
+echo $OUTPUT->footer();
?>
print_heading_with_help($strsummaryof, 'summaries');
$mform->display();
- print_footer($course);
+ echo $OUTPUT->footer();
echo '</div>';
}
- print_footer();
+ echo $OUTPUT->footer();
?>
print_header("$course->shortname: $strimportactivities", $course->fullname, $navigation);
require_once('mod.php');
- print_footer();
+ echo $OUTPUT->footer();
?>
/// Print the form
require('mod.php');
- print_footer($course);
+ echo $OUTPUT->footer();
function my_file_get_contents($filename, $use_include_path = 0) {
/// Returns the file as one big long string
print_simple_box_end();
- print_footer();
+ echo $OUTPUT->footer();
?>
echo $OUTPUT->close_window_button();
- print_footer();
+ echo $OUTPUT->footer();
?>
function print_log($course, $user=0, $date=0, $order="l.time ASC", $page=0, $perpage=100,
$url="", $modname="", $modid=0, $modaction="", $groupid=0) {
- global $CFG, $DB;
+ global $CFG, $DB, $OUTPUT;
if (!$logs = build_logs_array($course, $user, $date, $order, $page*$perpage, $perpage,
$modname, $modid, $modaction, $groupid)) {
notify("No logs found!");
- print_footer($course);
+ echo $OUTPUT->footer();
exit;
}
function print_mnet_log($hostid, $course, $user=0, $date=0, $order="l.time ASC", $page=0, $perpage=100,
$url="", $modname="", $modid=0, $modaction="", $groupid=0) {
- global $CFG, $DB;
+ global $CFG, $DB, $OUTPUT;
if (!$logs = build_mnet_logs_array($hostid, $course, $user, $date, $order, $page*$perpage, $perpage,
$modname, $modid, $modaction, $groupid)) {
notify("No logs found!");
- print_footer($course);
+ echo $OUTPUT->footer();
exit;
}
print_simple_box_start('center', '60%', '#FFAAAA', 20, 'noticebox');
notice_yesno($strdeletecheckfull, 'mod.php', $return, $optionsyes, $optionsno, 'post', 'get');
print_simple_box_end();
- print_footer($course);
+ echo $OUTPUT->footer();
exit;
}
print_heading_with_help($pageheading, 'mods', $module->name, $icon);
$mform->display();
- print_footer($course);
+ echo $OUTPUT->footer();
}
}
- print_footer($course);
+ echo $OUTPUT->footer();
function compare_activities_by_time_desc($a, $b) {
// make sure the activities actually have a timestamp property
}
}
- print_footer();
+ echo $OUTPUT->footer();
?>
if (!print_log_csv($course, $user, $date, 'l.time DESC', $modname,
$modid, $modaction, $group)) {
notify("No logs found!");
- print_footer($course);
+ echo $OUTPUT->footer();
}
exit;
case 'downloadasods':
if (!print_log_ods($course, $user, $date, 'l.time DESC', $modname,
$modid, $modaction, $group)) {
notify("No logs found!");
- print_footer($course);
+ echo $OUTPUT->footer();
}
exit;
case 'downloadasexcel':
if (!print_log_xls($course, $user, $date, 'l.time DESC', $modname,
$modid, $modaction, $group)) {
notify("No logs found!");
- print_footer($course);
+ echo $OUTPUT->footer();
}
exit;
}
print_log_selector_form($course, $user, $date, $modname, $modid, $modaction, $group, $showcourses, $showusers, $logformat);
}
- print_footer($course);
+ echo $OUTPUT->footer();
exit;
?>
link_to_popup_window('/course/report/log/live.php?id='. $course->id,'livelog', get_string('livelogs'), 500, 800);
echo '<div>';
- print_footer($course);
+ echo $OUTPUT->footer();
?>
}
echo '</table>';
- print_footer($course);
+ echo $OUTPUT->footer();
?>
}
- print_footer();
+ echo $OUTPUT->footer();
?>
if(count($progress->users)==0) {
print '<p class="nousers">'.get_string('err_nousers','completion').'</p>';
print '<p><a href="'.$reportsurl.'">'.get_string('continue').'</a></p>';
- print_footer($course);
+ echo $OUTPUT->footer();
exit;
}
print $pagingbar;
<li><a href="index.php?course='.$course->id.'&format=excelcsv">'.
get_string('excelcsvdownload','completion').'</a></li></ul>';
-print_footer($course);
+echo $OUTPUT->footer();
?>
}
}
- print_footer();
+ echo $OUTPUT->footer();
?>
print_header($strtitle, $strtitle, build_navigation($strtitle), $requestform->focus());
echo $OUTPUT->heading($strtitle);
$requestform->display();
- print_footer();
+ echo $OUTPUT->footer();
?>
print_table($table);
print_continue('view.php?id='.$course->id); // Back to course page
- print_footer($course);
+ echo $OUTPUT->footer();
exit;
}
}
print_simple_box(get_string('resetinfo'), 'center', '60%');
$mform->display();
-print_footer($course);
+echo $OUTPUT->footer();
?>
echo text_to_html($scale->description);
print_simple_box_end();
echo $OUTPUT->close_window_button();
- print_footer('empty');
+ echo $OUTPUT->footer();
exit;
}
}
}
echo $OUTPUT->close_window_button();
- print_footer('empty');
+ echo $OUTPUT->footer();
?>
echo "</p>";
echo "</center>";
print_simple_box_end();
- print_footer();
+ echo $OUTPUT->footer();
exit;
}
print_course_search($search);
- print_footer();
+ echo $OUTPUT->footer();
/**
* Print a list navigation bar
$_SERVER['HTTP_REFERER']);
}
- print_footer($course);
+ echo $OUTPUT->footer();
?>
if ($user->deleted) {
print_header();
echo $OUTPUT->heading(get_string('userdeleted'));
- print_footer();
+ echo $OUTPUT->footer();
die;
}
}
- print_footer($course);
+ echo $OUTPUT->footer();
function print_outline_row($mod, $instance, $result) {
}
- print_footer();
+ echo $OUTPUT->footer();
?>