You are here

function theme_quant_page in Quant 7

Same name and namespace in other branches
  1. 6 includes/theme.inc \theme_quant_page()

Theme wrapper for the quant analytics page

Parameters

$form: The datepicker form, in HTML.

$charts: An array of generated charts.

1 theme call to theme_quant_page()
quant_page in ./quant.pages.inc
The analytics page callback

File

./quant.theme.inc, line 16
Theme wrappers

Code

function theme_quant_page($vars) {
  $content = '';
  $content .= $vars['form'];
  if ($vars['charts']) {
    foreach ($vars['charts'] as $chart) {
      $content .= $chart;
    }
  }
  return '<div id="quant-page">' . $content . '</div>';
}