function _statistics_format_item in Drupal 4
Same name and namespace in other branches
- 5 modules/statistics/statistics.module \_statistics_format_item()
- 6 modules/statistics/statistics.module \_statistics_format_item()
- 7 modules/statistics/statistics.module \_statistics_format_item()
3 calls to _statistics_format_item()
- statistics_recent_hits in modules/
statistics.module - Menu callback; presents the "recent hits" page.
- statistics_top_pages in modules/
statistics.module - Menu callback; presents the "top pages" page.
- statistics_user_tracker in modules/
statistics.module
File
- modules/
statistics.module, line 476 - Logs access statistics for your site.
Code
function _statistics_format_item($title, $path) {
global $base_url;
$path = $path ? $path : $base_url;
$output = $title ? "{$title}<br />" : '';
$output .= _statistics_link($path);
return $output;
}