You are here

function theme_tabpage in Javascript Tools 5

Return rendered content of a tab.

@themable

File

tabs/tabs.module, line 160
API for creating tabbed pages.

Code

function theme_tabpage($element) {
  $output = '<div id="tabs-' . $element['#tabset_name'] . '-' . $element['#index'] . '" class="fragment">';
  $output .= '<h2 class="drupal-tabs-title">' . $element['#title'] . '</h2>';
  $output .= $element['#content'] . $element['#children'];
  $output .= '</div>';
  return $output;
}