You are here

function theme_quicktabs_preview_page in Quick Tabs 5

Same name and namespace in other branches
  1. 6 quicktabs.module \theme_quicktabs_preview_page()
1 theme call to theme_quicktabs_preview_page()
quicktabs_preview_page in ./quicktabs.module
Callback function for quicktabs/preview.

File

./quicktabs.module, line 684

Code

function theme_quicktabs_preview_page() {
  $output = "<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\n";
  $output .= '<html xmlns="http://www.w3.org/1999/xhtml">';
  $output .= '<head>';
  $output .= ' <title>' . t('Quick Tabs Preview') . '</title>';
  $output .= drupal_get_html_head();
  $output .= drupal_get_css();
  $output .= drupal_get_js();
  $output .= ' </head>';
  $output .= ' <body style="background: none; background-color: #fff; color: #000;">';
  $output .= '<div class="quicktabs_wrapper">';
  $output .= '<ul class="quicktabs_tabs"><li><a href="#">One</a></li><li><a href="#">Two</a></li></ul>';
  $output .= '<div class="quicktabs_main"><div class="quicktabs"></div><div class="quicktabs"></div></div></div>';
  $output .= '</body></html>';
  return $output;
}