mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-13 08:09:41 +00:00
wizard: render subnet selections as full separate items
This commit is contained in:
parent
243d33356c
commit
772c8e0de6
@ -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>
|
||||
|
||||
@ -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) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user