--- statistics_advanced.admin.inc.ORIGINAL 2009-01-14 03:07:33.000000000 +0100 +++ statistics_advanced.admin.inc 2009-04-09 09:41:59.000000000 +0200 @@ -25,11 +25,19 @@ function statistics_advanced_settings_fo } } + $form['statistics_advanced_ignore_ip_list'] = array( + '#type' => 'textarea', + '#title' => t('Do not log visits from listed IPs'), + '#description' => t('Enter comma-separated list of IPs to be excluded from statistics'), + '#default_value' => variable_get('statistics_advanced_ignore_ip_list', ''), + '#required' => FALSE, + ); + $form['statistics_advanced_ignore_crawlers'] = array( '#type' => 'checkbox', '#title' => t('Do not log visits from search engines and crawlers'), '#description' => t('This feature requires the browscap module. If enabled, crawlers will not increase the node counters or be logged in the access log.', array('@link' => 'http://drupal.org/project/browscap')), '#disabled' => !module_exists('browscap') && (!$accesslog_enabled && !$counter_enabled), );