'; $output .= '
'. $element['#description'] .'
'; $output .= ''; if (isset($element['#children'])) { $output .= $element['#children']; } $output .= ''; return $output; } /** * Return rendered content of a tab. * * @themable */ function theme_tabpage($element) { $output = ''; // Ensure the tab has content before rendering it. if (!empty($element['#ajax_url']) || !empty($element['#content']) || !empty($element['#children'])) { $output .= '
'; $output .= '

'. $element['#title'] .'

'; $output .= $element['#content'] . (!empty($element['#children']) ? $element['#children'] : ''); $output .='
'; } return $output; }