Give an id attribute to the "Add Blocks" block so that the new hide/show

provisions in weblib don't print notices.
This commit is contained in:
defacer 2005-02-08 00:00:21 +00:00
parent 3524435159
commit e1f76e76a9

View file

@ -562,7 +562,7 @@ function blocks_print_adminblock(&$page, &$pageblocks) {
$target = $page->url_get_full(array('sesskey' => $USER->sesskey, 'blockaction' => 'add')); $target = $page->url_get_full(array('sesskey' => $USER->sesskey, 'blockaction' => 'add'));
$content = popup_form($target.'&blockid=', $menu, 'add_block', '', $stradd .'...', '', '', true); $content = popup_form($target.'&blockid=', $menu, 'add_block', '', $stradd .'...', '', '', true);
$content = '<div style="text-align: center;">'. $content .'</div>'; $content = '<div style="text-align: center;">'. $content .'</div>';
print_side_block($strblocks, $content, NULL, NULL, NULL); print_side_block($strblocks, $content, NULL, NULL, NULL, array('id' => 'block_adminblock'));
} }
} }