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
1af479fd
Commit
1af479fd
authored
Aug 17, 2015
by
Franco Fichtner
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #326 from cbasolutions/master
Update status_dhcpv6_leases.php
parents
a7ac2623
e88181ee
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
status_dhcpv6_leases.php
src/www/status_dhcpv6_leases.php
+6
-6
No files found.
src/www/status_dhcpv6_leases.php
View file @
1af479fd
...
...
@@ -481,17 +481,17 @@ if(count($pools) > 0) {
echo
"<td class=
\"
listr
\"
>
{
$fspans
}{
$data
[
'act'
]
}{
$fspane
}
</td>
\n
"
;
if
(
$data
[
'type'
]
==
"dynamic"
)
{
echo
"<td valign=
\"
middle
\"
><a href=
\"
services_dhcpv6_edit.php?if=
{
$data
[
'if'
]
}
&duid=
{
$data
[
'duid'
]
}
&hostname=
{
$data
[
'hostname'
]
}
\"
>"
;
echo
"<
img src=
\"
/themes/
{
$g
[
'theme'
]
}
/images/icons/icon_plus.gif
\"
width=
\"
17
\"
height=
\"
17
\"
border=
\"
0
\"
title=
\"
"
.
gettext
(
"add a static mapping for this MAC address"
)
.
"
\"
alt=
\"
add
\"
/></a></td
>
\n
"
;
echo
"<td valign=
\"
middle
\"
style=
\"
padding-left: 0px;
\"
><a href=
\"
services_dhcpv6_edit.php?if=
{
$data
[
'if'
]
}
&duid=
{
$data
[
'duid'
]
}
&hostname=
{
$data
[
'hostname'
]
}
\"
class=
\"
btn btn-default btn-xs
\"
>"
;
echo
"<
span class=
\"
glyphicon glyphicon-plus
\"
></span></a><br /
>
\n
"
;
}
else
{
echo
"<td class=
\"
list
\"
valign=
\"
middle
\"
>"
;
echo
"<
img src=
\"
/themes/
{
$g
[
'theme'
]
}
/images/icons/icon_plus_mo.gif
\"
width=
\"
17
\"
height=
\"
17
\"
border=
\"
0
\"
alt=
\"
add
\"
/></td
>
\n
"
;
echo
"<td class=
\"
list
\"
valign=
\"
middle
\"
style=
\"
padding-left: 0px;
\"
>"
;
echo
"<
span class=
\"
glyphicon glyphicon-plus
\"
></span
>
\n
"
;
}
/* Only show the button for offline dynamic leases */
if
((
$data
[
'type'
]
==
"dynamic"
)
&&
(
$data
[
'online'
]
!=
"online"
))
{
echo
"<
td class=
\"
list
\"
valign=
\"
middle
\"
><a href=
\"
status_dhcpv6_leases.php?deleteip=
{
$data
[
'ip'
]
}
&all="
.
htmlspecialchars
(
$_GET
[
'all'
])
.
"
\"
>"
;
echo
"<
img src=
\"
/themes/
{
$g
[
'theme'
]
}
/images/icons/icon_x.gif
\"
width=
\"
17
\"
height=
\"
17
\"
border=
\"
0
\"
title=
\"
"
.
gettext
(
"delete this DHCP lease"
)
.
"
\"
alt=
\"
delete
\"
/
></a></td>
\n
"
;
echo
"<
a href=
\"
status_dhcpv6_leases.php?deleteip=
{
$data
[
'ip'
]
}
&all="
.
htmlspecialchars
(
$_GET
[
'all'
])
.
"
\"
class=
\"
btn btn-default btn-xs
\"
>"
;
echo
"<
span class=
\"
glyphicon glyphicon-remove
\"
></span
></a></td>
\n
"
;
}
echo
"</tr>
\n
"
;
}
...
...
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