function theme_statspro_content in Statistics Pro 6
Same name and namespace in other branches
- 6.2 statspro_overview.inc \theme_statspro_content()
1 theme call to theme_statspro_content()
- statspro_overview in ./
statspro.reports.inc - Callback function for overview page
File
- ./
statspro.reports.inc, line 62 - Include file for statistics report page
Code
function theme_statspro_content($title, $data) {
$output = '<div id="content-area" style="margin-bottom: 30px">';
if (is_array($data)) {
// get overview chart
// $output .= statspro_chart_summary($title, $data);
// theme the table
$header = array(
t('Name'),
t('Value'),
);
$output .= theme('table', $header, $data);
}
else {
$output .= t('No content data available for specified period.');
}
$output .= '</div>';
return $output;
}