Processed with phpcbf

This commit is contained in:
billz 2020-06-28 17:12:42 +01:00
parent 36141d1e9c
commit d878cbf356
1 changed files with 24 additions and 25 deletions

View File

@ -26,7 +26,6 @@
<?php endif ?>
</ul>
<div class="tab-content">
<div role="tabpanel" class="tab-pane active" id="summary">
<h4 class="mt-3"><?php echo _("Internet connection"); ?></h4>
<div class="row">
@ -45,8 +44,8 @@
</thead>
<tbody>
<?php
$checkAccess=True;
include("includes/internetRoute.php");
$checkAccess=true;
require "includes/internetRoute.php";
if (isset($rInfo["error"]) || empty($rInfo)) {
echo "<tr><td colspan=5>No route to the internet found</td></tr>";
} else {
@ -55,8 +54,8 @@
echo "<td>".$route["interface"]."</td>";
echo "<td>".$route["ip-address"]."</td>";
echo "<td>".$route["gateway"]."<br>".$route["gw-name"]."</td>";
echo "<td>".$route["access-ip"]."<br>".ACCESS_CHECK_IP."</td>";
echo "<td>".$route["access-dns"]."<br>".ACCESS_CHECK_DNS."</td>";
echo "<td>".$route["access-ip"]."<br>".RASPI_ACCESS_CHECK_IP."</td>";
echo "<td>".$route["access-dns"]."<br>".RASPI_ACCESS_CHECK_DNS."</td>";
echo "</tr>";
}
}