MDL-34563 accessibility compliance for data module: Add forform input text and select tag
This commit is contained in:
@@ -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>';
|
||||
|
||||
Reference in New Issue
Block a user