<?xml version="1.0" encoding="utf-8" ?>
<packagegui>
	<name>squidextnoauth</name>
	<title>Services: Proxy Server -> Extended Authentication Settings</title>
	<configpath>installedpackages->package->squidextnoauth->configuration->settings</configpath>

	<aftersaveredirect>/pkg_edit.php?xml=squid_extauth.xml&amp;id=0</aftersaveredirect>

	<tabs>
		<tab>
			<text>General Settings</text>
			<url>/pkg_edit.php?xml=squid_ng.xml&amp;id=0</url>
		</tab>

		<tab>
			<text>Upstream Proxy</text>
			<url>/pkg_edit.php?xml=squid_upstream.xml&amp;id=0</url>
		</tab>

		<tab>
			<text>Cache Mgmt</text>
			<url>/pkg_edit.php?xml=squid_cache.xml&amp;id=0</url>
		</tab>

		<tab>
			<text>Network Access Control</text>
			<url>/pkg_edit.php?xml=squid_nac.xml&amp;id=0</url>
		</tab>

		<tab>
			<text>Traffic Mgmt</text>
			<url>/pkg_edit.php?xml=squid_traffic.xml&amp;id=0</url>
		</tab>

		<tab>
			<text>Auth Settings</text>
			<url>/pkg_edit.php?xml=squid_auth.xml&amp;id=0</url>
		</tab>

		<tab>
			<text>Extended Auth Settings</text>
			<url>/pkg_edit.php?xml=squid_extauth.xml&amp;id=0</url>
			<active/>
		</tab>

	</tabs>

	<fields>
		<field>
			<fielddescr>No Authentication Defined</fielddescr>
			<fieldname>no_auth</fieldname>
		</field>
	</fields>

	<custom_add_php_command_late>
		require_once("/usr/local/pkg/squid_ng.inc");

		global_write_squid_config();
		mwexec("/usr/local/sbin/squid -k reconfigure");
	</custom_add_php_command_late>

</packagegui>