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

This commit is contained in:
Andrew Robert Nicols 2012-06-15 08:16:11 +01:00
parent a6c3aed35d
commit 8ff6c5ee51

View file

@ -208,10 +208,10 @@ class core_course_renderer extends plugin_renderer_base {
$formcontent .= html_writer::end_tag('div'); // types
$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');