Skip to content

Commit

Permalink
I 'm fed up with the crappy HTML for blocks that keeps giving us
Browse files Browse the repository at this point in the history
no end of trouble (bug 1718 is just the tip of the iceberg).

Rehauling things... these two divs are superfluous.
  • Loading branch information
defacer committed May 9, 2005
1 parent 88bbf2e commit 4fad361
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions blocks/site_main_menu/block_site_main_menu.php
Original file line number Diff line number Diff line change
Expand Up @@ -123,8 +123,7 @@ function get_content() {
}

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 = '';
}
Expand Down
3 changes: 1 addition & 2 deletions blocks/social_activities/block_social_activities.php
Original file line number Diff line number Diff line change
Expand Up @@ -116,8 +116,7 @@ function get_content() {
}

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 = '';
}
Expand Down

0 comments on commit 4fad361

Please sign in to comment.