Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
O
OpnSense
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kulya
OpnSense
Commits
dec1e972
Commit
dec1e972
authored
Jan 30, 2015
by
Jos Schellevis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Small GUI fix for interfaces
parent
6b72bcb0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
22 additions
and
14 deletions
+22
-14
interfaces.php
src/www/interfaces.php
+22
-14
No files found.
src/www/interfaces.php
View file @
dec1e972
...
@@ -1957,20 +1957,28 @@ $types6 = array("none" => gettext("None"), "staticv6" => gettext("Static IPv6"),
...
@@ -1957,20 +1957,28 @@ $types6 = array("none" => gettext("None"), "staticv6" => gettext("Static IPv6"),
<tr
style=
'display:none'
id=
"show_basic_dhcpalias-address"
>
<tr
style=
'display:none'
id=
"show_basic_dhcpalias-address"
>
<td
width=
"22%"
valign=
"top"
class=
"vncell"
>
<?=
gettext
(
"Alias IPv4 address"
);
?>
</td>
<td
width=
"22%"
valign=
"top"
class=
"vncell"
>
<?=
gettext
(
"Alias IPv4 address"
);
?>
</td>
<td
width=
"78%"
class=
"vtable"
>
<td
width=
"78%"
class=
"vtable"
>
<input
name=
"alias-address"
type=
"text"
class=
"form-control unknown"
id=
"alias-address"
size=
"20"
value=
"
<?=
htmlspecialchars
(
$pconfig
[
'alias-address'
]);
?>
"
/>
<table>
<select
name=
"alias-subnet"
class=
"selectpicker"
data-style=
"btn-default"
id=
"alias-subnet"
>
<tr>
<?php
<td>
for
(
$i
=
32
;
$i
>
0
;
$i
--
)
{
<input
name=
"alias-address"
type=
"text"
class=
"form-control unknown"
id=
"alias-address"
size=
"20"
value=
"
<?=
htmlspecialchars
(
$pconfig
[
'alias-address'
]);
?>
"
/>
if
(
$i
<>
31
)
{
</td>
echo
"<option value=
\"
{
$i
}
\"
"
;
<td>
if
(
$i
==
$pconfig
[
'alias-subnet'
])
echo
"selected=
\"
selected
\"
"
;
<select
name=
"alias-subnet"
class=
"selectpicker"
data-style=
"btn-default"
id=
"alias-subnet"
data-width=
"auto"
>
echo
">"
.
$i
.
"</option>"
;
<?php
}
for
(
$i
=
32
;
$i
>
0
;
$i
--
)
{
}
if
(
$i
<>
31
)
{
?>
echo
"<option value=
\"
{
$i
}
\"
"
;
</select>
if
(
$i
==
$pconfig
[
'alias-subnet'
])
echo
"selected=
\"
selected
\"
"
;
<?=
gettext
(
"The value in this field is used as a fixed alias IPv4 address by the "
.
echo
">"
.
$i
.
"</option>"
;
"DHCP client."
);
?>
}
}
?>
</select>
<?=
gettext
(
"The value in this field is used as a fixed alias IPv4 address by the "
.
"DHCP client."
);
?>
</td>
</tr>
</table>
</td>
</td>
</tr>
</tr>
<tr
style=
'display:none'
id=
"show_basic_dhcprejectlease"
>
<tr
style=
'display:none'
id=
"show_basic_dhcprejectlease"
>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment