mirror of
https://github.com/moodle/moodle.git
synced 2025-04-21 16:32:18 +02:00
MDL-19820 Converted all print_footer() calls
This commit is contained in:
parent
9237e77678
commit
9b59580b36
@ -100,5 +100,5 @@ print_box_start('generalbox boxwidthnormal boxaligncenter', 'chooseqtypebox');
|
||||
print_choose_qtype_to_add_form($hiddenparams);
|
||||
print_box_end();
|
||||
|
||||
print_footer($COURSE);
|
||||
?>
|
||||
echo $OUTPUT->footer();
|
||||
?>
|
||||
|
@ -127,5 +127,5 @@
|
||||
// display the user interface
|
||||
$qcobject->display_user_interface();
|
||||
}
|
||||
print_footer($COURSE);
|
||||
echo $OUTPUT->footer();
|
||||
?>
|
||||
|
@ -240,5 +240,5 @@
|
||||
print_box(get_string('movingcategorynofiles', 'question', $cattomove), 'boxwidthnarrow boxaligncenter generalbox');
|
||||
}
|
||||
$contextmoveform->display();
|
||||
print_footer($COURSE);
|
||||
echo $OUTPUT->footer();
|
||||
?>
|
||||
|
@ -240,5 +240,5 @@ if (count($urls)){
|
||||
print_box(get_string('movingquestionsnofiles', 'question', $questionsstr), 'boxwidthnarrow boxaligncenter generalbox');
|
||||
}
|
||||
$contextmoveform->display();
|
||||
print_footer($COURSE);
|
||||
echo $OUTPUT->footer();
|
||||
?>
|
||||
|
@ -77,5 +77,5 @@
|
||||
$pagevars['cat'], $pagevars['recurse'], $pagevars['showhidden'], $pagevars['showquestiontext']);
|
||||
echo "</div>\n";
|
||||
|
||||
print_footer($COURSE);
|
||||
echo $OUTPUT->footer();
|
||||
?>
|
||||
|
@ -123,7 +123,7 @@
|
||||
}
|
||||
|
||||
print_continue('edit.php?' . $thispageurl->get_query_string());
|
||||
print_footer($COURSE);
|
||||
echo $OUTPUT->footer();
|
||||
exit;
|
||||
}
|
||||
|
||||
@ -132,5 +132,5 @@
|
||||
|
||||
$export_form->display();
|
||||
|
||||
print_footer($COURSE);
|
||||
echo $OUTPUT->footer();
|
||||
?>
|
||||
|
@ -152,7 +152,7 @@
|
||||
|
||||
echo "<hr />";
|
||||
print_continue("edit.php?".($thispageurl->get_query_string(array('category'=>"{$qformat->category->id},{$qformat->category->contextid}"))));
|
||||
print_footer($COURSE);
|
||||
echo $OUTPUT->footer();
|
||||
exit;
|
||||
}
|
||||
}
|
||||
@ -161,6 +161,6 @@
|
||||
|
||||
/// Print upload form
|
||||
$import_form->display();
|
||||
print_footer($COURSE);
|
||||
echo $OUTPUT->footer();
|
||||
|
||||
?>
|
||||
|
@ -241,5 +241,5 @@
|
||||
get_string('closepreview', 'quiz') . "\" />";
|
||||
echo '</div>';
|
||||
echo '</form>';
|
||||
print_footer();
|
||||
echo $OUTPUT->footer();
|
||||
?>
|
||||
|
@ -273,6 +273,6 @@ if ($mform->is_cancelled()){
|
||||
// Display a heading, question editing form and possibly some extra content needed for
|
||||
// for this question type.
|
||||
$QTYPES[$question->qtype]->display_question_editing_page($mform, $question, $wizardnow);
|
||||
print_footer($COURSE);
|
||||
echo $OUTPUT->footer();
|
||||
}
|
||||
?>
|
||||
|
@ -291,7 +291,7 @@ class default_questiontype {
|
||||
* is itself an object, shown next to the form fields. (I don't think this is accurate any more.)
|
||||
*/
|
||||
function save_question($question, $form, $course) {
|
||||
global $USER, $DB;
|
||||
global $USER, $DB, $OUTPUT;
|
||||
// This default implementation is suitable for most
|
||||
// question types.
|
||||
|
||||
@ -368,7 +368,7 @@ class default_questiontype {
|
||||
if (!empty($result->noticeyesno)) {
|
||||
notice_yesno($result->noticeyesno, "question.php?id=$question->id&courseid={$course->id}",
|
||||
"edit.php?courseid={$course->id}");
|
||||
print_footer($course);
|
||||
echo $OUTPUT->footer();
|
||||
exit;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user