From 9da7654a1197fbee14eb1a9a484a4b67f3715343 Mon Sep 17 00:00:00 2001 From: "mike.morgan%oregonstate.edu" Date: Wed, 10 Jan 2007 18:55:33 +0000 Subject: [PATCH] Checking in PFS modifications for Java from bug 366129. git-svn-id: svn://10.0.0.236/trunk@218136 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/webtools/addons/public/htdocs/pfs.php | 11 +++++++++-- mozilla/webtools/addons/public/tpl/plugins.tpl | 6 +++--- 2 files changed, 12 insertions(+), 5 deletions(-) diff --git a/mozilla/webtools/addons/public/htdocs/pfs.php b/mozilla/webtools/addons/public/htdocs/pfs.php index d1a898bbfc9..f1936025c0d 100644 --- a/mozilla/webtools/addons/public/htdocs/pfs.php +++ b/mozilla/webtools/addons/public/htdocs/pfs.php @@ -194,11 +194,18 @@ if (!empty($mimetype) && $name = 'Java Runtime Environment'; $version = ''; - $manualInstallationURL = 'http://java.com/en/download/manual.jsp'; + $manualInstallationURL = 'http://java.com/download/manual.jsp'; $installerShowsUI = 'true'; $needsRestart = 'true'; - if (preg_match('/^Win/', $clientOS)) { + // For now, send Vista users to a manual download page. + // + // This is a temp fix for bug 366129 until vista has a non-manual + // solution. + if (preg_match('/^Windows NT 6\.0/', $clientOS)) { + $guid = '{fbe640ef-4375-4f45-8d79-767d60bf75b8}'; + $XPILocation = getUriForNoXPI(); + } elseif (preg_match('/^Win/', $clientOS)) { $guid = '{92a550f2-dfd2-4d2f-a35d-a98cfda73595}'; $XPILocation = 'http://java.com/jre-install.xpi'; } else { diff --git a/mozilla/webtools/addons/public/tpl/plugins.tpl b/mozilla/webtools/addons/public/tpl/plugins.tpl index 7cd428bee64..5dbc3ed101c 100644 --- a/mozilla/webtools/addons/public/tpl/plugins.tpl +++ b/mozilla/webtools/addons/public/tpl/plugins.tpl @@ -39,9 +39,9 @@

 Visit the Java download page to select the latest version for your operating system.

 Download

-
 For Windows:
  Version 5.0 Update 7
-
 For Linux:
  Version 5.0 Update 7
-
 For MacOSX:
  Details
+
 For Windows:
  Latest Version
+
 For Linux:
  Latest Version
+
 For MacOSX:
  Latest Version
 Support Documentation: Windows, Linux, MacOSX | Java Plugin FAQ