aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2008-10-25 06:29:09 +0000
committerScott Ullrich <sullrich@pfsense.org>2008-10-25 06:29:09 +0000
commit0cf4ec3dd70800ea41103395e69d01b56209ee8a (patch)
treeb860d75d24d554bfd6b6d6cc20ba5d0dc25973ae
parentfd3748cfecf4c8b159fe97145ab1fe7f0e8d7078 (diff)
downloadpfsense-packages-0cf4ec3dd70800ea41103395e69d01b56209ee8a.tar.gz
pfsense-packages-0cf4ec3dd70800ea41103395e69d01b56209ee8a.tar.bz2
pfsense-packages-0cf4ec3dd70800ea41103395e69d01b56209ee8a.zip
Make 1.2 friendly again
-rw-r--r--packages/tinydns/tinydns.xml10
-rw-r--r--packages/tinydns/tinydns_domains.xml6
-rw-r--r--packages/tinydns/tinydns_sync.xml7
3 files changed, 22 insertions, 1 deletions
diff --git a/packages/tinydns/tinydns.xml b/packages/tinydns/tinydns.xml
index 0e5f06a0..feee7ecb 100644
--- a/packages/tinydns/tinydns.xml
+++ b/packages/tinydns/tinydns.xml
@@ -154,6 +154,7 @@
<field>
<type>listtopic</type>
<name>Binding IP Address</name>
+ <fieldname>temp</fieldname>
</field>
<field>
<fielddescr>IP Address</fielddescr>
@@ -164,6 +165,7 @@
<field>
<type>listtopic</type>
<name>DNS-Cache server</name>
+ <fieldname>temp</fieldname>
</field>
<field>
<fielddescr>Enable DNS Forwarders</fielddescr>
@@ -186,6 +188,7 @@
<field>
<type>listtopic</type>
<name>Monitoring address refresh interval</name>
+ <fieldname>temp</fieldname>
</field>
<field>
<fielddescr>Refresh Interval</fielddescr>
@@ -196,6 +199,7 @@
<field>
<type>listtopic</type>
<name>Sync TinyDNS settings via XMLRPC</name>
+ <fieldname>temp</fieldname>
</field>
<field>
<fielddescr>XMLRPC Sync</fielddescr>
@@ -206,6 +210,7 @@
<field>
<type>listtopic</type>
<name>Advanced tunables (OPTIONAL)</name>
+ <fieldname>temp</fieldname>
</field>
<field>
<fielddescr>Minimum segment size</fielddescr>
@@ -272,4 +277,7 @@
tinydns_custom_php_deinstall_command();
tinydns_sync_on_changes();
</custom_php_deinstall_command>
-</packagegui>
+ <custom_php_command_before_form>
+ unset($_POST['temp']);
+ </custom_php_command_before_form>
+</packagegui> \ No newline at end of file
diff --git a/packages/tinydns/tinydns_domains.xml b/packages/tinydns/tinydns_domains.xml
index ddaec61a..1aeafe78 100644
--- a/packages/tinydns/tinydns_domains.xml
+++ b/packages/tinydns/tinydns_domains.xml
@@ -95,6 +95,7 @@
<field>
<type>listtopic</type>
<name>General</name>
+ <fieldname>temp</fieldname>
</field>
<field>
<fielddescr>Hostname or FQDN www.exampledomain.com</fielddescr>
@@ -139,6 +140,7 @@
<field>
<type>listtopic</type>
<name>Reverse lookup</name>
+ <fieldname>temp</fieldname>
</field>
<field>
<fielddescr>Automatic PTR entry</fielddescr>
@@ -149,6 +151,7 @@
<field>
<type>listtopic</type>
<name>Failover</name>
+ <fieldname>temp</fieldname>
</field>
<field>
<fielddescr>IP to ping to ensure service is up</fielddescr>
@@ -225,4 +228,7 @@
log_error("Ping items done.");
tinydns_sync_on_changes();
</custom_php_resync_config_command>
+ <custom_php_command_before_form>
+ unset($_POST['temp']);
+ </custom_php_command_before_form>
</packagegui>
diff --git a/packages/tinydns/tinydns_sync.xml b/packages/tinydns/tinydns_sync.xml
index ca7af41d..c016ad5c 100644
--- a/packages/tinydns/tinydns_sync.xml
+++ b/packages/tinydns/tinydns_sync.xml
@@ -76,6 +76,7 @@
<fields>
<field>
<type>listtopic</type>
+ <fieldname>temp</fieldname>
<name>Enbable DNS zone sync</name>
</field>
<field>
@@ -87,6 +88,7 @@
<field>
<type>listtopic</type>
<name>Sync host #1</name>
+ <fieldname>temp</fieldname>
</field>
<field>
<fielddescr>IP Address</fielddescr>
@@ -103,6 +105,7 @@
<field>
<type>listtopic</type>
<name>Sync host #2</name>
+ <fieldname>temp</fieldname>
</field>
<field>
<fielddescr>IP Address 2</fielddescr>
@@ -119,6 +122,7 @@
<field>
<type>listtopic</type>
<name>Sync host #3</name>
+ <fieldname>temp</fieldname>
</field>
<field>
<fielddescr>IP Address 3</fielddescr>
@@ -136,4 +140,7 @@
<custom_php_resync_config_command>
tinydns_sync_on_changes();
</custom_php_resync_config_command>
+ <custom_php_command_before_form>
+ unset($_POST['temp']);
+ </custom_php_command_before_form>
</packagegui> \ No newline at end of file