Author: buildbot Date: Mon Jun 2 21:29:40 2014 New Revision: 911006 Log: Staging update by buildbot for ooo-site
Modified: websites/staging/ooo-site/trunk/cgi-bin/ (props changed) websites/staging/ooo-site/trunk/content/ (props changed) websites/staging/ooo-site/trunk/content/download/test/download_droplist.js Propchange: websites/staging/ooo-site/trunk/cgi-bin/ ------------------------------------------------------------------------------ --- cms:source-revision (original) +++ cms:source-revision Mon Jun 2 21:29:40 2014 @@ -1 +1 @@ -1599364 +1599365 Propchange: websites/staging/ooo-site/trunk/content/ ------------------------------------------------------------------------------ --- cms:source-revision (original) +++ cms:source-revision Mon Jun 2 21:29:40 2014 @@ -1 +1 @@ -1599364 +1599365 Modified: websites/staging/ooo-site/trunk/content/download/test/download_droplist.js ============================================================================== --- websites/staging/ooo-site/trunk/content/download/test/download_droplist.js (original) +++ websites/staging/ooo-site/trunk/content/download/test/download_droplist.js Mon Jun 2 21:29:40 2014 @@ -1243,6 +1243,42 @@ function getLinkSel() { return ERROR; } + // 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/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 = "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_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" ) { + // 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/"; + + // 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_lp_link" ).style.display = "none"; + + return LINK_FULL; + } + // If language is not supported, show the none-availability to the user. if( ! isLangSupported() ) { if( R_MODE === 1 ) { @@ -1391,12 +1427,15 @@ function getLinkSel() { } // Set the cursor style for the 3 links with icon to a help sign. - document.getElementById( "dl_hlp_img" ).style.cursor = "help"; - document.getElementById( "dl_hlp" ).style.cursor = "help"; - document.getElementById( "dl_chk_img" ).style.cursor = "help"; - document.getElementById( "dl_chk" ).style.cursor = "help"; - document.getElementById( "dl_rpt_img" ).style.cursor = "help"; - document.getElementById( "dl_rpt" ).style.cursor = "help"; + document.getElementById( "dl_hlp_img" ).style.cursor = "help"; + document.getElementById( "dl_hlp" ).style.cursor = "help"; + document.getElementById( "dl_chk_img" ).style.cursor = "help"; + document.getElementById( "dl_chk" ).style.cursor = "help"; + document.getElementById( "dl_rpt_img" ).style.cursor = "help"; + document.getElementById( "dl_rpt" ).style.cursor = "help"; + + // Make the sub-green box and therefore all elements visible. + document.getElementById( "sub_green_box" ).style.display = "block"; } // alertDbg( "getLinkSel(): End" );