various partial fixes towards improved download page
diff --git a/releng.wtpbuilder/distribution/wtp.site/publish.xml b/releng.wtpbuilder/distribution/wtp.site/publish.xml
index 1cb8ca7..d7c3241 100644
--- a/releng.wtpbuilder/distribution/wtp.site/publish.xml
+++ b/releng.wtpbuilder/distribution/wtp.site/publish.xml
@@ -411,7 +411,7 @@
             value="${eclipse.file.macosx-carbon-ppc}" />
         <replace
             file="${resultingIndex}"
-            token="@eclispeBuildHome@"
+            token="@eclipseBuildHome@"
             value="${eclipse.build.home}" />
         <replace
             file="${resultingIndex}"
diff --git a/releng.wtpbuilder/distribution/wtp.site/staticDropFiles/miscUtil.php b/releng.wtpbuilder/distribution/wtp.site/staticDropFiles/miscUtil.php
index 1dd5ad0..0427e91 100644
--- a/releng.wtpbuilder/distribution/wtp.site/staticDropFiles/miscUtil.php
+++ b/releng.wtpbuilder/distribution/wtp.site/staticDropFiles/miscUtil.php
@@ -156,7 +156,7 @@
     // For these pre-reqs, we assume if they exist, they are mirrored. This is true
     // 99% of the time. 
     if (stream_last_modified($prerequrl)) {
-        $reflink="<a href=\"" . $eclipseMirrorScript . $mirrorPrefixuri . $prereqfilename . "\">" . $prereqfilename . "</a>";
+        $reflink="<a href=\"" . $eclipseMirrorScript . $mirrorPrefixuri . "/" . $prereqfilename . "\">" . $prereqfilename . "</a>";
     } else {
         $reflink=$prereqfilename;
     }
diff --git a/releng.wtpbuilder/distribution/wtp.site/templateFiles/index.html.template.php b/releng.wtpbuilder/distribution/wtp.site/templateFiles/index.html.template.php
index 73df153..ecf625e 100644
--- a/releng.wtpbuilder/distribution/wtp.site/templateFiles/index.html.template.php
+++ b/releng.wtpbuilder/distribution/wtp.site/templateFiles/index.html.template.php
@@ -34,7 +34,7 @@
 
 $dtpURL="@dtpURL@";
 $dtpFile="@dtpFile@";
-$dtpMirrorPrefixuri="dtp.mirror.prefixuri";
+$dtpMirrorPrefixuri="@dtp.mirror.prefixuri@";
 $dtpBuildHome="@dtpBuildHome@";
 
 include("miscUtil.php");
@@ -222,7 +222,7 @@
 				<td width="10%"></td>
 				<td>Eclipse Modeling Framework (EMF, XSD InfoSet, SDO)</td>
 				<td align="right"><?php
-				echo getPrereqReferenceOrName($eclipseMirrorScript, $gefMirrorPrefixuri, $emfURL, $emfFile);
+				echo getPrereqReferenceOrName($eclipseMirrorScript, $emfMirrorPrefixuri, $emfURL, $emfFile);
 				?> or <a href=$emfBuildHome>equivalent</a></td>
 			</tr>