aboutsummaryrefslogtreecommitdiffstats
path: root/config/bind/bind_zones.xml
diff options
context:
space:
mode:
authorMarcello Coutinho <marcellocoutinho@gmail.com>2013-10-10 19:21:28 -0300
committerMarcello Coutinho <marcellocoutinho@gmail.com>2013-10-10 19:21:28 -0300
commit6aea580bbd10faf6e19678de42f800f060c316c4 (patch)
treedd0981de93d691ef1de92f865a306c9594bc99ac /config/bind/bind_zones.xml
parentb46cdd37023fccc545db507b939f70bf8af7f7a0 (diff)
downloadpfsense-packages-6aea580bbd10faf6e19678de42f800f060c316c4.tar.gz
pfsense-packages-6aea580bbd10faf6e19678de42f800f060c316c4.tar.bz2
pfsense-packages-6aea580bbd10faf6e19678de42f800f060c316c4.zip
bind - remove unused functions and change config result file
Diffstat (limited to 'config/bind/bind_zones.xml')
-rw-r--r--config/bind/bind_zones.xml60
1 files changed, 10 insertions, 50 deletions
diff --git a/config/bind/bind_zones.xml b/config/bind/bind_zones.xml
index bef8781b..810fef89 100644
--- a/config/bind/bind_zones.xml
+++ b/config/bind/bind_zones.xml
@@ -50,7 +50,6 @@
<version>none</version>
<title>Bind: Zones Settings</title>
<include_file>/usr/local/pkg/bind.inc</include_file>
- <!-- Menu is where this packages menu will appear -->
<menu>
<name>Bind Server</name>
<tooltiptext></tooltiptext>
@@ -80,8 +79,6 @@
<url>/pkg_edit.php?xml=bind_sync.xml</url>
</tab>
</tabs>
- <!-- configpath gets expanded out automatically and config items will be
- stored in that location -->
<configpath>['installedpackages']['bindzone']['config']</configpath>
<adddeleteeditpagefields>
<columnitem>
@@ -102,8 +99,6 @@
</columnitem>
<movable>on</movable>
</adddeleteeditpagefields>
- <!-- fields gets invoked when the user adds or edits a item. the following items
- will be parsed and rendered for the user as a gui with input, and selectboxes. -->
<fields>
<field>
<type>listtopic</type>
@@ -298,46 +293,16 @@
<description>Select Type Host</description>
<type>select</type>
<options>
- <option>
- <name>A</name>
- <value>A</value>
- </option>
- <option>
- <name>AAAA</name>
- <value>AAAA</value>
- </option>
- <option>
- <name>DNAME</name>
- <value>DNAME</value>
- </option>
- <option>
- <name>MX</name>
- <value>MX</value>
- </option>
- <option>
- <name>CNAME</name>
- <value>CNAME</value>
- </option>
- <option>
- <name>NS</name>
- <value>NS</value>
- </option>
- <option>
- <name>LOC</name>
- <value>LOC</value>
- </option>
- <option>
- <name>SRV</name>
- <value>SRV</value>
- </option>
- <option>
- <name>PTR</name>
- <value>PTR</value>
- </option>
- <option>
- <name>TXT</name>
- <value>TXT</value>
- </option>
+ <option><name>A</name><value>A</value></option>
+ <option><name>AAAA</name><value>AAAA</value></option>
+ <option><name>DNAME</name><value>DNAME</value></option>
+ <option><name>MX</name><value>MX</value></option>
+ <option><name>CNAME</name><value>CNAME</value></option>
+ <option><name>NS</name><value>NS</value></option>
+ <option><name>LOC</name><value>LOC</value></option>
+ <option><name>SRV</name><value>SRV</value></option>
+ <option><name>PTR</name><value>PTR</value></option>
+ <option><name>TXT</name><value>TXT</value></option>
</options>
</rowhelperfield>
<rowhelperfield>
@@ -364,11 +329,6 @@
bind_print_javascript_type_zone();
</custom_php_after_head_command>
<custom_php_command_before_form>
- bind_views_before_form_dest(&amp;$pkg,"bindacls","name","allowtransfer");
- bind_views_before_form_dest(&amp;$pkg,"bindacls","name","allowquery");
- bind_views_before_form_dest(&amp;$pkg,"bindacls","name","allowupdate");
- bind_views_before_form_dest(&amp;$pkg,"bindviews","name","view");
- bind_zone_before_form_dest(&amp;$pkg,"bindzone","name","serial");
</custom_php_command_before_form>
<custom_php_validation_command>
$_POST['serial']=(date("U")+ 1000000000);