aboutsummaryrefslogtreecommitdiffstats
path: root/packages/tinydns/tinydns_sync.xml
diff options
context:
space:
mode:
authorDaniel Stefan Haischt <dsh@pfsense.org>2007-09-01 04:10:13 +0000
committerDaniel Stefan Haischt <dsh@pfsense.org>2007-09-01 04:10:13 +0000
commit9f2521ca8351e454e03193ddccbf5eb2166ec1fd (patch)
tree2df2d2ba5cf8123d90bb81b1039c3cec071330e0 /packages/tinydns/tinydns_sync.xml
parent188234df1c9d986f8a7fc80d0f57cbd91125fb14 (diff)
downloadpfsense-packages-9f2521ca8351e454e03193ddccbf5eb2166ec1fd.tar.gz
pfsense-packages-9f2521ca8351e454e03193ddccbf5eb2166ec1fd.tar.bz2
pfsense-packages-9f2521ca8351e454e03193ddccbf5eb2166ec1fd.zip
* added copyright header to each file
* added XSL stylesheet to each file * added DTD to some files (TODO: Add DTD to the remaining files and validate them against the DTD) * added a Document Type Definition which allows to validate package files
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>