From 2bb29c1687c096f4fb36209c43e7763f60082dd7 Mon Sep 17 00:00:00 2001 From: Warren Baker Date: Thu, 5 Apr 2012 12:59:54 +0200 Subject: A whole bunch of changes to the general settings page and advanced settings --- usr/local/www/services_unbound.php | 185 +++++++++++++++++++------------------ 1 file changed, 93 insertions(+), 92 deletions(-) (limited to 'usr/local/www/services_unbound.php') diff --git a/usr/local/www/services_unbound.php b/usr/local/www/services_unbound.php index a3f90d7..9910133 100644 --- a/usr/local/www/services_unbound.php +++ b/usr/local/www/services_unbound.php @@ -36,8 +36,8 @@ ##|+PRIV ##|*IDENT=page-services-unbound -##|*NAME=Services: Unbound DNS page -##|*DESCR=Allow access to the 'Services: Unbound DNS' page. +##|*NAME=Services: DNS Resolver page +##|*DESCR=Allow access to the 'Services: DNS Resolver' page. ##|*MATCH=services_unbound.php* ##|-PRIV @@ -69,7 +69,7 @@ if ($_POST) { $config['unbound']['custom_options'] = str_replace("\r\n", "\n", $_POST['custom_options']); if (!$input_errors) { - write_config("Unbound DNS configured."); + write_config("DNS Resolver configured."); $retval = 0; $retval = services_unbound_configure(); @@ -80,7 +80,7 @@ if ($_POST) { } } -$pgtitle = array(gettext("Services"),gettext("Unbound DNS")); +$pgtitle = array(gettext("Services"),gettext("DNS Resolver")); include_once("head.inc"); ?> @@ -106,7 +106,7 @@ function enable_change(enable_over) {

-" . gettext("You must apply the changes in order for them to take effect."));?>
+" . gettext("You must apply the changes in order for them to take effect."));?>
@@ -115,105 +115,106 @@ function enable_change(enable_over) { $tab_array = array(); $tab_array[] = array(gettext("General settings"), true, "services_unbound.php"); $tab_array[] = array(gettext("Advanced settings"), false, "services_unbound_advanced.php"); + $tab_array[] = array(gettext("Access Lists"), false, "/services_unbound_acls.php"); display_top_tabs($tab_array, true); ?> - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

- onClick="enable_change(false)"> -
-

- -
-
-
-

- /> -
-

- /> -
-

- > -
-
','')?>

-

- > -
-
','');?>

-

- > -
-

-
- " onclick="enable_change(true)"/> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+ onClick="enable_change(false)"> +
+

+ +
+
+
+

+ /> +
+

+ /> +
+

+ > +
+
','')?>

+

+ > +
+
','');?>

+

+ > +
+

+
+ " onclick="enable_change(true)"/> +
-


-