<?xml version="1.0" encoding="utf-8" ?> <!DOCTYPE packagegui SYSTEM "./schema/packages.dtd"> <?xml-stylesheet type="text/xsl" href="./xsl/package.xsl"?> <packagegui> <copyright> <![CDATA[ /* ========================================================================== */ /* dansguardian_phrase_acl.xml part of pfSense (http://www.pfSense.com) Copyright (C) 2012-2013 Marcello Coutinho All rights reserved. */ /* ========================================================================== */ /* Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code MUST retain the above copyright notice, this list of conditions and the following disclaimer. 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ /* ========================================================================== */ ]]> </copyright> <description>Describe your package here</description> <requirements>Describe your package requirements here</requirements> <faq>Currently there are no FAQ items provided.</faq> <name>dansguardianphraseacl</name> <version>1.0</version> <title>Services: Dansguardian - Access Lists</title> <include_file>/usr/local/pkg/dansguardian.inc</include_file> <tabs> <tab> <text>Daemon</text> <url>/pkg_edit.php?xml=dansguardian.xml&id=0</url> </tab> <tab> <text>General</text> <url>/pkg_edit.php?xml=dansguardian_config.xml&id=0</url> </tab> <tab> <text>Limits</text> <url>/pkg_edit.php?xml=dansguardian_limits.xml&id=0</url> </tab> <tab> <text>Blacklist</text> <url>/pkg_edit.php?xml=dansguardian_blacklist.xml&id=0</url> </tab> <tab> <text>ACLs</text> <url>/pkg.php?xml=dansguardian_site_acl.xml</url> <active/> </tab> <tab> <text>LDAP</text> <url>/pkg.php?xml=dansguardian_ldap.xml</url> </tab> <tab> <text>Groups</text> <url>/pkg.php?xml=dansguardian_groups.xml</url> </tab> <tab> <text>Users</text> <url>/pkg_edit.php?xml=dansguardian_users.xml</url> </tab> <tab> <text>IPs</text> <url>/pkg_edit.php?xml=dansguardian_ips.xml</url> </tab> <tab> <text>Report and log</text> <url>/pkg_edit.php?xml=dansguardian_log.xml&id=0</url> </tab> <tab> <text>Sync</text> <url>/pkg_edit.php?xml=dansguardian_sync.xml&id=0</url> </tab> <tab> <text>Help</text> <url>/dansguardian_about.php</url> </tab> <tab> <text>Antivirus</text> <url>/pkg_edit.php?xml=dansguardian_antivirus_acl.xml&id=0</url> <tab_level>2</tab_level> </tab> <tab> <text>Pics</text> <url>/pkg.php?xml=dansguardian_pics_acl.xml&id=0</url> <tab_level>2</tab_level> </tab> <tab> <text>Phrase Lists</text> <url>/pkg.php?xml=dansguardian_phrase_acl.xml</url> <tab_level>2</tab_level> <active/> </tab> <tab> <text>Site Lists</text> <url>/pkg.php?xml=dansguardian_site_acl.xml</url> <tab_level>2</tab_level> </tab> <tab> <text>URL Lists</text> <url>/pkg.php?xml=dansguardian_url_acl.xml</url> <tab_level>2</tab_level> </tab> <tab> <text>Extension Lists</text> <url>/pkg.php?xml=dansguardian_file_acl.xml</url> <tab_level>2</tab_level> </tab> <tab> <text>Content Lists</text> <url>/pkg.php?xml=dansguardian_content_acl.xml</url> <tab_level>2</tab_level> </tab> <tab> <text>Header</text> <url>/pkg.php?xml=dansguardian_header_acl.xml</url> <tab_level>2</tab_level> </tab> <tab> <text>Searche Engine</text> <url>/pkg.php?xml=dansguardian_search_acl.xml</url> <tab_level>2</tab_level> </tab> </tabs> <adddeleteeditpagefields> <columnitem> <fielddescr>Access List name</fielddescr> <fieldname>name</fieldname> </columnitem> <columnitem> <fielddescr>Access List Descriptions</fielddescr> <fieldname>description</fieldname> </columnitem> <movable>on</movable> </adddeleteeditpagefields> <fields> <field> <name>Phrase Access List</name> <type>listtopic</type> </field> <field> <fielddescr>Name</fielddescr> <fieldname>name</fieldname> <description></description> <type>input</type> <size>25</size> </field> <field> <fielddescr>Description</fielddescr> <fieldname>description</fieldname> <type>input</type> <size>80</size> </field> <field> <name>Banned Lists</name> <type>listtopic</type> </field> <field> <fielddescr>Enable</fielddescr> <fieldname>banned_enabled</fieldname> <type>checkbox</type> <description></description> </field> <field> <fielddescr>Include</fielddescr> <fieldname>banned_includes</fieldname> <description><![CDATA[Select Include files to banned phrase filter.]]></description> <type>select_source</type> <source><![CDATA[$config['installedpackages']['dansguardianphraselistsbanned']['config']]]></source> <source_name>descr</source_name> <source_value>file</source_value> <multiple/> <size>10</size> </field> <field> <fielddescr>Config file</fielddescr> <fieldname>banned_phraselist</fieldname> <description><![CDATA[Enter Banned Pharase List for this group.<br> Leave empty to load dansguardian defaults]]></description> <type>textarea</type> <cols>80</cols> <rows>10</rows> <encoding>base64</encoding> </field> <field> <name>Weighted Lists</name> <type>listtopic</type> </field> <field> <fielddescr>Enable</fielddescr> <fieldname>weighted_enabled</fieldname> <type>checkbox</type> <description></description> </field> <field> <fielddescr>Include</fielddescr> <fieldname>weighted_includes</fieldname> <description><![CDATA[Select Include files to weighted phrase filter.]]></description> <type>select_source</type> <source><![CDATA[$config['installedpackages']['dansguardianphraselistsweighted']['config']]]></source> <source_name>descr</source_name> <source_value>file</source_value> <multiple/> <size>20</size> </field> <field> <fielddescr>Config file</fielddescr> <fieldname>weighted_phraselist</fieldname> <description><![CDATA[Enter Weighted Pharase List for this group.<br> Leave empty to load dansguardian defaults]]></description> <type>textarea</type> <cols>80</cols> <rows>10</rows> <encoding>base64</encoding> </field> <field> <name>Exception Lists</name> <type>listtopic</type> </field> <field> <fielddescr>Enable</fielddescr> <fieldname>exception_enabled</fieldname> <type>checkbox</type> <description></description> </field> <field> <fielddescr>Config file</fielddescr> <fieldname>exception_phraselist</fieldname> <description><![CDATA[Enter exception Pharase List for this group.<br> Leave empty to load dansguardian defaults]]></description> <type>textarea</type> <cols>80</cols> <rows>10</rows> <encoding>base64</encoding> </field> </fields> <custom_php_install_command> dansguardian_php_install_command(); </custom_php_install_command> <custom_php_deinstall_command> dansguardian_php_deinstall_command(); </custom_php_deinstall_command> <custom_php_validation_command> dansguardian_validate_input($_POST, &$input_errors); </custom_php_validation_command> <custom_php_resync_config_command> sync_package_dansguardian(); </custom_php_resync_config_command> </packagegui>