MDL-34563 accessibility compliance for data module: Add forform input text and select tag

This commit is contained in:
Rossiani Wijaya
2012-08-13 15:13:54 +08:00
parent e6aac11d94
commit ee53ceb3eb
14 changed files with 46 additions and 18 deletions
+1
View File
@@ -352,6 +352,7 @@ if (($mode == 'new') && (!empty($newtype)) && confirm_sesskey()) { ///
$options = array(0 => get_string('ascending', 'data'),
1 => get_string('descending', 'data'));
echo html_writer::label(get_string('sortby'), 'menudefaultsortdir', false, array('class' => 'accesshide'));
echo html_writer::select($options, 'defaultsortdir', $data->defaultsortdir, false);
echo '<input type="submit" value="'.get_string('save', 'data').'" />';
echo '</div>';