Merge branch 'wip-MDL-35874-stable23' of git://github.com/phalacee/moodle into MOODLE...
authorDan Poltawski <dan@moodle.com>
Mon, 17 Dec 2012 03:53:08 +0000 (11:53 +0800)
committerDan Poltawski <dan@moodle.com>
Mon, 17 Dec 2012 03:53:08 +0000 (11:53 +0800)
lib/blocklib.php

index 9413201..841a000 100644 (file)
@@ -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;
 }