aboutsummaryrefslogtreecommitdiffstats
path: root/packages/tinydns/tinydns_sync.xml
diff options
context:
space:
mode:
Diffstat (limited to 'packages/tinydns/tinydns_sync.xml')
-rw-r--r--packages/tinydns/tinydns_sync.xml13
1 files changed, 7 insertions, 6 deletions
diff --git a/packages/tinydns/tinydns_sync.xml b/packages/tinydns/tinydns_sync.xml
index 2097acc0..2156aaba 100644
--- a/packages/tinydns/tinydns_sync.xml
+++ b/packages/tinydns/tinydns_sync.xml
@@ -1,4 +1,5 @@
<?xml version="1.0" encoding="utf-8" ?>
+<!DOCTYPE packagegui SYSTEM "../schema/packages.dtd">
<?xml-stylesheet type="text/xsl" href="../xsl/package.xsl"?>
<packagegui>
<copyright>
@@ -46,11 +47,7 @@
<faq>Currently there are no FAQ items provided.</faq>
<name>tinydnssync</name>
<version>1.0</version>
- <configpath>installedpackages->package->tinydns</configpath>
<title>TinyDNS: Manual Sync</title>
- <custom_php_resync_config_command>
- tinydns_do_xmlrpc_sync($_POST['ipaddress'], $_POST['password']);
- </custom_php_resync_config_command>
<include_file>/usr/local/pkg/tinydns.inc</include_file>
<tabs>
<tab>
@@ -79,18 +76,22 @@
<active/>
</tab>
</tabs>
+ <configpath>installedpackages->package->tinydns</configpath>
<fields>
<field>
- <fieldname>ipaddress</fieldname>
<fielddescr>IP Address</fielddescr>
+ <fieldname>ipaddress</fieldname>
<description>The IP address that TinyDNS will Sync its data to.</description>
<type>input</type>
</field>
<field>
- <fieldname>password</fieldname>
<fielddescr>Password</fielddescr>
+ <fieldname>password</fieldname>
<description>Admin password on remote firewall to faciliate sync</description>
<type>password</type>
</field>
</fields>
+ <custom_php_resync_config_command>
+ tinydns_do_xmlrpc_sync($_POST['ipaddress'], $_POST['password']);
+ </custom_php_resync_config_command>
</packagegui>