<?xml version="1.0" encoding="utf-8" ?>
<!DOCTYPE packagegui SYSTEM "../schema/packages.dtd">
<?xml-stylesheet type="text/xsl" href="./xsl/package.xsl"?>
<packagegui>
    <copyright></copyright>
    <description>Describe your package here</description>
    <requirements>Describe your package requirements here</requirements>
    <faq>Currently there are no FAQ items provided.</faq>
	<name>ddns</name>
	<title>DDNS</title>
	<include_file>/usr/local/pkg/fit123.inc</include_file>
	<tabs>
		<tab>
			<text>Fit123</text>
			<url>/pkg_edit.php?xml=fit123.xml&amp;id=0</url>
		</tab>
		<tab>
			<text>DDNS</text>
			<url>/pkg_edit.php?xml=ddns.xml&amp;id=0</url>
			<active/>
		</tab>
		<tab>
			<text>CASS</text>
			<url>/pkg_edit.php?xml=cass.xml&amp;id=0</url>
		</tab>
	</tabs>
	<fields>
		<field>
			<fielddescr>Dynamic DNS</fielddescr>
			<fieldname>enable</fieldname>
			<description>
			A more customize way to update dynamic dns and mainly for IP's that doesn't change very often.&lt;br&gt;
			Will check for ip change every 5 min via local shell script and will only contact provider on change.&lt;br&gt;
			</description>
			<type>checkbox</type>
		</field>
		<field>
			<fielddescr>Enter string that should be phrased</fielddescr>
			<fieldname>line1</fieldname>
			<description>
			String for OpenDNS should look like:&lt;br&gt;
			https://username:password@updates.opendns.com/nic/update?hostname=
			</description>
			<type>textarea</type>
			<cols>80</cols>
                        <rows>1</rows>
		</field>
		<field>
			<fielddescr>Enter 2th string that should be phrased</fielddescr>
			<fieldname>line2</fieldname>
			<description>Leave empty if not used</description>
			<type>textarea</type>
			<cols>80</cols>
                        <rows>1</rows>
		</field>
		<field>
			<fielddescr>Enter 3th string that should be phrased</fielddescr>
			<fieldname>line3</fieldname>
			<description>Leave empty if not used</description>
			<type>textarea</type>
			<cols>80</cols>
                        <rows>1</rows>
		</field>
	</fields>
	<custom_add_php_command></custom_add_php_command>
        <custom_php_command_before_form>ddns_config();</custom_php_command_before_form>
	<custom_php_after_form_command></custom_php_after_form_command>
	<custom_php_validation_command></custom_php_validation_command>
	<custom_php_resync_config_command></custom_php_resync_config_command>
	<custom_php_install_command>Fit123_install_config();</custom_php_install_command>
	<custom_php_deinstall_command>Fit123_install_deinstall();</custom_php_deinstall_command>
</packagegui>