Skip to content

Commit

Permalink
MDL-35874 - Blocks - Adding a label to the 'Add a block' block's sele…
Browse files Browse the repository at this point in the history
…ct field
  • Loading branch information
jsnfwlr committed Dec 13, 2012
1 parent 0b7c52d commit c5148e0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/blocklib.php
Expand Up @@ -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;
}
Expand Down

0 comments on commit c5148e0

Please sign in to comment.