From 4a6a391eb55d3ccd9e992f3b030a42e5cda7b000 Mon Sep 17 00:00:00 2001 From: doktornotor Date: Thu, 27 Aug 2015 21:34:42 +0200 Subject: havp code style cleanup - Add copyright header - Fix indentation/whitespace - Improve descriptions --- config/havp/havp_avset.xml | 255 ++++++++++++++++++++++++++------------------- 1 file changed, 149 insertions(+), 106 deletions(-) (limited to 'config/havp') diff --git a/config/havp/havp_avset.xml b/config/havp/havp_avset.xml index 041c6f64..381cf3ba 100644 --- a/config/havp/havp_avset.xml +++ b/config/havp/havp_avset.xml @@ -1,111 +1,154 @@ + + - havpavset - Antivirus: Settings - Status - none - /usr/local/pkg/havp.inc - - - General page - /antivirus.php - - - HTTP Proxy - /pkg_edit.php?xml=havp.xml&id=0 - - - - Settings - /pkg_edit.php?xml=havp_avset.xml&id=0 - - - - HAVP Log - /havp_log.php - - - - - AV base update - havpavupdate - - <input name='submit' type='submit' value='Update_AV'> - Press button for update AV database now. - - select - hv_none - - - - - - - - - - - - - - Regional AV database update mirror - dbregion - Select regional database mirror. - select - - - - - - - - - - - - - - - - - - - - Optional AV database update servers - avupdateserver - Enter here space separated AV update servers, or leave empty. - textarea - 60 - 5 - - - Log - avsetlog - Check this for enable log. - checkbox - avsetsyslog - - - SysLog - avsetsyslog - Check this for enable SysLog. - checkbox - - - - havp_before_form($pkg); - - + + + Copyright (C) 2014 Andrew Nikitin . + Copyright (C) 2015 ESF, LLC + 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. +*/ +/* ====================================================================================== */ + ]]> + + havpavset + Antivirus: Settings + Status + /usr/local/pkg/havp.inc + + + General Page + /antivirus.php + + + HTTP Proxy + /pkg_edit.php?xml=havp.xml + + + + Settings + /pkg_edit.php?xml=havp_avset.xml + + + + HAVP Log + /havp_log.php + + + + + ClamAV Database Update + havpavupdate + + + Press button to update AV databases now. + ]]> + + select + hv_none + + + + + + + + + + + + + + Regional AV Database Update Mirror + dbregion + Select regional database mirror. + select + + + + + + + + + + + + + + + + + + + + Optional AV Database Update Servers + avupdateserver + + + Note: For official update mirrors, use db.XY.clamav.net format. (Replace XY with your country code.) + ]]> + + textarea + 60 + 5 + + + Log + avsetlog + Check this to enable AV logging. + checkbox + avsetsyslog + + + SysLog + avsetsyslog + Check this to enable AV logging to syslog. + checkbox + + + havp_validate_settings($_POST, $input_errors); - - + + havp_avset_resync(); - - - - - + -- cgit v1.2.3