aboutsummaryrefslogtreecommitdiffstats
path: root/config/countryblock/countryblock_if.tmp
diff options
context:
space:
mode:
authorTom Schaefer <tom@tomschaefer.org>2010-09-30 04:04:17 -0400
committerTom Schaefer <tom@tomschaefer.org>2010-09-30 04:04:17 -0400
commit7a331fae4f2692d3a8f5255ed22ea571c092815a (patch)
tree6483fdcd248fa1e3d3e5a17f1aca4ff4d6684096 /config/countryblock/countryblock_if.tmp
parentfbe0871ca99561c5476103c5365d73b7b282c4b7 (diff)
downloadpfsense-packages-7a331fae4f2692d3a8f5255ed22ea571c092815a.tar.gz
pfsense-packages-7a331fae4f2692d3a8f5255ed22ea571c092815a.tar.bz2
pfsense-packages-7a331fae4f2692d3a8f5255ed22ea571c092815a.zip
ver 1.6 added usage details, all interfaces enabled by default
Diffstat (limited to 'config/countryblock/countryblock_if.tmp')
-rwxr-xr-x[-rw-r--r--]config/countryblock/countryblock_if.tmp8
1 files changed, 5 insertions, 3 deletions
diff --git a/config/countryblock/countryblock_if.tmp b/config/countryblock/countryblock_if.tmp
index 405e1aec..11a81414 100644..100755
--- a/config/countryblock/countryblock_if.tmp
+++ b/config/countryblock/countryblock_if.tmp
@@ -148,9 +148,11 @@ include("head.inc");
<?php if ($portname == $iface['if']) {
ob_start();
+ $resultsany = exec("cat interfaces.txt | grep any");
$results = exec("cat interfaces.txt | grep $portname");
ob_end_clean();
- if ($results == $portname)
+
+ if ($results == $portname || $resultsany == any)
echo "<input name='$portname' type='checkbox' value='$portname' checked/>$portname";
else
echo "<input name='$portname' type='checkbox' value='$portname' />$portname";
@@ -174,8 +176,8 @@ include("head.inc");
<p><br>
<input type="submit" class="formbtn" value="Save">
</p>
- <p>Select the interfaces you want secured. </p>
- <p>I <strong>highly</strong> recommend selecting <u>all</u> interfaces. <br>
+ <p>Select the interfaces you want secured. It's recommended to select all interfaces. </p>
+ <p>Default: All interfaces are seleted. <br>
<br>
</p>
<p></p></td>