Skip to content
Browse files

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

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

0 comments on commit e9904e0

Please sign in to comment.
Something went wrong with that request. Please try again.