MDL-49973 changed continue to delete on delete confirmations
This commit is contained in:
committed by
Cameron Ball
parent
b7d2ed3004
commit
c4f82182b7
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user