$canrate = has_capability('mod/forum:rate', $modcontext);
forum_print_discussion($course, $cm, $forum, $discussion, $post, $displaymode, $canreply, $canrate);
- print_footer($course);
+ echo $OUTPUT->footer();
?>
print_table($learningtable);
}
- print_footer($course);
+ echo $OUTPUT->footer();
?>
print_header($course->shortname, $course->fullname, $navigation, '', '', true, "", navmenu($course, $cm));
notice_yesno(get_string('noguesttracking', 'forum').'<br /><br />'.get_string('liketologin'),
get_login_url(), $returnto);
- print_footer($course);
+ echo $OUTPUT->footer();
exit;
}
notice_yesno(get_string('noguestpost', 'forum').'<br /><br />'.get_string('liketologin'),
get_login_url(), get_referer(false));
- print_footer($course);
+ echo $OUTPUT->footer();
exit;
}
}
}
- print_footer($course);
+ echo $OUTPUT->footer();
die;
forum_print_post($post, $discussion, $forum, $cm, $course, false, false, false);
echo '</center>';
}
- print_footer($course);
+ echo $OUTPUT->footer();
die;
} else {
print_error('unknowaction');
$mform_post->display();
- print_footer($course);
+ echo $OUTPUT->footer();
?>
}
echo $OUTPUT->close_window_button();
- print_footer('none');
+ echo $OUTPUT->footer();
?>
"", "", " ", navmenu($course));
forum_print_big_search_form($course);
- print_footer($course);
+ echo $OUTPUT->footer();
exit;
}
forum_print_big_search_form($course);
- print_footer($course);
+ echo $OUTPUT->footer();
exit;
}
print_paging_bar($totalcount, $page, $perpage, "search.php?search=".urlencode($search)."&id=$course->id&perpage=$perpage&");
- print_footer($course);
+ echo $OUTPUT->footer();
notice_yesno(get_string('noguestsubscribe', 'forum').'<br /><br />'.get_string('liketologin'),
get_login_url(), $_SERVER['HTTP_REFERER']);
- print_footer($course);
+ echo $OUTPUT->footer();
exit;
}
echo "</table>";
}
- print_footer($course);
+ echo $OUTPUT->footer();
exit;
}
print_simple_box_end();
- print_footer($course);
+ echo $OUTPUT->footer();
?>
$DB->set_field('user', 'autosubscribe', 0, array('id'=>$USER->id));
print_box(get_string('unsubscribealldone', 'forum'));
print_continue($return);
- print_footer();
+ echo $OUTPUT->footer();
die;
} else {
if ($a) {
$msg = get_string('unsubscribeallconfirm', 'forum', $a);
notice_yesno($msg, 'unsubscribeall.php', $return, array('confirm'=>1, 'sesskey'=>sesskey()), NULL, 'post', 'get');
- print_footer();
+ echo $OUTPUT->footer();
die;
} else {
print_box(get_string('unsubscribeallempty', 'forum'));
print_continue($return);
- print_footer();
+ echo $OUTPUT->footer();
die;
}
}
if ($user->deleted) {
print_header();
echo $OUTPUT->heading(get_string('userdeleted'));
- print_footer($course);
+ echo $OUTPUT->footer();
die;
}
}
}
echo '</div>';
-print_footer($course);
+echo $OUTPUT->footer();
?>