mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-16 01:24:38 +00:00
dhcp: extend previous to catch all WOL usage, some style
This commit is contained in:
parent
46e132f821
commit
77dedce094
@ -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")):?>
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user