From 8fc59b1222553b0a0d164ee71884ff8f246eeeb3 Mon Sep 17 00:00:00 2001 From: david_williams <david_williams> Date: Wed, 20 Feb 2008 02:14:12 +0000 Subject: [PATCH] fixes to allow R0.5 branch to show up on downloads page --- .../webtools/downloads/buildbranches.php | 2 +- .../webtools/downloads/downloadindex.php | 72 +++++++++++++++++++ 2 files changed, 73 insertions(+), 1 deletion(-) create mode 100644 downloadsites/webtools/downloads/downloadindex.php diff --git a/downloadsites/webtools/downloads/buildbranches.php b/downloadsites/webtools/downloads/buildbranches.php index b05599967..1db78c42b 100644 --- a/downloadsites/webtools/downloads/buildbranches.php +++ b/downloadsites/webtools/downloads/buildbranches.php @@ -4,5 +4,5 @@ $buildBranches[0]="drops/R3.0"; $buildBranches[1]="drops/R2.0"; $buildBranches[2]="drops/R1.5"; $buildBranches[3]="drops/R1.0"; -$buildBranches[4]="drops/R0.7"; +$buildBranches[4]="drops/R0.5"; ?> diff --git a/downloadsites/webtools/downloads/downloadindex.php b/downloadsites/webtools/downloads/downloadindex.php new file mode 100644 index 000000000..76679022a --- /dev/null +++ b/downloadsites/webtools/downloads/downloadindex.php @@ -0,0 +1,72 @@ +<?php +echo "<?xml version=\"1.0\" encoding=\"ISO-8859-1\" ?> \n" ; +?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"> + +<head> +<?php +include 'pagePropertyVariables.php'; +?> + +<link rel="stylesheet" href="http://dev.eclipse.org/default_style.css" /> +<link rel="stylesheet" href="../commonPages/wtpDropStyle.css" /> +<title><?php echo $pageTitle; ?></title> +</head> +<body> + + +<?php + +// tiny banner to remind when looking at "local" machine results +$serverName = $_SERVER["SERVER_NAME"]; + +if (!stristr($serverName, "eclipse.org") && !stristr($serverName,"you.are.at.eclipsecon.org")) { + echo '<center> + <p> + Reminder: this is <font color="#FF0000">' . + $serverName . + '</font> + See also + <a href="http://download.eclipse.org/webtools/downloads" target="_top"> + the live public Eclipse site + </a>. + </p> + <hr /> + </center>'; + +} + +if (function_exists("date_default_timezone_set")) { + date_default_timezone_set("UTC"); + //echo "<p>default timezone: "; + //echo date_default_timezone_get(); + //echo "</p>"; +} + +?> + + +<?php +ini_set("display_errors", "true"); +error_reporting (E_ALL); +?> + +<?php +$QString = $_SERVER['QUERY_STRING']; +$C = strcmp($QString, "test"); +?> + + +<?php +include 'buildbranches.php'; +include '../commonPages/topAndInit.php'; +include '../commonPages/latestBuilds.php'; +include '../commonPages/recentHistory.php'; +include '../commonPages/bottomAndFooter.php'; +?> + + +</body> +</html> + -- GitLab