You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@vcl.apache.org by jf...@apache.org on 2010/09/16 21:13:15 UTC
svn commit: r997885 - /incubator/vcl/trunk/web/.ht-inc/computers.php
Author: jfthomps
Date: Thu Sep 16 19:13:15 2010
New Revision: 997885
URL: http://svn.apache.org/viewvc?rev=997885&view=rev
Log:
changed maxlength from 14 to 15 for ipaddress fields in viewComputers, editOrAddComputer, and bulkAddComputer
Modified:
incubator/vcl/trunk/web/.ht-inc/computers.php
Modified: incubator/vcl/trunk/web/.ht-inc/computers.php
URL: http://svn.apache.org/viewvc/incubator/vcl/trunk/web/.ht-inc/computers.php?rev=997885&r1=997884&r2=997885&view=diff
==============================================================================
--- incubator/vcl/trunk/web/.ht-inc/computers.php (original)
+++ incubator/vcl/trunk/web/.ht-inc/computers.php Thu Sep 16 19:13:15 2010
@@ -351,7 +351,7 @@ function viewComputers($showall=0) {
if($data["showhostname"] || $showall)
print " <TD><INPUT type=text name=hostname maxlength=36></TD>\n";
if($data["showipaddress"] || $showall) {
- print " <TD><INPUT type=text name=ipaddress size=14 maxlength=14>";
+ print " <TD><INPUT type=text name=ipaddress size=14 maxlength=15>";
print "</TD>\n";
}
if($data["showstate"] || $showall) {
@@ -647,7 +647,7 @@ function editOrAddComputer($state) {
print " </TR>\n";
print " <TR>\n";
print " <TH align=right>IP Address:</TH>\n";
- print " <TD><INPUT type=text name=ipaddress maxlength=14 value=\"";
+ print " <TD><INPUT type=text name=ipaddress maxlength=15 value=\"";
print $data["ipaddress"] . "\"></TD>\n";
print " <TD>";
printSubmitErr(IPADDRERR);
@@ -1188,7 +1188,7 @@ function bulkAddComputer() {
print " </TR>\n";
print " <TR>\n";
print " <TH align=right nowrap>Start IP Address*:</TH>\n";
- print " <TD><INPUT type=text name=startipaddress maxlength=14 value=\"";
+ print " <TD><INPUT type=text name=startipaddress maxlength=15 value=\"";
print $data["startipaddress"] . "\"></TD>\n";
print " <TD>";
printSubmitErr(IPADDRERR);
@@ -1196,7 +1196,7 @@ function bulkAddComputer() {
print " </TR>\n";
print " <TR>\n";
print " <TH align=right nowrap>End IP Address*:</TH>\n";
- print " <TD><INPUT type=text name=endipaddress maxlength=14 value=\"";
+ print " <TD><INPUT type=text name=endipaddress maxlength=15 value=\"";
print $data["endipaddress"] . "\"></TD>\n";
print " <TD>";
printSubmitErr(IPADDRERR2);
@@ -1205,7 +1205,7 @@ function bulkAddComputer() {
print " <TR>\n";
print " <TH align=right nowrap>Start private IP Address:</TH>\n";
- print " <TD><INPUT type=text name=startpripaddress maxlength=14 value=\"";
+ print " <TD><INPUT type=text name=startpripaddress maxlength=15 value=\"";
print $data["startpripaddress"] . "\"></TD>\n";
print " <TD>";
printSubmitErr(IPADDRERR3);
@@ -1213,7 +1213,7 @@ function bulkAddComputer() {
print " </TR>\n";
print " <TR>\n";
print " <TH align=right nowrap>End private IP Address:</TH>\n";
- print " <TD><INPUT type=text name=endpripaddress maxlength=14 value=\"";
+ print " <TD><INPUT type=text name=endpripaddress maxlength=15 value=\"";
print $data["endpripaddress"] . "\"></TD>\n";
print " <TD>";
printSubmitErr(IPADDRERR4);