content fixes

pull/3/head
kc1awv 2020-10-22 10:47:46 -04:00
parent 52c9061840
commit f992212f14
1 changed files with 6 additions and 17 deletions

View File

@ -168,17 +168,8 @@ if ($CallingHome['Active']) {
<div class="container-fluid">
<div class="row">
<div class="col-sm-3 col-md-2 sidebar">
<ul class="nav nav-sidebar">
<li<?php echo (($_GET['show'] == "users") || ($_GET['show'] == "")) ? ' class="active"' : ''; ?>><a
href="./index.php">Last Heard</a></li>
<li<?php echo ($_GET['show'] == "repeaters") ? ' class="active"' : ''; ?>><a
href="./index.php?show=repeaters">Links (<?php echo $Reflector->NodeCount(); ?>)</a></li>
</ul>
</div>
<div class="col-sm-9 col-sm-offset-3 col-md-10 col-md-offset-2 main">
<?php
/* Do we really want to keep calling home?
if ($CallingHome['Active']) {
if (!is_readable($CallingHome['HashFile']) && (!is_writeable($CallingHome['HashFile']))) {
echo '
@ -187,7 +178,7 @@ if ($CallingHome['Active']) {
</div>';
}
}
*/
switch ($_GET['show']) {
case 'users' :
require_once("./include/users.php");
@ -200,8 +191,6 @@ if ($CallingHome['Active']) {
}
?>
</div>
</div>
</div>