aboutsummaryrefslogtreecommitdiffstats
path: root/config/squid-reverse
diff options
context:
space:
mode:
authorMartin Fuchs <martin.fuchs@trendchiller.com>2011-09-27 22:31:42 +0200
committerMartin Fuchs <martin.fuchs@trendchiller.com>2011-09-27 22:31:42 +0200
commit2b6a30287a6ec1c2ac1f2e59edf8afbff565f80f (patch)
treed6ed4ac612725fd5a9294a15b41feebae71a045d /config/squid-reverse
parent3a9cd05d2d1aa5f49ede2ab93ab796ca099402bd (diff)
downloadpfsense-packages-2b6a30287a6ec1c2ac1f2e59edf8afbff565f80f.tar.gz
pfsense-packages-2b6a30287a6ec1c2ac1f2e59edf8afbff565f80f.tar.bz2
pfsense-packages-2b6a30287a6ec1c2ac1f2e59edf8afbff565f80f.zip
basics for squid_validate_reverse
Diffstat (limited to 'config/squid-reverse')
-rw-r--r--config/squid-reverse/squid.inc6
-rw-r--r--config/squid-reverse/squid_reverse.xml2
2 files changed, 7 insertions, 1 deletions
diff --git a/config/squid-reverse/squid.inc b/config/squid-reverse/squid.inc
index ffd17569..d0dad31d 100644
--- a/config/squid-reverse/squid.inc
+++ b/config/squid-reverse/squid.inc
@@ -485,6 +485,10 @@ function squid_validate_traffic($post, $input_errors) {
if (!is_numeric($value) || ($value > 100))
$input_errors[] = "The field 'Finish when remaining %' must contain a percentaged value";
}
+}
+
+function squid_validate_reverse($post, $input_errors) {
+
}
@@ -943,6 +947,8 @@ function squid_resync_reverse() {
$settings = $config['installedpackages']['squidreverse']['config'][0];
$conf = '';
+
+
return $conf;
}
diff --git a/config/squid-reverse/squid_reverse.xml b/config/squid-reverse/squid_reverse.xml
index c86410f5..93e1c595 100644
--- a/config/squid-reverse/squid_reverse.xml
+++ b/config/squid-reverse/squid_reverse.xml
@@ -223,7 +223,7 @@
squid_before_form_general(&amp;$pkg);
</custom_php_command_before_form>
<custom_php_validation_command>
- squid_validate_general($_POST, &amp;$input_errors);
+ squid_validate_reverse($_POST, &amp;$input_errors);
</custom_php_validation_command>
<custom_php_resync_config_command>
squid_resync_reverse();