MDL-35874 - Blocks - Adding a label to the 'Add a block' block's select field
This commit is contained in:
@@ -1848,6 +1848,7 @@ function block_add_block_ui($page, $output) {
|
||||
|
||||
$actionurl = new moodle_url($page->url, array('sesskey'=>sesskey()));
|
||||
$select = new single_select($actionurl, 'bui_addblock', $menu, null, array(''=>get_string('adddots')), 'add_block');
|
||||
$select->set_label(get_string('addblock'), array('class'=>'accesshide'));
|
||||
$bc->content = $OUTPUT->render($select);
|
||||
return $bc;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user