Update deviceDetails.php

Updated "Traceroute" 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:13:51 +02:00
committed by GitHub
parent ef1c3c9674
commit bcd804403a

View File

@@ -583,6 +583,9 @@
}
</script>
<?php
if ($_REQUEST['mac'] != 'Internet') {
?>
<h4 class=""><i class="fa-solid fa-route"></i> <?= lang('DevDetail_Tab_Tools_Traceroute_Title');?></h4>
<div style="width:100%; text-align: center; margin-bottom: 50px;">
<button type="button" id="traceroute" class="btn btn-primary pa-btn" style="margin: auto;" onclick="traceroute()"><?= lang('DevDetail_Tab_Tools_Traceroute_Start');?></button>
@@ -604,6 +607,9 @@
})
}
</script>
<?php
}
?>
<?php
if ($_REQUEST['mac'] != 'Internet') {