Index: tabs.theme.inc =================================================================== RCS file: /cvs/drupal-contrib/contributions/modules/tabs/tabs.theme.inc,v retrieving revision 1.8 diff -u -p -r1.8 tabs.theme.inc --- tabs.theme.inc 18 Jan 2010 07:03:44 -0000 1.8 +++ tabs.theme.inc 12 Jan 2011 16:52:18 -0000 @@ -12,9 +12,10 @@ * @themable */ function theme_tabset($element) { - $output = '
'; - $output .= '
'. $element['#description'] .'
'; - $output .= ''; if (isset($element['#children'])) { - $output .= $element['#children']; + $post .= $element['#children']; + } + $post .= '
'; + if (!empty($output)) { + return $pre . $output . $post; } - $output .= ''; - return $output; } /**