Statistics updates
This commit is contained in:
17
admin.php
17
admin.php
@@ -34,6 +34,7 @@ class admin_plugin_botmon extends AdminPlugin {
|
||||
|
||||
// display GeoIP data?
|
||||
$geoIPconf = $this->getConf('geoiplib');
|
||||
$useCaptchaConf = ($this->getConf('useCaptcha') !== 'disabled');
|
||||
|
||||
$hasOldLogFiles = $this->hasOldLogFiles();
|
||||
|
||||
@@ -56,7 +57,7 @@ class admin_plugin_botmon extends AdminPlugin {
|
||||
<header id="botmon__today__title">Loading …</header>
|
||||
<div id="botmon__today__content">
|
||||
<details id="botmon__today__overview" open>
|
||||
<summary>Overview</summary>
|
||||
<summary>Bots overview</summary>
|
||||
<div class="botmon_bots_grid" data-geoip="' . $geoIPconf . '">
|
||||
<dl id="botmon__today__botsvshumans"></dl>
|
||||
<dl id="botmon__botslist"></dl>
|
||||
@@ -79,8 +80,18 @@ class admin_plugin_botmon extends AdminPlugin {
|
||||
<dl id="botmon__today__wm_pages"></dl>
|
||||
<dl id="botmon__today__wm_referers"></dl>
|
||||
</div>
|
||||
</details>
|
||||
<details id="botmon__today__visitors">
|
||||
</details>' . NL;
|
||||
if ($useCaptchaConf) {
|
||||
echo ' <details id="botmon__today__captcha">
|
||||
<summary>Captcha statistics</summary>
|
||||
<div class="botmon_captcha_grid">
|
||||
<dl id="botmon__today__cp_humans"></dl>
|
||||
<dl id="botmon__today__cp_sus"></dl>
|
||||
<dl id="botmon__today__cp_bots"></dl>
|
||||
</div>
|
||||
</details>' . NL;
|
||||
}
|
||||
echo ' <details id="botmon__today__visitors">
|
||||
<summary>Visitor logs</summary>
|
||||
<div id="botmon__today__visitorlists"></div>
|
||||
</details>
|
||||
|
||||
Reference in New Issue
Block a user