diff options
author | Stephen Beaver <sbeaver@netgate.com> | 2016-01-11 14:38:34 -0500 |
---|---|---|
committer | Stephen Beaver <sbeaver@netgate.com> | 2016-01-11 14:38:34 -0500 |
commit | 8a088c0b668b011060d7747dbdfafa325921f687 (patch) | |
tree | 36e2c5969f5d02bf57e86bf76b497d18e4482c23 /src/usr/local/www/status_logs_vpn.php | |
parent | f1a912b7f3d1a646245dae854e407b0ecfed6c90 (diff) | |
parent | 2c19274289a1e92c7750e3051052b928fedd9b8c (diff) | |
download | pfsense-8a088c0b668b011060d7747dbdfafa325921f687.zip pfsense-8a088c0b668b011060d7747dbdfafa325921f687.tar.gz |
Merge branch 'Status_-_System_Logs_-_VPN' of https://github.com/NOYB/pfsense
* 'Status_-_System_Logs_-_VPN' of https://github.com/NOYB/pfsense:
Remove unneeded old commented pgtitle var
If action is not 'login' or 'logout' then display text of action.
But only if vpn.log file.
Use the log file path provide from status_logs_common.inc
Fixed up for vpn.log filtering.
Consolidate with status_logs_common.inc
Function is now in guiconfig.inc
Per Colin (PR #2300)
Staus - System - Logs - VPN - Write Config Only
Status - System Logs - VPN
Diffstat (limited to 'src/usr/local/www/status_logs_vpn.php')
-rw-r--r-- | src/usr/local/www/status_logs_vpn.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/usr/local/www/status_logs_vpn.php b/src/usr/local/www/status_logs_vpn.php index 2f9873d..d5457e3 100644 --- a/src/usr/local/www/status_logs_vpn.php +++ b/src/usr/local/www/status_logs_vpn.php @@ -186,13 +186,13 @@ if (!$rawfilter) { <?=htmlspecialchars($filterent['time'])?> </td> <td style="word-wrap:break-word; word-break:break-all; white-space:normal"> - <?php if ($filterent['action'] == "login") { ?> + <? if ($filterent['action'] == "login") { ?> <i class="fa fa-arrow-left" title="in"></i> - <?php } else if ($filterent['action'] == "logout") { ?> + <? } else if ($filterent['action'] == "logout") { ?> <i class="fa fa-arrow-right" title="out"></i> - <?php } else { ?> + <? } else { ?> <i><?=htmlspecialchars($filterent['action'])?></i> - <?php } ?> + <? } ?> </td> <td> <?=htmlspecialchars($filterent['user'])?> |