diff options
author | Tom Schaefer <tom@tomschaefer.org> | 2010-09-30 04:04:17 -0400 |
---|---|---|
committer | Tom Schaefer <tom@tomschaefer.org> | 2010-09-30 04:04:17 -0400 |
commit | 7a331fae4f2692d3a8f5255ed22ea571c092815a (patch) | |
tree | 6483fdcd248fa1e3d3e5a17f1aca4ff4d6684096 /config/countryblock/countryblock_if.tmp | |
parent | fbe0871ca99561c5476103c5365d73b7b282c4b7 (diff) | |
download | pfsense-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.tmp | 8 |
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> |