MDL-19803 Migrated calls to close_window_button()
This commit is contained in:
@@ -56,7 +56,7 @@
|
||||
print_simple_box_end();
|
||||
|
||||
print_simple_box(format_text($submission->data1, $submission->data2), 'center', '100%');
|
||||
close_window_button();
|
||||
echo $OUTPUT->close_window_button();
|
||||
print_footer('none');
|
||||
} else {
|
||||
print_string('emptysubmission', 'assignment');
|
||||
|
||||
@@ -45,7 +45,7 @@
|
||||
print_heading(get_string('notes', 'assignment').' - '.fullname($user,true));
|
||||
print_simple_box(format_text($submission->data1, FORMAT_HTML), 'center', '100%');
|
||||
if ($mode != 'single') {
|
||||
close_window_button();
|
||||
echo $OUTPUT->close_window_button();
|
||||
} else {
|
||||
print_continue($returnurl);
|
||||
}
|
||||
@@ -55,7 +55,7 @@
|
||||
print_heading(get_string('notes', 'assignment').' - '.fullname($user,true));
|
||||
print_simple_box(get_string('notesempty', 'assignment'), 'center', '100%');
|
||||
if ($mode != 'single') {
|
||||
close_window_button();
|
||||
echo $OUTPUT->close_window_button();
|
||||
} else {
|
||||
print_continue($returnurl);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user