summaryrefslogtreecommitdiffstats
path: root/src/usr/local/www/status_logs_vpn.php
diff options
context:
space:
mode:
Diffstat (limited to 'src/usr/local/www/status_logs_vpn.php')
-rw-r--r--src/usr/local/www/status_logs_vpn.php8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/usr/local/www/status_logs_vpn.php b/src/usr/local/www/status_logs_vpn.php
index 2d3c6a8..6844595 100644
--- a/src/usr/local/www/status_logs_vpn.php
+++ b/src/usr/local/www/status_logs_vpn.php
@@ -186,17 +186,19 @@ if (!$rawfilter) {
<td>
<?=htmlspecialchars($filterent['time'])?>
</td>
- <td>
+ <td style="word-wrap:break-word; word-break:break-all; white-space:normal">
<? if ($filterent['action'] == "login") { ?>
<i class="fa fa-arrow-left" title="in"></i>
- <? } else { ?>
+ <? } else if ($filterent['action'] == "logout") { ?>
<i class="fa fa-arrow-right" title="out"></i>
+ <? } else { ?>
+ <i><?=htmlspecialchars($filterent['action'])?></i>
<? } ?>
</td>
<td>
<?=htmlspecialchars($filterent['user'])?>
</td>
- <td style="word-wrap:break-word; word-break:break-all; white-space:normal">
+ <td>
<?=htmlspecialchars($filterent['ip_address'])?>
</td>
</tr>
OpenPOWER on IntegriCloud