function visitors_browscap_menu in Visitors 7.2
Menu callback. Prints a listing of active nodes on the site.
File
- ./
visitors_browscap.module, line 23
Code
function visitors_browscap_menu() {
$items = array();
$items['visitors/browser'] = array(
'title' => 'Browser',
'description' => 'Browser statistics.',
'page callback' => 'visitors_browser',
'access arguments' => array(
'access visitors browser',
),
'file' => 'visitors.admin.inc',
'type' => MENU_NORMAL_ITEM,
);
$items['visitors/browser/chart'] = array(
'title' => 'Browser',
'description' => 'Browser statistics.',
'page callback' => 'chart_visitors_browser',
'access arguments' => array(
'access visitors browser',
),
'file' => 'visitors.admin.inc',
'type' => MENU_CALLBACK,
);
$items['visitors/platform'] = array(
'title' => 'Platform',
'description' => 'View pages count per platform.',
'page callback' => 'visitors_platform',
'access arguments' => array(
'access visitors platform',
),
'file' => 'visitors.admin.inc',
'type' => MENU_NORMAL_ITEM,
);
$items['visitors/platform/chart'] = array(
'title' => 'Platform',
'description' => 'View pages count per platform.',
'page callback' => 'chart_visitors_platform',
'access arguments' => array(
'access visitors platform',
),
'file' => 'visitors.admin.inc',
'type' => MENU_CALLBACK,
);
return $items;
}