<?xml version="1.0" encoding="utf-8"?>
<packagegui>
	<name>freeradiusclients</name>
	<title>FreeRADIUS: Clients</title>
	<include_file>freeradius.inc</include_file>
	<tabs>
                <tab>
                        <text>Users</text>
                        <url>/pkg.php?xml=freeradius.xml</url>
                </tab>
                <tab>
                        <text>Clients</text>
                        <url>/pkg.php?xml=freeradiusclients.xml</url>
			<active/>
                </tab>
                <tab>
                        <text>Settings</text>
                        <url>/pkg_edit.php?xml=freeradiussettings.xml&amp;id=0</url>
                </tab>
        </tabs>
	<adddeleteeditpagefields>
		<columnitem>
			<fielddescr>Client</fielddescr>
			<fieldname>client</fieldname>
		</columnitem>
		<columnitem>
			<fielddescr>Shortname</fielddescr>
			<fieldname>shortname</fieldname>
		</columnitem>
		<columnitem>
			<fielddescr>Description</fielddescr>
			<fieldname>description</fieldname>
		</columnitem>
	</adddeleteeditpagefields>
	<fields>
		<field>
			<fieldname>client</fieldname>
			<fielddescr>Client</fielddescr>
			<description>Enter the client's IP address.</description>
			<type>input</type>
			<required/>
		</field>
		<field>
			<fieldname>shortname</fieldname>
			<fielddescr>Shortname</fielddescr>
			<description>Enter the client's shortname.</description>
			<type>input</type>
			<required/>
		</field>
		<field>
			<fieldname>sharedsecret</fieldname>
			<fielddescr>Shared Secret</fielddescr>
			<description>Enter the client's shared secret here</description>
			<type>password</type>
			<required/>
		</field>
		<field>
			<fieldname>description</fieldname>
			<fielddescr>Description</fielddescr>
			<description>Enter the description of the user here</description>
			<type>input</type>
		</field>
	</fields>
	<custom_delete_php_command>
		freeradius_clients_resync();
	</custom_delete_php_command>
	<custom_php_resync_config_command>
		freeradius_clients_resync();
	</custom_php_resync_config_command>
</packagegui>