You are here

function theme_quicktabs_block in Quick Tabs 6

Same name and namespace in other branches
  1. 5 quicktabs.module \theme_quicktabs_block()
1 theme call to theme_quicktabs_block()
quicktabs_block in ./quicktabs.module
Implementation of hook_block

File

./quicktabs.module, line 580

Code

function theme_quicktabs_block($block, $title = TRUE) {
  $output = "<div class=\"block block-{$block->module}\" id=\"block-{$block->module}-{$block->delta}\">\n";
  if ($title) {
    $output .= " <h2 class=\"title\">{$block->subject}</h2>\n";
  }
  $output .= " <div class=\"content\">{$block->content}</div>\n";
  $output .= "</div>\n";
  return $output;
}