summaryrefslogtreecommitdiffstats
path: root/usr/local/www
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2004-11-21 20:22:50 +0000
committerScott Ullrich <sullrich@pfsense.org>2004-11-21 20:22:50 +0000
commit40dd6441eeb6b088a59d61b020be581ac9a7d3f4 (patch)
treed032ba6c82f53f1aabc79764c98e12565eacfba9 /usr/local/www
parent29868747c8a2598ae56fd3aaa03d1cd2be57ff6a (diff)
downloadpfsense-40dd6441eeb6b088a59d61b020be581ac9a7d3f4.zip
pfsense-40dd6441eeb6b088a59d61b020be581ac9a7d3f4.tar.gz
Update to dropdowns to count to /32
Diffstat (limited to 'usr/local/www')
-rwxr-xr-xusr/local/www/interfaces.php4
-rwxr-xr-xusr/local/www/interfaces_lan.php2
-rwxr-xr-xusr/local/www/interfaces_opt.php2
-rwxr-xr-xusr/local/www/interfaces_wan.php4
-rwxr-xr-xusr/local/www/services_proxyarp_edit.php2
-rwxr-xr-xusr/local/www/vpn_ipsec_edit.php4
6 files changed, 9 insertions, 9 deletions
diff --git a/usr/local/www/interfaces.php b/usr/local/www/interfaces.php
index acf733c..076650d 100755
--- a/usr/local/www/interfaces.php
+++ b/usr/local/www/interfaces.php
@@ -464,7 +464,7 @@ function type_change(enable_change,enable_change_pptp) {
<td class="vtable"> <input name="ipaddr" type="text" class="formfld" id="ipaddr" size="20" value="<?=htmlspecialchars($pconfig['ipaddr']);?>">
/
<select name="subnet" class="formfld" id="subnet">
- <?php for ($i = 31; $i > 0; $i--): ?>
+ <?php for ($i = 32; $i > 0; $i--): ?>
<option value="<?=$i;?>" <?php if ($i == $pconfig['subnet']) echo "selected"; ?>>
<?=$i;?>
</option>
@@ -585,7 +585,7 @@ function type_change(enable_change,enable_change_pptp) {
<td class="vtable"> <input name="pptp_local" type="text" class="formfld" id="pptp_local" size="20" value="<?=htmlspecialchars($pconfig['pptp_local']);?>">
/
<select name="pptp_subnet" class="formfld" id="pptp_subnet">
- <?php for ($i = 31; $i > 0; $i--): ?>
+ <?php for ($i = 32; $i > 0; $i--): ?>
<option value="<?=$i;?>" <?php if ($i == $pconfig['pptp_subnet']) echo "selected"; ?>>
<?=$i;?>
</option>
diff --git a/usr/local/www/interfaces_lan.php b/usr/local/www/interfaces_lan.php
index caea49f..e15fa3d 100755
--- a/usr/local/www/interfaces_lan.php
+++ b/usr/local/www/interfaces_lan.php
@@ -143,7 +143,7 @@ function ipaddr_change() {
<input name="ipaddr" type="text" class="formfld" id="hostname" size="20" value="<?=htmlspecialchars($pconfig['ipaddr']);?>" onchange="ipaddr_change()">
/
<select name="subnet" class="formfld" id="subnet">
- <?php for ($i = 31; $i > 0; $i--): ?>
+ <?php for ($i = 32; $i > 0; $i--): ?>
<option value="<?=$i;?>" <?php if ($i == $pconfig['subnet']) echo "selected"; ?>>
<?=$i;?>
</option>
diff --git a/usr/local/www/interfaces_opt.php b/usr/local/www/interfaces_opt.php
index f44991c..3c8f560 100755
--- a/usr/local/www/interfaces_opt.php
+++ b/usr/local/www/interfaces_opt.php
@@ -246,7 +246,7 @@ function ipaddr_change() {
<input name="ipaddr" type="text" class="formfld" id="ipaddr" size="20" value="<?=htmlspecialchars($pconfig['ipaddr']);?>" onchange="ipaddr_change()">
/
<select name="subnet" class="formfld" id="subnet">
- <?php for ($i = 31; $i > 0; $i--): ?>
+ <?php for ($i = 32; $i > 0; $i--): ?>
<option value="<?=$i;?>" <?php if ($i == $pconfig['subnet']) echo "selected"; ?>><?=$i;?></option>
<?php endfor; ?>
</select>
diff --git a/usr/local/www/interfaces_wan.php b/usr/local/www/interfaces_wan.php
index acf733c..076650d 100755
--- a/usr/local/www/interfaces_wan.php
+++ b/usr/local/www/interfaces_wan.php
@@ -464,7 +464,7 @@ function type_change(enable_change,enable_change_pptp) {
<td class="vtable"> <input name="ipaddr" type="text" class="formfld" id="ipaddr" size="20" value="<?=htmlspecialchars($pconfig['ipaddr']);?>">
/
<select name="subnet" class="formfld" id="subnet">
- <?php for ($i = 31; $i > 0; $i--): ?>
+ <?php for ($i = 32; $i > 0; $i--): ?>
<option value="<?=$i;?>" <?php if ($i == $pconfig['subnet']) echo "selected"; ?>>
<?=$i;?>
</option>
@@ -585,7 +585,7 @@ function type_change(enable_change,enable_change_pptp) {
<td class="vtable"> <input name="pptp_local" type="text" class="formfld" id="pptp_local" size="20" value="<?=htmlspecialchars($pconfig['pptp_local']);?>">
/
<select name="pptp_subnet" class="formfld" id="pptp_subnet">
- <?php for ($i = 31; $i > 0; $i--): ?>
+ <?php for ($i = 32; $i > 0; $i--): ?>
<option value="<?=$i;?>" <?php if ($i == $pconfig['pptp_subnet']) echo "selected"; ?>>
<?=$i;?>
</option>
diff --git a/usr/local/www/services_proxyarp_edit.php b/usr/local/www/services_proxyarp_edit.php
index 3ae36b6..c49e5ca 100755
--- a/usr/local/www/services_proxyarp_edit.php
+++ b/usr/local/www/services_proxyarp_edit.php
@@ -188,7 +188,7 @@ function typesel_change() {
<td><input name="subnet" type="text" class="formfld" id="subnet" size="20" value="<?=htmlspecialchars($pconfig['subnet']);?>">
/
<select name="subnet_bits" class="formfld" id="select">
- <?php for ($i = 31; $i >= 0; $i--): ?>
+ <?php for ($i = 32; $i >= 0; $i--): ?>
<option value="<?=$i;?>" <?php if ($i == $pconfig['subnet_bits']) echo "selected"; ?>>
<?=$i;?>
</option>
diff --git a/usr/local/www/vpn_ipsec_edit.php b/usr/local/www/vpn_ipsec_edit.php
index 5043cd8..97d16a2 100755
--- a/usr/local/www/vpn_ipsec_edit.php
+++ b/usr/local/www/vpn_ipsec_edit.php
@@ -8,7 +8,7 @@
originally part of m0n0wall (http://m0n0.ch/wall)
Copyright (C) 2003-2004 Manuel Kasper <mk@neon1.net>.
All rights reserved.
-
+
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
@@ -333,7 +333,7 @@ function typesel_change() {
<td><input name="localnet" type="text" class="formfld" id="localnet" size="20" value="<?php if (!is_specialnet($pconfig['localnet'])) echo htmlspecialchars($pconfig['localnet']);?>">
/
<select name="localnetmask" class="formfld" id="localnetmask">
- <?php for ($i = 31; $i >= 0; $i--): ?>
+ <?php for ($i = 32; $i >= 0; $i--): ?>
<option value="<?=$i;?>" <?php if ($i == $pconfig['localnetmask']) echo "selected"; ?>>
<?=$i;?>
</option>
OpenPOWER on IntegriCloud