<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE packagegui SYSTEM "../schema/packages.dtd">
<?xml-stylesheet type="text/xsl" href="../xsl/package.xsl"?>
<packagegui>
    <description>Describe your package here</description>
    <requirements>Describe your package requirements here</requirements>
    <faq>Currently there are no FAQ items provided.</faq>

	<name>squidguardlog</name>
	<version>none</version>
	<title>Proxy Content filter SquidGuard: Log</title>
	<include_file>/usr/local/pkg/squidguard.inc</include_file>

	<delete_string>A proxy server user has been deleted.</delete_string>
	<addedit_string>A proxy server user has been created/modified.</addedit_string>

	<tabs>
		<tab>
			<text>General settings</text>
			<url>/pkg_edit.php?xml=squidguard.xml&amp;id=0</url>
		</tab>
		<tab>
			<text>Default</text>
			<url>/pkg_edit.php?xml=squidguard_default.xml&amp;id=0</url>
		</tab>
		<tab>
			<text>ACL</text>
			<url>/pkg.php?xml=squidguard_acl.xml</url>
		</tab>
		<tab>
			<text>Destinations</text>
			<url>/pkg.php?xml=squidguard_dest.xml</url>			
		</tab>
		<tab>
			<text>Times</text>
			<url>/pkg.php?xml=squidguard_time.xml</url>
		</tab>
		<tab>
			<text>Rewrites</text>
			<url>/pkg.php?xml=squidguard_rewr.xml</url>
		</tab>
		<tab>
			<text>Log</text>
			<url>/pkg_edit.php?xml=squidguard_log.xml&amp;id=0</url>
			<active/>
		</tab>
	</tabs>
	
	<fields>
		<field>
			<fielddescr>Log type</fielddescr>
			<fieldname>logtype</fieldname>
			<description></description>
			<type>select</type>
			<value>access_log</value>
			<options>
			    	<option><name>Blocked URL's log</name><value>block_log</value></option>
			    	<option><name>Configurator log</name><value>configurator_log</value></option>
			    	<option><name>squidGuard log</name><value>squidguard_log</value></option>
			    	<option><name>squid config</name><value>squid_config</value></option>
			    	<option><name>squidGuard config</name><value>squidguard_config</value></option>
			</options> 
		</field>
	</fields>

	<custom_php_command_before_form>
		squidguard_before_form_log(&amp;$pkg);
	</custom_php_command_before_form>
	<custom_php_after_form_command> 
        squidGuard_print_javascript();
	</custom_php_after_form_command>
	<custom_php_validation_command>
	</custom_php_validation_command>
	<custom_php_resync_config_command>
	</custom_php_resync_config_command>
</packagegui>