aboutsummaryrefslogtreecommitdiffstats
path: root/config/squidGuard/squidguard_dest.xml
diff options
context:
space:
mode:
authorjim-p <jimp@pfsense.org>2013-05-06 13:25:07 -0400
committerjim-p <jimp@pfsense.org>2013-05-06 13:31:39 -0400
commit926f1d8af10dc98d77a0f888227c7c6f4d7e812f (patch)
treecd3ed567063814562aa7d1e44328736eab32587d /config/squidGuard/squidguard_dest.xml
parent110fef129d4a4426a0b26bfc8000fa1ead6d37ae (diff)
downloadpfsense-packages-926f1d8af10dc98d77a0f888227c7c6f4d7e812f.tar.gz
pfsense-packages-926f1d8af10dc98d77a0f888227c7c6f4d7e812f.tar.bz2
pfsense-packages-926f1d8af10dc98d77a0f888227c7c6f4d7e812f.zip
Add the ability to reorder target categories in squidGuard, to better facilitate making exceptions to lists.
Diffstat (limited to 'config/squidGuard/squidguard_dest.xml')
-rw-r--r--config/squidGuard/squidguard_dest.xml16
1 files changed, 15 insertions, 1 deletions
diff --git a/config/squidGuard/squidguard_dest.xml b/config/squidGuard/squidguard_dest.xml
index 5ffc0aa6..3525098e 100644
--- a/config/squidGuard/squidguard_dest.xml
+++ b/config/squidGuard/squidguard_dest.xml
@@ -77,6 +77,14 @@
<required/>
</field>
<field>
+ <fielddescr>Order</fielddescr>
+ <fieldname>order</fieldname>
+ <description><![CDATA[
+ Select the new position for this target category. Target categories are listed in this order on ALCs and are matched from the top down in sequence.<br>
+ ]]></description>
+ <type>select</type>
+ </field>
+ <field>
<fielddescr>Domain List</fielddescr>
<fieldname>domains</fieldname>
<description><![CDATA[
@@ -163,12 +171,18 @@
<description><![CDATA[Check this option to enable logging for this ACL.]]></description>
</field>
</fields>
- <custom_delete_php_command/>
+ <custom_php_command_before_form>
+ squidguard_before_form_dest(&amp;$pkg);
+ </custom_php_command_before_form>
<custom_php_validation_command>
squidguard_validate_destination($_POST, &amp;$input_errors);
</custom_php_validation_command>
<custom_php_resync_config_command>
+ squidguard_resync_dest();
</custom_php_resync_config_command>
+ <custom_delete_php_command>
+ squidguard_resync_dest();
+ </custom_delete_php_command>
<custom_php_after_form_command>
squidGuard_print_javascript();
</custom_php_after_form_command>