Commit c2f174e1 authored by Dries's avatar Dries

- Patch #11725 by mrrowe: custom menus are not wrapped in <div class="menu">...

- Patch #11725 by mrrowe: custom menus are not wrapped in <div class="menu"> tags which made their appearance differ from the built-in "navigation" menu.
parent f1a087e3
......@@ -86,7 +86,7 @@ function menu_block($op = 'list', $delta = 0) {
}
else {
$data['subject'] = $menu['items'][$delta]['title'];
$data['content'] = theme('menu_tree', $delta);
$data['content'] = '<div class="menu">'. theme('menu_tree', $delta) .'</div>' ;
return $data;
}
}
......
......@@ -86,7 +86,7 @@ function menu_block($op = 'list', $delta = 0) {
}
else {
$data['subject'] = $menu['items'][$delta]['title'];
$data['content'] = theme('menu_tree', $delta);
$data['content'] = '<div class="menu">'. theme('menu_tree', $delta) .'</div>' ;
return $data;
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment