Making W3C-Valid

This commit is contained in:
dg9vh 2016-07-13 13:07:23 +00:00
parent 539263381e
commit 050105500a
3 changed files with 20 additions and 16 deletions

View file

@ -25,24 +25,24 @@ $totalLH = count($lastHeard);
for ($i = 0; ($i < $totalLH); $i++) {
$listElem = $lastHeard[$i];
echo"<tr>";
echo"<td nowrap>$listElem[0]</td>";
echo"<td nowrap>$listElem[1]</td>";
echo"<td nowrap>$listElem[2]</td>";
echo"<td nowrap>$listElem[3]</td>";
echo"<td nowrap>$listElem[4]</td>";
echo"<td class=\"nowrap\">$listElem[0]</td>";
echo"<td class=\"nowrap\">$listElem[1]</td>";
echo"<td class=\"nowrap\">$listElem[2]</td>";
echo"<td class=\"nowrap\">$listElem[3]</td>";
echo"<td class=\"nowrap\">$listElem[4]</td>";
if ($listElem[5] == "RF"){
echo "<td nowrap><span class=\"label label-success\">RF</span></td>";
echo "<td class=\nowrap\"><span class=\"label label-success\">RF</span></td>";
}else{
echo"<td nowrap>$listElem[5]</td>";
echo"<td class=\"nowrap\">$listElem[5]</td>";
}
if ($listElem[6] == null) {
echo'<td nowrap>transmitting</td><td></td><td></td>';
echo'<td class=\"nowrap\">transmitting</td><td></td><td></td>';
} else if ($listElem[6] == "SMS") {
echo'<td nowrap>sending or receiving SMS</td><td></td><td></td>';
echo'<td class=\"nowrap\">sending or receiving SMS</td><td></td><td></td>';
} else {
echo"<td nowrap>$listElem[6]</td>";
echo"<td nowrap>$listElem[7]</td>";
echo"<td nowrap>$listElem[8]</td>";
echo"<td class=\"nowrap\">$listElem[6]</td>";
echo"<td class=\"nowrap\">$listElem[7]</td>";
echo"<td class=\"nowrap\">$listElem[8]</td>";
}
echo"</tr>\n";
}

View file

@ -11,7 +11,7 @@ include "include/functions.php";
include "version.php";
?>
<!doctype html>
<html lang="de">
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=0.6,maximum-scale=1, user-scalable=yes">
@ -24,9 +24,13 @@ include "version.php";
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap-theme.min.css">
<!-- Das neueste kompilierte und minimierte JavaScript -->
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js"></script>
<link rel="stylesheet" href="https://cdn.datatables.net/1.10.12/css/jquery.dataTables.min.css"></style>
<link rel="stylesheet" href="https://cdn.datatables.net/1.10.12/css/jquery.dataTables.min.css">
<script type="text/javascript" src="https://cdn.datatables.net/1.10.12/js/jquery.dataTables.min.js"></script>
<style>
.nowrap {
white-space:nowrap
}
</style>
<title><?php echo getCallsign($mmdvmconfigs) ?> - MMDVM-Dashboard by DG9VH</title>

View file

@ -1,3 +1,3 @@
<?php
define("VERSION", "20160712-1");
define("VERSION", "20160713-1");
?>