MDL-49973 changed continue to delete on delete confirmations

This commit is contained in:
Andrew Davis
2015-09-15 15:25:36 +08:00
committed by Cameron Ball
parent b7d2ed3004
commit c4f82182b7
4 changed files with 11 additions and 5 deletions
+1 -1
View File
@@ -66,7 +66,7 @@ if ($deletesection) {
echo $OUTPUT->box_start('noticebox');
$optionsyes = array('id' => $id, 'confirm' => 1, 'delete' => 1, 'sesskey' => sesskey());
$deleteurl = new moodle_url('/course/editsection.php', $optionsyes);
$formcontinue = new single_button($deleteurl, get_string('continue'));
$formcontinue = new single_button($deleteurl, get_string('delete'));
$formcancel = new single_button($cancelurl, get_string('cancel'), 'get');
echo $OUTPUT->confirm(get_string('confirmdeletesection', '',
get_section_name($course, $sectioninfo)), $formcontinue, $formcancel);