Update deviceDetails.php

Updated "MTR" 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:10:50 +02:00
committed by GitHub
parent 89342ba9ee
commit 7d995f0735

View File

@@ -627,6 +627,9 @@
}
</script>
<?php
if ($_REQUEST['mac'] != 'Internet') {
?>
<h4 class=""><i class="fa-solid fa-binoculars"></i> <?= lang('DevDetail_Tab_Tools_Mtr_Title');?></h4>
<div style="width:100%; text-align: center; margin-bottom: 50px;">
<button type="button" id="mtr" class="btn btn-primary pa-btn" style="margin: auto;" onclick="mtr()"><?= lang('DevDetail_Tab_Tools_Mtr_Start');?></button>
@@ -648,6 +651,9 @@
})
}
</script>
<?php
}
?>
<?php
if ($_REQUEST['mac'] != 'Internet') {