ui.c (goaccess-1.6.5) | : | ui.c (goaccess-1.7) | ||
---|---|---|---|---|
skipping to change at line 89 | skipping to change at line 89 | |||
{VISIT_TIMES , 1 , 1 , 1 , 1 , 1 , 1 , 1 , 0 , 0 , 1 , 1 , 1} , | {VISIT_TIMES , 1 , 1 , 1 , 1 , 1 , 1 , 1 , 0 , 0 , 1 , 1 , 1} , | |||
{VIRTUAL_HOSTS , 1 , 1 , 1 , 1 , 1 , 1 , 1 , 0 , 0 , 1 , 0 , 0} , | {VIRTUAL_HOSTS , 1 , 1 , 1 , 1 , 1 , 1 , 1 , 0 , 0 , 1 , 0 , 0} , | |||
{REFERRERS , 1 , 1 , 1 , 1 , 1 , 1 , 1 , 0 , 0 , 1 , 0 , 0} , | {REFERRERS , 1 , 1 , 1 , 1 , 1 , 1 , 1 , 0 , 0 , 1 , 0 , 0} , | |||
{REFERRING_SITES , 1 , 1 , 1 , 1 , 1 , 1 , 1 , 0 , 0 , 1 , 0 , 0} , | {REFERRING_SITES , 1 , 1 , 1 , 1 , 1 , 1 , 1 , 0 , 0 , 1 , 0 , 0} , | |||
{KEYPHRASES , 1 , 1 , 1 , 1 , 1 , 1 , 1 , 0 , 0 , 1 , 0 , 0} , | {KEYPHRASES , 1 , 1 , 1 , 1 , 1 , 1 , 1 , 0 , 0 , 1 , 0 , 0} , | |||
{STATUS_CODES , 1 , 1 , 1 , 1 , 1 , 1 , 1 , 0 , 0 , 1 , 0 , 0} , | {STATUS_CODES , 1 , 1 , 1 , 1 , 1 , 1 , 1 , 0 , 0 , 1 , 0 , 0} , | |||
{REMOTE_USER , 1 , 1 , 1 , 1 , 1 , 1 , 1 , 0 , 0 , 1 , 0 , 0} , | {REMOTE_USER , 1 , 1 , 1 , 1 , 1 , 1 , 1 , 0 , 0 , 1 , 0 , 0} , | |||
{CACHE_STATUS , 1 , 1 , 1 , 1 , 1 , 1 , 1 , 0 , 0 , 1 , 0 , 0} , | {CACHE_STATUS , 1 , 1 , 1 , 1 , 1 , 1 , 1 , 0 , 0 , 1 , 0 , 0} , | |||
#ifdef HAVE_GEOLOCATION | #ifdef HAVE_GEOLOCATION | |||
{GEO_LOCATION , 1 , 1 , 1 , 1 , 1 , 1 , 1 , 0 , 0 , 1 , 0 , 0} , | {GEO_LOCATION , 1 , 1 , 1 , 1 , 1 , 1 , 1 , 0 , 0 , 1 , 0 , 0} , | |||
{ASN , 1 , 1 , 1 , 1 , 1 , 1 , 1 , 0 , 0 , 1 , 0 , 0} , | ||||
#endif | #endif | |||
{MIME_TYPE , 1 , 1 , 1 , 1 , 1 , 1 , 1 , 0 , 0 , 1 , 0 , 0} , | {MIME_TYPE , 1 , 1 , 1 , 1 , 1 , 1 , 1 , 0 , 0 , 1 , 0 , 0} , | |||
{TLS_TYPE , 1 , 1 , 1 , 1 , 1 , 1 , 1 , 0 , 0 , 1 , 0 , 0} , | {TLS_TYPE , 1 , 1 , 1 , 1 , 1 , 1 , 1 , 0 , 0 , 1 , 0 , 0} , | |||
}; | }; | |||
/* *INDENT-ON* */ | /* *INDENT-ON* */ | |||
/* Structure to display overall statistics */ | /* Structure to display overall statistics */ | |||
typedef struct Field_ { | typedef struct Field_ { | |||
const char *field; | const char *field; | |||
/* char due to log, bw, log_file */ | /* char due to log, bw, log_file */ | |||
skipping to change at line 279 | skipping to change at line 280 | |||
VISIT_TIMES_LABEL, | VISIT_TIMES_LABEL, | |||
VIRTUAL_HOSTS_LABEL, | VIRTUAL_HOSTS_LABEL, | |||
REFERRERS_LABEL, | REFERRERS_LABEL, | |||
REFERRING_SITES_LABEL, | REFERRING_SITES_LABEL, | |||
KEYPHRASES_LABEL, | KEYPHRASES_LABEL, | |||
STATUS_CODES_LABEL, | STATUS_CODES_LABEL, | |||
REMOTE_USER_LABEL, | REMOTE_USER_LABEL, | |||
CACHE_STATUS_LABEL, | CACHE_STATUS_LABEL, | |||
#ifdef HAVE_GEOLOCATION | #ifdef HAVE_GEOLOCATION | |||
GEO_LOCATION_LABEL, | GEO_LOCATION_LABEL, | |||
ASN_LABEL, | ||||
#endif | #endif | |||
MIME_TYPE_LABEL, | MIME_TYPE_LABEL, | |||
TLS_TYPE_LABEL, | TLS_TYPE_LABEL, | |||
}; | }; | |||
return _(modules[module]); | return _(modules[module]); | |||
} | } | |||
/* Get the module/panel label id for the given module enum value. | /* Get the module/panel label id for the given module enum value. | |||
* | * | |||
skipping to change at line 310 | skipping to change at line 312 | |||
VISIT_TIMES_ID, | VISIT_TIMES_ID, | |||
VIRTUAL_HOSTS_ID, | VIRTUAL_HOSTS_ID, | |||
REFERRERS_ID, | REFERRERS_ID, | |||
REFERRING_SITES_ID, | REFERRING_SITES_ID, | |||
KEYPHRASES_ID, | KEYPHRASES_ID, | |||
STATUS_CODES_ID, | STATUS_CODES_ID, | |||
REMOTE_USER_ID, | REMOTE_USER_ID, | |||
CACHE_STATUS_ID, | CACHE_STATUS_ID, | |||
#ifdef HAVE_GEOLOCATION | #ifdef HAVE_GEOLOCATION | |||
GEO_LOCATION_ID, | GEO_LOCATION_ID, | |||
ASN_ID, | ||||
#endif | #endif | |||
MIME_TYPE_ID, | MIME_TYPE_ID, | |||
TLS_TYPE_ID, | TLS_TYPE_ID, | |||
}; | }; | |||
return _(modules[module]); | return _(modules[module]); | |||
} | } | |||
/* Get the module/panel label header for the given module enum value. | /* Get the module/panel label header for the given module enum value. | |||
* | * | |||
skipping to change at line 341 | skipping to change at line 344 | |||
VISIT_TIMES_HEAD, | VISIT_TIMES_HEAD, | |||
VIRTUAL_HOSTS_HEAD, | VIRTUAL_HOSTS_HEAD, | |||
REFERRERS_HEAD, | REFERRERS_HEAD, | |||
REFERRING_SITES_HEAD, | REFERRING_SITES_HEAD, | |||
KEYPHRASES_HEAD, | KEYPHRASES_HEAD, | |||
STATUS_CODES_HEAD, | STATUS_CODES_HEAD, | |||
REMOTE_USER_HEAD, | REMOTE_USER_HEAD, | |||
CACHE_STATUS_HEAD, | CACHE_STATUS_HEAD, | |||
#ifdef HAVE_GEOLOCATION | #ifdef HAVE_GEOLOCATION | |||
GEO_LOCATION_HEAD, | GEO_LOCATION_HEAD, | |||
ASN_HEAD, | ||||
#endif | #endif | |||
MIME_TYPE_HEAD, | MIME_TYPE_HEAD, | |||
TLS_TYPE_HEAD, | TLS_TYPE_HEAD, | |||
}; | }; | |||
if (!conf.ignore_crawlers) | if (!conf.ignore_crawlers) | |||
modules[VISITORS] = VISITORS_HEAD_BOTS; | modules[VISITORS] = VISITORS_HEAD_BOTS; | |||
return _(modules[module]); | return _(modules[module]); | |||
} | } | |||
skipping to change at line 376 | skipping to change at line 380 | |||
VISIT_TIMES_DESC, | VISIT_TIMES_DESC, | |||
VIRTUAL_HOSTS_DESC, | VIRTUAL_HOSTS_DESC, | |||
REFERRERS_DESC, | REFERRERS_DESC, | |||
REFERRING_SITES_DESC, | REFERRING_SITES_DESC, | |||
KEYPHRASES_DESC, | KEYPHRASES_DESC, | |||
STATUS_CODES_DESC, | STATUS_CODES_DESC, | |||
REMOTE_USER_DESC, | REMOTE_USER_DESC, | |||
CACHE_STATUS_DESC, | CACHE_STATUS_DESC, | |||
#ifdef HAVE_GEOLOCATION | #ifdef HAVE_GEOLOCATION | |||
GEO_LOCATION_DESC, | GEO_LOCATION_DESC, | |||
ASN_DESC, | ||||
#endif | #endif | |||
MIME_TYPE_DESC, | MIME_TYPE_DESC, | |||
TLS_TYPE_DESC, | TLS_TYPE_DESC, | |||
}; | }; | |||
return _(modules[module]); | return _(modules[module]); | |||
} | } | |||
/* Rerender the header window to reflect active module. */ | /* Rerender the header window to reflect active module. */ | |||
void | void | |||
End of changes. 5 change blocks. | ||||
0 lines changed or deleted | 5 lines changed or added |