summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorNOYB <Al_Stu@Frontier.com>2016-01-06 14:14:25 -0800
committerNOYB <Al_Stu@Frontier.com>2016-01-06 14:14:25 -0800
commitf87304f7c0671e88b2f7ee34082989160f2d7b27 (patch)
treecda2dc04db6374b030371455fa627f11026ec3ac /src
parentd78fb6230f29d86791db2de9293ef2f83ff1429c (diff)
downloadpfsense-f87304f7c0671e88b2f7ee34082989160f2d7b27.zip
pfsense-f87304f7c0671e88b2f7ee34082989160f2d7b27.tar.gz
If action is not 'login' or 'logout' then display text of action.
Allow long action text to line wrap. Don't line wrap IP address.
Diffstat (limited to 'src')
-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