mirror of
https://github.com/moodle/moodle.git
synced 2025-04-21 16:32:18 +02:00
MDL-19806 Converted all print_footer() calls
This commit is contained in:
parent
f7e6b8624a
commit
7b30ba8b68
@ -117,7 +117,7 @@
|
||||
'comment.php?rid='.$record->id.'&commentid='.$comment->id.'&page='.$page.
|
||||
'&sesskey='.sesskey().'&mode=delete&confirm=1',
|
||||
'view.php?rid='.$record->id.'&page='.$page);
|
||||
print_footer();
|
||||
echo $OUTPUT->footer();
|
||||
}
|
||||
die;
|
||||
break;
|
||||
@ -126,7 +126,7 @@
|
||||
|
||||
print_header();
|
||||
data_print_comments($data, $record, $page, $mform);
|
||||
print_footer();
|
||||
echo $OUTPUT->footer();
|
||||
|
||||
|
||||
?>
|
||||
|
@ -187,7 +187,7 @@
|
||||
|
||||
if (data_atmaxentries($data) and !has_capability('mod/data:manageentries',$context)){
|
||||
notify (get_string('atmaxentry','data'));
|
||||
print_footer($course);
|
||||
echo $OUTPUT->footer();
|
||||
exit;
|
||||
}
|
||||
|
||||
@ -347,5 +347,5 @@
|
||||
$field->print_after_form();
|
||||
}
|
||||
|
||||
print_footer($course);
|
||||
echo $OUTPUT->footer();
|
||||
?>
|
||||
|
@ -67,7 +67,7 @@ if($mform->is_cancelled()) {
|
||||
$currenttab = 'export';
|
||||
include('tabs.php');
|
||||
$mform->display();
|
||||
print_footer();
|
||||
echo $OUTPUT->footer();
|
||||
die;
|
||||
}
|
||||
|
||||
|
@ -188,7 +188,7 @@
|
||||
'field.php?d='.$data->id.'&mode=delete&fid='.$fid.'&sesskey='.sesskey().'&confirm=1',
|
||||
'field.php?d='.$data->id);
|
||||
|
||||
print_footer($course);
|
||||
echo $OUTPUT->footer();
|
||||
exit;
|
||||
}
|
||||
}
|
||||
@ -334,7 +334,7 @@
|
||||
}
|
||||
|
||||
/// Finish the page
|
||||
print_footer($course);
|
||||
echo $OUTPUT->footer();
|
||||
|
||||
|
||||
?>
|
||||
|
@ -178,7 +178,7 @@
|
||||
|
||||
|
||||
/// Finish the page
|
||||
print_footer($course);
|
||||
echo $OUTPUT->footer();
|
||||
|
||||
|
||||
|
||||
|
@ -138,6 +138,6 @@
|
||||
|
||||
echo "<br />";
|
||||
print_table($table);
|
||||
print_footer($course);
|
||||
echo $OUTPUT->footer();
|
||||
|
||||
?>
|
||||
|
@ -100,7 +100,7 @@ switch ($action) {
|
||||
$optionsno = new object();
|
||||
$optionsno->d = $data->id;
|
||||
notice_yesno($strwarning, 'preset.php', 'preset.php', $options, $optionsno, 'post', 'get');
|
||||
print_footer($course);
|
||||
echo $OUTPUT->footer();
|
||||
exit(0);
|
||||
break;
|
||||
|
||||
@ -135,7 +135,7 @@ switch ($action) {
|
||||
$pimporter = new PresetImporter($course, $cm, $data, $userid, $shortname);
|
||||
$pimporter->import_options();
|
||||
|
||||
print_footer($course);
|
||||
echo $OUTPUT->footer();
|
||||
exit(0);
|
||||
break;
|
||||
|
||||
@ -159,7 +159,7 @@ switch ($action) {
|
||||
$pimporter = new PresetImporter($course, $cm, $data, -$USER->id, $shortname);
|
||||
$pimporter->import_options();
|
||||
|
||||
print_footer($course);
|
||||
echo $OUTPUT->footer();
|
||||
exit(0);
|
||||
break;
|
||||
|
||||
@ -219,7 +219,7 @@ switch ($action) {
|
||||
echo '<input type="hidden" name="d" value="'.$data->id.'" />';
|
||||
echo '<input type="hidden" name="sesskey" value="'.$sesskey.'" />';
|
||||
echo '<input type="submit" value="'.$strcontinue.'" /></fieldset></form></div>';
|
||||
print_footer($course);
|
||||
echo $OUTPUT->footer();
|
||||
exit(0);
|
||||
break;
|
||||
|
||||
@ -254,7 +254,7 @@ switch ($action) {
|
||||
echo '<input type="hidden" name="sesskey" value="'.$sesskey.'" />';
|
||||
echo '<input type="submit" value="'.$stroverwrite.'" /></div></form>';
|
||||
echo '</div>';
|
||||
print_footer($course);
|
||||
echo $OUTPUT->footer();
|
||||
exit(0);
|
||||
break;
|
||||
}
|
||||
@ -369,7 +369,7 @@ echo '</td></tr>';
|
||||
echo '</table>';
|
||||
echo '</div>';
|
||||
|
||||
print_footer($course);
|
||||
echo $OUTPUT->footer();
|
||||
exit(0);
|
||||
|
||||
################################################################################
|
||||
|
@ -77,5 +77,5 @@
|
||||
}
|
||||
|
||||
echo $OUTPUT->close_window_button();
|
||||
print_footer('none');
|
||||
echo $OUTPUT->footer();
|
||||
?>
|
||||
|
@ -288,5 +288,5 @@
|
||||
echo '</form>';
|
||||
|
||||
/// Finish the page
|
||||
print_footer($course);
|
||||
echo $OUTPUT->footer();
|
||||
?>
|
||||
|
@ -345,7 +345,7 @@
|
||||
$records[] = $deleterecord;
|
||||
echo data_print_template('singletemplate', $records, $data, '', 0, true);
|
||||
|
||||
print_footer($course);
|
||||
echo $OUTPUT->footer();
|
||||
exit;
|
||||
}
|
||||
}
|
||||
@ -668,5 +668,5 @@
|
||||
$completion=new completion_info($course);
|
||||
$completion->set_module_viewed($cm);
|
||||
|
||||
print_footer($course);
|
||||
echo $OUTPUT->footer();
|
||||
?>
|
||||
|
Loading…
x
Reference in New Issue
Block a user