$result[]=sprintf(gettext('Sent magic packet to %s (%s).'),htmlspecialchars($wolent['mac']),$wolent['descr']);
}else{
$result[]=sprintf(gettext('Please check the %ssystem log%s, the wol command for %s (%s) did not complete successfully.'),'<a href="/diag_logs.php">','</a>',$wolent['descr'],htmlspecialchars($wolent['mac']));
$savemsg=sprintf(gettext('Sent magic packet to %s.'),$_POST['mac']);
}else{
$savemsg=sprintf(gettext('Please check the %ssystem log%s, the wol command for %s did not complete successfully.'),'<a href="/diag_logs.php">','</a>',$_POST['mac']);
}
}
}
}
include("head.inc");
?>
<body>
<script type="text/javascript">
$(document).ready(function(){
// delete host action
$(".act_delete_entry").click(function(event){
event.preventDefault();
varid=$(this).data("id");
// delete single
BootstrapDialog.show({
type:BootstrapDialog.TYPE_DANGER,
title:"<?=gettext("Wake on LAN");?>",
message:"<?=gettext("Do you really want to delete this entry?");?>",
<?=gettext('This service can be used to wake up (power on) computers by sending special "Magic Packets". The NIC in the computer that is to be woken up must support Wake on LAN and has to be configured properly (WOL cable, BIOS settings).');?>