1
0

fix /admin/ links

This commit is contained in:
Mike Schwörer 2018-02-13 18:27:33 +01:00
parent 8bdfe06ddb
commit cd24a6e5ad
Signed by: Mikescher
GPG Key ID: D3C7172E0A70F8CF
3 changed files with 16 additions and 14 deletions

View File

@ -205,4 +205,6 @@ try {
}
//TODO euler insert+show 32bit | 64bit mode
//TODO show extra_images (+webm) in programs (carousel ?)
//TODO support for different color schemes
// should be possible to change with just a few constant in config.scss
// a (little) bit more hue in default scheme

View File

@ -178,7 +178,7 @@ function dumpConsistency($c) {
<?php foreach (Highscores::getAllGames() as $game): ?>
<div><span><?php echo '[' . $game['NAME'] . '] Entries:' ?></span> <span><a href=""><?php echo Highscores::getEntryCountFromGame($game['ID']); ?></a></span></div>
<div><span><?php echo '[' . $game['NAME'] . '] Entries:' ?></span> <span><a href="/highscores/list?gameid=<?php echo $game['ID']; ?>"><?php echo Highscores::getEntryCountFromGame($game['ID']); ?></a></span></div>
<div><span><?php echo '[' . $game['NAME'] . '] Highscore:' ?></span> <span><?php
$hs = Highscores::getOrderedEntriesFromGame($game['ID'], 1)[0];
echo $hs['POINTS'] . ' (' . $hs['PLAYER'] . ') @ ' . $hs['TIMESTAMP'];