diff --git a/index.php b/index.php index e32836d..3f9a4e3 100644 --- a/index.php +++ b/index.php @@ -83,19 +83,25 @@ Function print_build($current, $next, $buildNr, $chan) nr}\">Build " . htmlspecialchars($current->nr). "
"; + $vspace = ""; if ($next) { if (($current->linux_file && $current->osx_file && $current->linux64_file)) { - print "

"; + $vspace = "

"; } elseif (($current->linux_file && $current->osx_file)) { - print "
"; + $vspace = "
"; } - print ' - ' . + + print $vspace . + '' . ($buildNr ? 'Hide changes <<' : 'Show changes >>') . ''; } - print "" . htmlspecialchars($current->modified). " (" . Layout::since(strtotime($current->modified)) . " ago) + print "" . htmlspecialchars($current->modified). " (" . Layout::since(strtotime($current->modified)) . " ago)
"; + print $vspace . ''; + print substr($current->hash, 0, 10) . ""; + + Print " " . htmlspecialchars($current->chan). " ";