"MDL-15501, add appropriate div and h2 tags to the header div"

This commit is contained in:
dongsheng
2008-07-02 05:01:03 +00:00
parent 6b52c45e95
commit 4eb9d73cc7
+3 -1
View File
@@ -943,7 +943,9 @@ function blocks_print_adminblock(&$page, &$pageblocks) {
$missingblocks = blocks_get_missing($page, $pageblocks);
if (!empty($missingblocks)) {
$strblocks = get_string('blocks');
$strblocks = '<div class="title"><h2>'
$strblocks .= get_string('blocks');
$strblocks .= '</h2>';
$stradd = get_string('add');
foreach ($missingblocks as $blockid) {
$block = blocks_get_record($blockid);