Permalink
Browse files

MDL-35874 - Blocks - Adding a label to the 'Add a block' block's sele…

…ct field
  • Loading branch information...
jsnfwlr committed Dec 5, 2012
1 parent 5fa7d72 commit e98a1a118e6e89734a2543196b3c12795eee6ca0
Showing with 1 addition and 0 deletions.
  1. +1 −0 lib/blocklib.php
View
@@ -1834,6 +1834,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;
}

0 comments on commit e98a1a1

Please sign in to comment.