summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPhil Davis <phil.davis@inf.org>2015-11-24 23:12:20 +0545
committerPhil Davis <phil.davis@inf.org>2015-11-24 23:12:20 +0545
commit8734251c7825f932265a61596816c5907cce5722 (patch)
tree1561f6d77d0e3d471e375faf8c1b581fd563c90b
parentea62cbe76e50dabdf60edc9007a42cec285a9492 (diff)
downloadpfsense-8734251c7825f932265a61596816c5907cce5722.zip
pfsense-8734251c7825f932265a61596816c5907cce5722.tar.gz
Status IPsec inconsistent Logs tab
For some reason Status->IPsec has a "Logs" tab in addition to the "Overview", "Leases", "SAD" and "SPD" tabs. The "Logs" tab takes you off to the logs screens, and so when you click the tab all the other tabs are gone and are replaced by all the "Logs" interface tabs. That seems odd and inconsistent. Other Status displays do not have this (e.g. Status->DHCP, Status->Load Balancer, Status->OpenVPN. With all these, direct access to the associated log page is by the shortcut icon. Status->IPsec also has the shortcut icon to go to the logs, and it works fine. So I am suggesting to remove the "Logs" tab here.
-rw-r--r--src/usr/local/www/diag_ipsec.php1
-rw-r--r--src/usr/local/www/diag_ipsec_leases.php1
-rw-r--r--src/usr/local/www/diag_ipsec_sad.php1
-rw-r--r--src/usr/local/www/diag_ipsec_spd.php1
4 files changed, 0 insertions, 4 deletions
diff --git a/src/usr/local/www/diag_ipsec.php b/src/usr/local/www/diag_ipsec.php
index f039df7..d84a600 100644
--- a/src/usr/local/www/diag_ipsec.php
+++ b/src/usr/local/www/diag_ipsec.php
@@ -124,7 +124,6 @@ $tab_array[] = array(gettext("Overview"), true, "diag_ipsec.php");
$tab_array[] = array(gettext("Leases"), false, "diag_ipsec_leases.php");
$tab_array[] = array(gettext("SAD"), false, "diag_ipsec_sad.php");
$tab_array[] = array(gettext("SPD"), false, "diag_ipsec_spd.php");
-$tab_array[] = array(gettext("Logs"), false, "diag_logs.php?logfile=ipsec");
display_top_tabs($tab_array);
?>
diff --git a/src/usr/local/www/diag_ipsec_leases.php b/src/usr/local/www/diag_ipsec_leases.php
index b4533f2..e193348 100644
--- a/src/usr/local/www/diag_ipsec_leases.php
+++ b/src/usr/local/www/diag_ipsec_leases.php
@@ -81,7 +81,6 @@ $tab_array[] = array(gettext("Overview"), false, "diag_ipsec.php");
$tab_array[] = array(gettext("Leases"), true, "diag_ipsec_leases.php");
$tab_array[] = array(gettext("SAD"), false, "diag_ipsec_sad.php");
$tab_array[] = array(gettext("SPD"), false, "diag_ipsec_spd.php");
-$tab_array[] = array(gettext("Logs"), false, "diag_logs.php?logfile=ipsec");
display_top_tabs($tab_array);
if (isset($mobile['pool']) && is_array($mobile['pool'])) {
diff --git a/src/usr/local/www/diag_ipsec_sad.php b/src/usr/local/www/diag_ipsec_sad.php
index 2351d7e..0a68c99 100644
--- a/src/usr/local/www/diag_ipsec_sad.php
+++ b/src/usr/local/www/diag_ipsec_sad.php
@@ -92,7 +92,6 @@ $tab_array[] = array(gettext("Overview"), false, "diag_ipsec.php");
$tab_array[] = array(gettext("Leases"), false, "diag_ipsec_leases.php");
$tab_array[] = array(gettext("SAD"), true, "diag_ipsec_sad.php");
$tab_array[] = array(gettext("SPD"), false, "diag_ipsec_spd.php");
-$tab_array[] = array(gettext("Logs"), false, "diag_logs.php?logfile=ipsec");
display_top_tabs($tab_array);
if (count($sad)) {
diff --git a/src/usr/local/www/diag_ipsec_spd.php b/src/usr/local/www/diag_ipsec_spd.php
index ab78ffc..6bd5340 100644
--- a/src/usr/local/www/diag_ipsec_spd.php
+++ b/src/usr/local/www/diag_ipsec_spd.php
@@ -85,7 +85,6 @@ $tab_array[0] = array(gettext("Overview"), false, "diag_ipsec.php");
$tab_array[1] = array(gettext("Leases"), false, "diag_ipsec_leases.php");
$tab_array[2] = array(gettext("SAD"), false, "diag_ipsec_sad.php");
$tab_array[3] = array(gettext("SPD"), true, "diag_ipsec_spd.php");
-$tab_array[4] = array(gettext("Logs"), false, "diag_logs.php?logfile=ipsec");
display_top_tabs($tab_array);
if (count($spd)) {
OpenPOWER on IntegriCloud