diff --git a/usr/local/www/services_rfc2136.php b/usr/local/www/services_rfc2136.php index 563ee26ae4..3763182b88 100644 --- a/usr/local/www/services_rfc2136.php +++ b/usr/local/www/services_rfc2136.php @@ -44,17 +44,16 @@ if (!is_array($config['dnsupdates']['dnsupdate'])) $a_rfc2136 = &$config['dnsupdates']['dnsupdate']; if ($_GET['act'] == "del") { - unset($a_rfc2136[$_GET['id']]); + unset($a_rfc2136[$_GET['id']]); - write_config(); + write_config(); - header("Location: services_rfc2136.php"); - exit; + header("Location: services_rfc2136.php"); + exit; } $pgtitle = array(gettext("Services"), gettext("RFC 2136 clients")); include("head.inc"); - ?> @@ -62,61 +61,80 @@ include("head.inc");
- + + + -
+
-
-
- - - - - - - - - - - - - - - - - - - - - - - -
- $ifdesc): - if ($rfc2136['interface'] == $if): ?> - - - - - -   - -  ')">
 

-
-
- -

 
-
+
+
+ + + + + + + + + + + + + + + + + + + + + + + +
+ $ifdesc) { + if ($rfc2136['interface'] == $if) { + if (!isset($rfc2136['enable'])) + echo "{$ifdesc}"; + else + echo "{$ifdesc}"; + break; + } + } + ?> + + ".htmlspecialchars($rfc2136['host']).""; + else + echo htmlspecialchars($rfc2136['host']); + ?> + + ".htmlspecialchars($rfc2136['descr']).""; + else + echo htmlspecialchars($rfc2136['descr']); + ?> + + +  ')"> +
 
+


+
 
+
- + \ No newline at end of file