diff --git a/pg-act/reg/ds.php b/pg-act/reg/ds.php index bbfd326..bb4168e 100644 --- a/pg-act/reg/ds.php +++ b/pg-act/reg/ds.php @@ -13,12 +13,12 @@ if ($_POST['dt'] !== '2' AND $_POST['dt'] !== '4') if (preg_match('/^(?:[0-9a-fA-F]{64}|[0-9a-fA-F]{96})$/D', $_POST['key']) !== 1) output(403, 'Wrong value for key.'); -regCheckDomainPossession($_POST['zone']); +regCheckDomainPossession($_POST['domain']); rateLimit(); -knotcZoneExec(regParseDomain($_POST['zone'])['suffix'], [ - $_POST['zone'], +knotcZoneExec(regParseDomain($_POST['domain'])['suffix'], [ + $_POST['domain'], CONF['reg']['ttl'], 'DS', $_POST['keytag'], diff --git a/pg-act/reg/glue.php b/pg-act/reg/glue.php index 3ceecf9..a7a8ca9 100644 --- a/pg-act/reg/glue.php +++ b/pg-act/reg/glue.php @@ -1,11 +1,11 @@
@@ -9,18 +9,19 @@

- +

@@ -30,7 +31,7 @@ foreach (nsListUserZones() as $zone)

- +
diff --git a/pg-view/reg/ds.php b/pg-view/reg/ds.php index ef1a6ae..7338136 100644 --- a/pg-view/reg/ds.php +++ b/pg-view/reg/ds.php @@ -1,19 +1,7 @@
- - +
- -
- +

diff --git a/pg-view/reg/glue.php b/pg-view/reg/glue.php index d1aab56..44ca00a 100644 --- a/pg-view/reg/glue.php +++ b/pg-view/reg/glue.php @@ -1,9 +1,5 @@ - - +
@@ -12,15 +8,7 @@
- -
- +

diff --git a/pg-view/reg/ns.php b/pg-view/reg/ns.php index 2315f05..b092e63 100644 --- a/pg-view/reg/ns.php +++ b/pg-view/reg/ns.php @@ -1,19 +1,7 @@ - - +
- -
- +

diff --git a/pg-view/reg/print.php b/pg-view/reg/print.php index bddca80..f59c6f4 100644 --- a/pg-view/reg/print.php +++ b/pg-view/reg/print.php @@ -1,12 +1,5 @@ - - +
diff --git a/pg-view/reg/select-action.inc.php b/pg-view/reg/select-action.inc.php new file mode 100644 index 0000000..cfc5d3c --- /dev/null +++ b/pg-view/reg/select-action.inc.php @@ -0,0 +1,5 @@ + + diff --git a/pg-view/reg/select-domain.inc.php b/pg-view/reg/select-domain.inc.php new file mode 100644 index 0000000..0902483 --- /dev/null +++ b/pg-view/reg/select-domain.inc.php @@ -0,0 +1,11 @@ + +
+