summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorNOYB <Al_Stu@Frontier.com>2016-01-06 14:14:25 -0800
committerStephen Beaver <sbeaver@netgate.com>2016-01-07 13:29:29 -0500
commit3f420f848153aa87ec1be915aab73805418da769 (patch)
treed5eceb9f2c69b8aed6d5f9921a94ec819bd2a80b /src
parent58736bf340e563b851cc185cf5390f17ab4a3711 (diff)
downloadpfsense-3f420f848153aa87ec1be915aab73805418da769.zip
pfsense-3f420f848153aa87ec1be915aab73805418da769.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