projects
/
moodle.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ffc5dbd
)
"MDL-15501, add appropriate div and h2 tags to the header div, merged from MOODLE_19_...
author
dongsheng
<dongsheng>
Wed, 2 Jul 2008 05:02:46 +0000
(
05:02
+0000)
committer
dongsheng
<dongsheng>
Wed, 2 Jul 2008 05:02:46 +0000
(
05:02
+0000)
lib/blocklib.php
patch
|
blob
|
history
diff --git
a/lib/blocklib.php
b/lib/blocklib.php
index 2ad26395e853534c594757ee6d17c05fe7165d56..4a8bf58ab38ad3124a1d450b00e1dee9a8a8b8a3 100644
(file)
--- a/
lib/blocklib.php
+++ b/
lib/blocklib.php
@@
-964,7
+964,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);