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