This commit is contained in:
LX1IQ 2017-05-12 09:54:21 +02:00 committed by GitHub
parent 285ff6c713
commit 4dabcad2a1
2 changed files with 11 additions and 2 deletions

View File

@ -1,3 +1,11 @@
xlx db v2.3.7
add background button color change on active page.
- "config.inc.php"
- "layout.css"
- "index.php"
xlx db v2.3.6 xlx db v2.3.6
add xlx reflector version to calling home. add xlx reflector version to calling home.

View File

@ -106,6 +106,8 @@ else {
} }
</script>'; </script>';
} }
if (!isset($_GET['show'])) $_GET['show'] = "";
?> ?>
</head> </head>
<body> <body>
@ -116,7 +118,7 @@ else {
<div id="menu"> <div id="menu">
<table border="0"> <table border="0">
<tr> <tr>
<td><a href="./index.php" class="menulink">Users / Modules</a></td><td><a href="./index.php?show=repeaters" class="menulink">Repeaters / Nodes (<?php echo $Reflector->NodeCount(); ?>)</a></td><td><a href="./index.php?show=peers" class="menulink">Peers (<?php echo $Reflector->PeerCount(); ?>)</a></td><td><a href="./index.php?show=reflectors" class="menulink">Reflectorlist</a></td><td><a href="./index.php?show=liveircddb" class="menulink">D-Star live</a></td> <td><a href="./index.php" class="menulink<?php if ($_GET['show'] == '') { echo 'active'; } ?>">Users / Modules</a></td><td><a href="./index.php?show=repeaters" class="menulink<?php if ($_GET['show'] == 'repeaters') { echo 'active'; } ?>">Repeaters / Nodes (<?php echo $Reflector->NodeCount(); ?>)</a></td><td><a href="./index.php?show=peers" class="menulink<?php if ($_GET['show'] == 'peers') { echo 'active'; } ?>">Peers (<?php echo $Reflector->PeerCount(); ?>)</a></td><td><a href="./index.php?show=reflectors" class="menulink<?php if ($_GET['show'] == 'reflectors') { echo 'active'; } ?>">Reflectorlist</a></td><td><a href="./index.php?show=liveircddb" class="menulink<?php if ($_GET['show'] == 'liveircddb') { echo 'active'; } ?>">D-Star live</a></td>
</tr> </tr>
</table> </table>
</div> </div>
@ -133,7 +135,6 @@ else {
} }
} }
if (!isset($_GET['show'])) $_GET['show'] = "";
switch ($_GET['show']) { switch ($_GET['show']) {
case 'users' : require_once("./pgs/users.php"); break; case 'users' : require_once("./pgs/users.php"); break;
case 'repeaters' : require_once("./pgs/repeaters.php"); break; case 'repeaters' : require_once("./pgs/repeaters.php"); break;