Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

MDL-33769 Switch Submit and Cancel buttons around on Activity Chooser

  • Loading branch information...
commit 8ff6c5ee5141cc295ae790b8e43b331dcd8c60db 1 parent a6c3aed
@andrewnicols andrewnicols authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 course/renderer.php
View
4 course/renderer.php
@@ -209,9 +209,9 @@ public function course_modchooser($modules, $course) {
$formcontent .= html_writer::start_tag('div', array('class' => 'submitbuttons'));
$formcontent .= html_writer::tag('input', '',
- array('type' => 'submit', 'name' => 'addcancel', 'id' => 'addcancel', 'value' => get_string('cancel')));
- $formcontent .= html_writer::tag('input', '',
array('type' => 'submit', 'name' => 'submitbutton', 'id' => 'submitbutton', 'value' => get_string('add')));
+ $formcontent .= html_writer::tag('input', '',
+ array('type' => 'submit', 'name' => 'addcancel', 'id' => 'addcancel', 'value' => get_string('cancel')));
$formcontent .= html_writer::end_tag('div');
$formcontent .= html_writer::end_tag('form');
Please sign in to comment.
Something went wrong with that request. Please try again.