Skip to content

Commit

Permalink
Restore data in admin overview
Browse files Browse the repository at this point in the history
  • Loading branch information
annda committed Nov 16, 2020
1 parent a1616d6 commit 1506a4f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions admin.php
Expand Up @@ -135,10 +135,10 @@ public function html()
}

echo '<tr>';
echo '<td>' . strftime($dateFormat, $dt) . '</td>';
echo '<td>' . hsc($ip) . '</td>';
echo '<td>' . hsc($user) . '</td>';
echo '<td><span class="loglog_' . $class . '">' . $msg . '</span></td>';
echo '<td>' . strftime($dateFormat, $line['dt']) . '</td>';
echo '<td>' . hsc($line['ip']) . '</td>';
echo '<td>' . hsc($line['user']) . '</td>';
echo '<td><span class="loglog_' . $class . '">' . $line['msg'] . '</span></td>';
echo '<td>';
if ($line['data']) {
// logs contain single-line JSON data, so we have to decode and encode it again for pretty print
Expand Down
2 changes: 1 addition & 1 deletion plugin.info.txt
@@ -1,7 +1,7 @@
base loglog
author Andreas Gohr, Anna Dabrowska
email dokuwiki@cosmocode.de
date 2020-11-12
date 2020-11-16
name Login/Logout logging plugin
desc Log logins, logouts and admin activity to a file
url http://www.dokuwiki.org/plugin:loglog

0 comments on commit 1506a4f

Please sign in to comment.