Author: marcus
Date: Mon Jun  2 22:30:56 2014
New Revision: 1599382

URL: http://svn.apache.org/r1599382
Log:
Changed the order (first 'other platforms' then 'older releases', updated text

Modified:
    openoffice/ooo-site/trunk/content/download/test/download_droplist.js

Modified: openoffice/ooo-site/trunk/content/download/test/download_droplist.js
URL: 
http://svn.apache.org/viewvc/openoffice/ooo-site/trunk/content/download/test/download_droplist.js?rev=1599382&r1=1599381&r2=1599382&view=diff
==============================================================================
--- openoffice/ooo-site/trunk/content/download/test/download_droplist.js 
(original)
+++ openoffice/ooo-site/trunk/content/download/test/download_droplist.js Mon 
Jun  2 22:30:56 2014
@@ -1243,38 +1243,38 @@ function getLinkSel() {
                return ERROR;
        }
 
-       // If version is 'older', create a download link that leads to the 
archive webpage.
-       if( VERSION_SEL === "older" ) {
+       // If platform is 'other', create a download link that leads to the 
Porting webpage.
+       if( PLATFORM_SEL === "other" ) {
                // In general, reset the data for link, text and title of all 
elements.
                resetElements();
 
                // Set the URL to the archive as download link.
-               LINK_FULL = "http://www.openoffice.org/download/archive.html";;
+               LINK_FULL = "http://www.openoffice.org/porting/";;
 
                // Set the values for only one download text button.
                document.getElementById( "dl_f_link"  ).href          = 
LINK_FULL;
-               document.getElementById( "dl_f_link"  ).innerHTML     = 
"Archive: Download from older releases";
-               document.getElementById( "dl_f_link"  ).title         = 
"Archive: Download from older releases";
-               document.getElementById( "dl_f_link"  ).style.display = 
"inline";
+               document.getElementById( "dl_f_link"  ).innerHTML     = 
"Porting: Download from other 3rd party vendors";
+               document.getElementById( "dl_f_link"  ).title         = "Click 
to browse to the porting webpage and download from other 3rd party vendors";
                document.getElementById( "dl_lp_link" ).style.display = "none";
-               document.getElementById( "sub_green_box" ).style.display = 
"none";
 
                return LINK_FULL;
        }
 
-       // If platform is 'other', create a download link that leads to the 
Porting webpage.
-       if( PLATFORM_SEL === "other" ) {
+       // If version is 'older', create a download link that leads to the 
archive webpage.
+       if( VERSION_SEL === "older" ) {
                // In general, reset the data for link, text and title of all 
elements.
                resetElements();
 
                // Set the URL to the archive as download link.
-               LINK_FULL = "http://www.openoffice.org/porting/";;
+               LINK_FULL = "http://www.openoffice.org/download/archive.html";;
 
                // Set the values for only one download text button.
                document.getElementById( "dl_f_link"  ).href          = 
LINK_FULL;
-               document.getElementById( "dl_f_link"  ).innerHTML     = 
"Porting: Download from other 3rd party vendors";
-               document.getElementById( "dl_f_link"  ).title         = 
"Porting: Download from other 3rd party vendors";
+               document.getElementById( "dl_f_link"  ).innerHTML     = 
"Archive: Download from older releases";
+               document.getElementById( "dl_f_link"  ).title         = "Click 
to browse to the archive and download older releases";
+               document.getElementById( "dl_f_link"  ).style.display = 
"inline";
                document.getElementById( "dl_lp_link" ).style.display = "none";
+               document.getElementById( "sub_green_box" ).style.display = 
"none";
 
                return LINK_FULL;
        }


Reply via email to