From 66e957e85e7f59a48c60368f54618ee38e5ffa15 Mon Sep 17 00:00:00 2001 From: tbrehm Date: Sun, 25 Oct 2009 13:11:32 +0000 Subject: [PATCH] Added: FS#938 - Add `also_notify` and `update_acl` to mydns table --- install/sql/ispconfig3.sql | 2 + interface/web/dns/form/dns_soa.tform.php | 16 ++ interface/web/dns/lib/lang/en_dns_soa.lng | 2 + interface/web/dns/templates/dns_soa_edit.htm | 181 ++++++++++--------- 4 files changed, 115 insertions(+), 86 deletions(-) diff --git a/install/sql/ispconfig3.sql b/install/sql/ispconfig3.sql index 84ee263754..d863a59f40 100644 --- a/install/sql/ispconfig3.sql +++ b/install/sql/ispconfig3.sql @@ -231,6 +231,8 @@ CREATE TABLE `dns_soa` ( `ttl` int(11) unsigned NOT NULL default '86400', `active` enum('N','Y') NOT NULL, `xfer` varchar(255) NOT NULL, + `also_notify` varchar(255) default NULL, + `update_acl` varchar(255) default NULL, PRIMARY KEY (`id`), UNIQUE KEY `origin` (`origin`), KEY `active` (`active`) diff --git a/interface/web/dns/form/dns_soa.tform.php b/interface/web/dns/form/dns_soa.tform.php index 7a63938a45..1a688ea24a 100644 --- a/interface/web/dns/form/dns_soa.tform.php +++ b/interface/web/dns/form/dns_soa.tform.php @@ -172,6 +172,22 @@ $form["tabs"]['dns_soa'] = array ( 'width' => '30', 'maxlength' => '255' ), + 'also_notify' => array ( + 'datatype' => 'VARCHAR', + 'formtype' => 'TEXT', + 'default' => '', + 'value' => '', + 'width' => '30', + 'maxlength' => '255' + ), + 'update_acl' => array ( + 'datatype' => 'VARCHAR', + 'formtype' => 'TEXT', + 'default' => '', + 'value' => '', + 'width' => '30', + 'maxlength' => '255' + ), 'active' => array ( 'datatype' => 'VARCHAR', 'formtype' => 'CHECKBOX', diff --git a/interface/web/dns/lib/lang/en_dns_soa.lng b/interface/web/dns/lib/lang/en_dns_soa.lng index e97fb24689..3c9a5b0a52 100644 --- a/interface/web/dns/lib/lang/en_dns_soa.lng +++ b/interface/web/dns/lib/lang/en_dns_soa.lng @@ -21,4 +21,6 @@ $wb["origin_error_regex"] = 'Zone has a invalid format.'; $wb["ns_error_regex"] = 'NS has a invalid format.'; $wb["mbox_error_empty"] = 'Email is empty.'; $wb["mbox_error_regex"] = 'Email format invalid.'; +$wb["also_notify_txt"] = 'Also Notify'; +$wb["update_acl_txt"] = 'Update ACL'; ?> \ No newline at end of file diff --git a/interface/web/dns/templates/dns_soa_edit.htm b/interface/web/dns/templates/dns_soa_edit.htm index 9616ea7006..46a9243f66 100644 --- a/interface/web/dns/templates/dns_soa_edit.htm +++ b/interface/web/dns/templates/dns_soa_edit.htm @@ -1,86 +1,95 @@ -

-

- -
- -
-
DNS Zone - -
- - -
-
- - -
-
- -
- - -
-
-
- - -

e.g. domain.tld.

-
-
- - -

e.g. ns1.domain.tld.

-
-
- - -

e.g. webmaster.domain.tld.

-
-
- -  Seconds -
-
- -  Seconds -
-
- -  Seconds -
-
- -  Seconds -
-
- -  Seconds -
-
- - -
-
-

{tmpl_var name='active_txt'}

-
- {tmpl_var name='active'} -
-
-
- - - - -
- - -
-
- -
+

+

+ +
+ +
+
DNS Zone + +
+ + +
+
+ + +
+
+ +
+ + +
+
+
+ + +

e.g. domain.tld.

+
+
+ + +

e.g. ns1.domain.tld.

+
+
+ + +

e.g. webmaster.domain.tld.

+
+
+ +  Seconds +
+
+ +  Seconds +
+
+ +  Seconds +
+
+ +  Seconds +
+
+ +  Seconds +
+
+ + +
+
+ + +
+
+ + +
+ +
+

{tmpl_var name='active_txt'}

+
+ {tmpl_var name='active'} +
+
+
+ + + + +
+ + +
+
+ +
-- GitLab