wizard: render subnet selections as full separate items

This commit is contained in:
Franco Fichtner 2018-12-30 11:47:55 +01:00
parent 243d33356c
commit 772c8e0de6
2 changed files with 1 additions and 3 deletions

View File

@ -282,7 +282,6 @@ if (count($input_errors)) {
<name>IP Address</name>
<bindstofield>interfaces->wan->ipaddr</bindstofield>
<type>input</type>
<typehint> / </typehint>
<combinefieldsbegin>true</combinefieldsbegin>
<validate>^(?:[0]*(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(?:[0]*(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[1-9]))$</validate>
<message>IP Address field is invalid</message>
@ -362,7 +361,6 @@ if (count($input_errors)) {
<combinefieldsbegin>true</combinefieldsbegin>
<name>PPTP Local IP Address</name>
<type>input</type>
<typehint> / </typehint>
<bindstofield>wizardtemp->wan->localip</bindstofield>
<validate>^(?:[0]*(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(?:[0]*(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[1-9]))$</validate>
<message>PPTP Local IP Address field is invalid</message>

View File

@ -773,7 +773,7 @@ include("head.inc");
}
if (!$field['dontcombinecells'])
echo "<td class=\"vtable\">";
echo "<select class='form-control' id='{$name}' name='{$name}' style='max-width:5em;'>\n";
echo "<select class='form-control' id='{$name}' name='{$name}'>\n";
$CHECKED = ' selected="selected"';
for ($x = 1; $x <= 32; $x++) {
if ($x == 31) {