mirror of
https://github.com/moodle/moodle.git
synced 2025-04-21 00:12:56 +02:00
MDL-19797 Converted all print_footer() calls
This commit is contained in:
parent
7e0d66753e
commit
c4fb148fef
@ -125,16 +125,9 @@ if ($courseid) {
|
||||
|
||||
if (!grade_scale::fetch_all_local($courseid) && !grade_scale::fetch_all_global()) {
|
||||
notice_yesno(get_string('noscales', 'grades'), $CFG->wwwroot.'/grade/edit/scale/edit.php?courseid='.$courseid, $returnurl);
|
||||
print_footer($course);
|
||||
echo $OUTPUT->footer();
|
||||
die();
|
||||
}
|
||||
|
||||
$mform->display();
|
||||
|
||||
if ($courseid) {
|
||||
print_footer($course);
|
||||
} else {
|
||||
admin_externalpage_print_footer();
|
||||
}
|
||||
|
||||
?>
|
||||
echo $OUTPUT->footer();
|
||||
|
@ -253,10 +253,4 @@ if ($handle = fopen($imported_file['userfile']['tmp_name'], 'r')) {
|
||||
// finish
|
||||
fclose($handle);
|
||||
|
||||
if ($courseid) {
|
||||
print_footer($course);
|
||||
} else {
|
||||
admin_externalpage_print_footer();
|
||||
}
|
||||
|
||||
?>
|
||||
echo $OUTPUT->footer();
|
||||
|
@ -104,7 +104,7 @@ switch ($action) {
|
||||
'sesskey' => sesskey(),
|
||||
'deleteconfirmed'=> 1)
|
||||
);
|
||||
print_footer();
|
||||
echo $OUTPUT->footer();
|
||||
die;
|
||||
}else{
|
||||
$outcome->delete();
|
||||
@ -254,10 +254,4 @@ echo '</div>';
|
||||
|
||||
$upload_form->display();
|
||||
|
||||
if ($courseid) {
|
||||
print_footer($course);
|
||||
} else {
|
||||
admin_externalpage_print_footer();
|
||||
}
|
||||
|
||||
?>
|
||||
echo $OUTPUT->footer();
|
||||
|
@ -124,10 +124,4 @@ if ($courseid) {
|
||||
|
||||
$mform->display();
|
||||
|
||||
if ($courseid) {
|
||||
print_footer($course);
|
||||
} else {
|
||||
admin_externalpage_print_footer();
|
||||
}
|
||||
|
||||
?>
|
||||
echo $OUTPUT->footer();
|
||||
|
@ -152,11 +152,4 @@ echo '<div class="buttons">';
|
||||
print_single_button('edit.php', array('courseid'=>$courseid), $srtcreatenewscale);
|
||||
echo '</div>';
|
||||
|
||||
if ($courseid) {
|
||||
print_footer($course);
|
||||
} else {
|
||||
admin_externalpage_print_footer();
|
||||
}
|
||||
|
||||
|
||||
?>
|
||||
echo $OUTPUT->footer();
|
||||
|
Loading…
x
Reference in New Issue
Block a user