function theme_search_log_summary in Search Log 6
Same name and namespace in other branches
- 7 search_log.admin.inc \theme_search_log_summary()
Theme report summary information.
1 theme call to theme_search_log_summary()
- search_log_report in ./
search_log.admin.inc - Display search log report.
File
- ./
search_log.admin.inc, line 414 - Admin page callbacks file for the search_log module.
Code
function theme_search_log_summary($total = 0, $unique = 0, $failed = 0) {
$output = '<div><strong>Total searches:</strong> ' . $total . '</div>';
$output .= '<div><strong>Unique search terms:</strong> ' . $unique . ' (' . sprintf("%01.2f", 100 * $unique / $total) . '%)</div>';
$output .= '<div><strong>Failed searches:</strong> ' . $failed . ' (' . sprintf("%01.2f", 100 * $failed / $total) . '%)</div>';
return $output;
}