Update deviceDetails.php

Updated "Nslookup" section so that it is only visible if the device does not have mac="Internet"
This commit is contained in:
Carlos V
2023-08-19 13:12:36 +02:00
committed by GitHub
parent 7d995f0735
commit ef1c3c9674

View File

@@ -605,6 +605,9 @@
}
</script>
<?php
if ($_REQUEST['mac'] != 'Internet') {
?>
<h4 class=""><i class="fa-solid fa-magnifying-glass"></i> <?= lang('DevDetail_Tab_Tools_Nslookup_Title');?></h4>
<div style="width:100%; text-align: center; margin-bottom: 50px;">
<button type="button" id="nslookup" class="btn btn-primary pa-btn" style="margin: auto;" onclick="nslookup()"><?= lang('DevDetail_Tab_Tools_Nslookup_Start');?></button>
@@ -626,6 +629,9 @@
})
}
</script>
<?php
}
?>
<?php
if ($_REQUEST['mac'] != 'Internet') {