diff --git a/index.php b/index.php index 9feeddb..73dd923 100644 --- a/index.php +++ b/index.php @@ -3,6 +3,7 @@ ini_set('display_errors', 'On'); error_reporting(E_ALL); +define("TARGET", ' target="_blank" '); define("SITE_ROOT", realpath(dirname(__file__))); require_once SITE_ROOT . "/lib/init.php"; @@ -31,6 +32,7 @@ function download_exists($file_name) function download_link($file_name) { + // return "http://master.dl.sourceforge.net/projects/singularityview/alphas/{$file_name}"; return "http://sourceforge.net/projects/singularityview/files/alphas/{$file_name}/download"; } @@ -146,30 +148,30 @@ Function print_build($current, $next, $buildNr, $chan) "; if ($current->file) { - print "\"Download Windows   -           Build Log"; + print "\"Download Windows   +           Build Log"; } if ($current->linux_file) { - print "
\"Download Linux (32 bit)"; + print "
\"Download Linux (32 bit)"; if (download_exists($current->linux_file . ".log")) { - print "      Build Log"; + print "      Build Log"; } } if ($current->linux64_file) { - print "
\"Download Linux (64 bit)"; + print "
\"Download Linux (64 bit)"; if (download_exists($current->linux64_file . ".log")) { - print "      Build Log"; + print "      Build Log"; } } if ($current->osx_file) { - print "
\"Download Mac OS X"; + print "
\"Download Mac OS X"; if (download_exists($current->osx_file . ".log")) { - print "            Build Log"; + print "            Build Log"; } }