From ec437bd2e056cf2cbce378c30a88ac56a2c55d2e Mon Sep 17 00:00:00 2001 From: Warren Baker Date: Sun, 12 Jun 2011 16:09:39 +0200 Subject: Cater for Advanced page. --- config/unbound/unbound_acls.xml | 7 ++++++- config/unbound/unbound_status.php | 11 ++--------- 2 files changed, 8 insertions(+), 10 deletions(-) (limited to 'config/unbound') diff --git a/config/unbound/unbound_acls.xml b/config/unbound/unbound_acls.xml index 028e4bb5..705f781f 100644 --- a/config/unbound/unbound_acls.xml +++ b/config/unbound/unbound_acls.xml @@ -41,7 +41,7 @@ unboundacls 1.4.8 - Services: Unbound DNS Forwarder: ACLs + Services: Unbound DNS Forwarder: Access Lists /usr/local/pkg/unbound.inc Unbound DNS @@ -54,10 +54,15 @@ Unbound DNS Settings /pkg_edit.php?xml=unbound.xml&id=0 + + Unbound DNS Advanced Settings + /pkg_edit.php?xml=unbound_advanced.xml&id=0 + Unbound DNS ACLs /pkg.php?xml=unbound_acls.xml + Unbound DNS Status diff --git a/config/unbound/unbound_status.php b/config/unbound/unbound_status.php index 52dfc49d..405b24d4 100644 --- a/config/unbound/unbound_status.php +++ b/config/unbound/unbound_status.php @@ -39,10 +39,6 @@ if(!is_process_running("unbound")) { $pgtitle = "Services: Unbound DNS Forwarder: Status"; include("head.inc"); -$pfSversion = str_replace("\n", "", file_get_contents("/etc/version")); -if(strstr($pfSversion, "1.2")) - $one_two = true; - function doCmdT($title, $command, $rows) { echo "

\n"; echo "\n"; @@ -121,10 +117,6 @@ function execCmds() { - -

- -
@@ -134,9 +126,10 @@ function execCmds() { -- cgit v1.2.3