Permalink
Browse files

MDL-35982 blog: reorder blog delete confirmation

Improves accessibility to be ordered logically in page
  • Loading branch information...
danpoltawski committed Oct 30, 2015
1 parent 8b4e241 commit c14fbe69f589b86b1bee50d998c0b89679fe94d2
Showing with 5 additions and 4 deletions.
  1. +5 −4 blog/edit.php
View
@@ -141,14 +141,15 @@
// Output edit mode title.
echo $OUTPUT->heading($strblogs . ': ' . get_string('deleteentry', 'blog'), 2);
echo $OUTPUT->confirm(get_string('blogdeleteconfirm', 'blog'),
new moodle_url('edit.php', $optionsyes),
new moodle_url('index.php', $optionsno));
echo '<br />';
// Output the entry.
$entry->prepare_render();
echo $output->render($entry);
echo '<br />';
echo $OUTPUT->confirm(get_string('blogdeleteconfirm', 'blog'),
new moodle_url('edit.php', $optionsyes),
new moodle_url('index.php', $optionsno));
echo $OUTPUT->footer();
die;
}

0 comments on commit c14fbe6

Please sign in to comment.