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
77dedce0
Commit
77dedce0
authored
Feb 09, 2017
by
Franco Fichtner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dhcp: extend previous to catch all WOL usage, some style
parent
46e132f8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
3 deletions
+10
-3
status_dhcp_leases.php
src/www/status_dhcp_leases.php
+10
-3
No files found.
src/www/status_dhcp_leases.php
View file @
77dedce0
...
...
@@ -419,13 +419,16 @@ include("head.inc");?>
<td><?=
$data['int']
;?></td>
<td><?=
$data['ip']
;?></td>
<td>
<? if (
$plugin_installed
) { ?>
<?php
if (
$plugin_installed
): ?>
<a href="
services_wol
.
php
?
if
=<?=
$data
[
'if'
];
?>
&
mac=
<?=
$data
[
'mac'
];
?>
" title="
<?=
gettext
(
"send Wake on LAN packet to this MAC address"
);
?>
">
<?=
$data
[
'mac'
];
?>
</a>
<?
}
else
{
?>
<?php
else
:
?>
<?=
$data
[
'mac'
];
?>
<?
}
?>
<?php
endif
;
?>
<br
/>
<small><i>
<?=
!
empty
(
$mac_man
[
$mac_hi
])
?
$mac_man
[
$mac_hi
]
:
""
;
?>
</i></small>
</td>
...
...
@@ -443,9 +446,13 @@ include("head.inc");?>
</a>
<?php
endif
;
?>
<?php
if
(
$plugin_installed
)
:
?>
<a
class=
"btn btn-default btn-xs"
href=
"services_wol_edit.php?if=
<?=
$data
[
'if'
];
?>
&mac=
<?=
$data
[
'mac'
];
?>
&descr=
<?=
$data
[
'hostname'
];
?>
"
>
<span
class=
"glyphicon glyphicon-flash"
data-toggle=
"tooltip"
title=
"
<?=
gettext
(
"add a Wake on LAN mapping for this MAC address"
);
?>
"
alt=
"add"
></span>
</a>
<?php
endif
;
?>
<?php
if
((
$data
[
'type'
]
==
"dynamic"
)
&&
(
$data
[
'online'
]
!=
"online"
))
:?>
...
...
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