mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 06:18:28 +01:00
I 'm fed up with the crappy HTML for blocks that keeps giving us
no end of trouble (bug 1718 is just the tip of the iceberg). Rehauling things... these two divs are superfluous.
This commit is contained in:
parent
88bbf2efff
commit
4fad36189f
@ -123,8 +123,7 @@ class block_site_main_menu extends block_list {
|
||||
}
|
||||
|
||||
if ($isediting && $modnames) {
|
||||
$this->content->footer = '<div style="text-align: right;">'.
|
||||
print_section_add_menus($course, 0, $modnames, true, true).'</div>';
|
||||
$this->content->footer = print_section_add_menus($course, 0, $modnames, true, true);
|
||||
} else {
|
||||
$this->content->footer = '';
|
||||
}
|
||||
|
@ -116,8 +116,7 @@ class block_social_activities extends block_list {
|
||||
}
|
||||
|
||||
if ($isediting && $modnames) {
|
||||
$this->content->footer = '<div style="text-align: right;">'.
|
||||
print_section_add_menus($course, 0, $modnames, true, true).'</div>';
|
||||
$this->content->footer = print_section_add_menus($course, 0, $modnames, true, true);
|
||||
} else {
|
||||
$this->content->footer = '';
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user