Visitor logs
Enable showing visitor logs
This commit is contained in:
@@ -46,15 +46,15 @@ class admin_plugin_botmon extends AdminPlugin {
|
||||
echo '</ul></nav>';
|
||||
|
||||
// Beta warning message:
|
||||
echo '<div class="info"><strong>Please note:</strong> This plugin is still in the early stages of development and does not (yet) clean up its <code>logs</code> directory.<br>To avoid taking up too much space on your server, please remove older logs manually!</div>';
|
||||
echo '<div class="info"><strong>Please note:</strong> This plugin is still in the early stages of development and does not (yet) clean up its <code>logs</code> directory.<br>You can clean up the old log files by <a href="' . $pluginPath . '/cleanup.php" target="_blank">clicking here</a>, or by adding the cleanup script to your cron jobs.</div>';
|
||||
|
||||
/* Live tab */
|
||||
echo '<article role="tabpanel" id="botmon__today"">';
|
||||
echo '<h2 class="a11y">Today</h2>';
|
||||
echo '<header id="botmon__today__title">Loading …</header>';
|
||||
echo '<div id="botmon__today__content">';
|
||||
echo '<details id="botmon__today__visitors"><summary>Visitor log</summary>';
|
||||
echo '<ul id="botmon__today__visitorlist"></ul>';
|
||||
echo '<details id="botmon__today__visitors"><summary>Visitor logs</summary>';
|
||||
echo '<div id="botmon__today__visitorlists"></div>';
|
||||
echo '</details></div>';
|
||||
echo '<footer aria-live="polite"><img src="' . $pluginPath . '/img/spinner.svg" id="botmon__today__busy" width="12" height="12" alt="busy indicator"><span id="botmon__today__status">Initialising …</span></footer>';
|
||||
echo '</article>';
|
||||
|
||||
Reference in New Issue
Block a user