function theme_webmaster_menu_toolbar in Webmaster menu 7
Render the toolbar.
Parameters
array $variables:
- tree: A hierarical data structure suitable for theme_webmaster_menu_tree().
1 theme call to theme_webmaster_menu_toolbar()
- webmaster_menu_output in ./
webmaster_menu.module - Create the webmaster menu.
File
- ./
webmaster_menu.module, line 200 - Display a dropdown menu at the top of the window.
Code
function theme_webmaster_menu_toolbar($variables) {
drupal_add_css(drupal_get_path('module', 'webmaster_menu') . '/webmaster_menu.css');
$tree = $variables['tree'];
$html = '<div class="webmaster-menu overlay-displace-top">';
$html .= theme('webmaster_menu_tree', array(
'tree' => $tree,
));
$html .= '</div>';
return $html;
}