openoffice-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mar...@apache.org
Subject svn commit: r1595655 - /openoffice/ooo-site/trunk/content/download/test/download_droplist.js
Date Sun, 18 May 2014 18:46:47 GMT
Author: marcus
Date: Sun May 18 18:46:46 2014
New Revision: 1595655

URL: http://svn.apache.org/r1595655
Log:
Updated text and URLs for green box and sub-green box

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=1595655&r1=1595654&r2=1595655&view=diff
==============================================================================
--- openoffice/ooo-site/trunk/content/download/test/download_droplist.js (original)
+++ openoffice/ooo-site/trunk/content/download/test/download_droplist.js Sun May 18 18:46:46
2014
@@ -780,37 +780,22 @@ function resetSel() {
 	//	elements[i].selectedIndex = 0;
 	// }
 
-	// Emtpy the text and URLs below the <selects> elements.
+	// Emtpy the text and URLs below for the both download text buttons.
 	document.getElementById( "dl_full_link" ).href		= "";
-	document.getElementById( "dl_full_link" ).text		= "";
+	document.getElementById( "dl_full_link" ).text		= "No full install available";
 	document.getElementById( "dl_full_link" ).title		= "";
 	document.getElementById( "dl_lp_link" ).href		= "";
-	document.getElementById( "dl_lp_link" ).text		= "";
+	document.getElementById( "dl_lp_link" ).text		= "No language pack available";
 	document.getElementById( "dl_lp_link" ).title		= "";
-	document.getElementById( "dl_help" ).href		= "";
-	document.getElementById( "dl_help" ).text		= "";
-	document.getElementById( "dl_help" ).title		= "";
-	document.getElementById( "dl_help_img" ).src		= "";
-	document.getElementById( "dl_help_img" ).alt		= "";
-	document.getElementById( "dl_help_img" ).title		= "";
-	document.getElementById( "dl_report1" ).href		= "";
-	document.getElementById( "dl_report1" ).text		= "";
-	document.getElementById( "dl_report1" ).title		= "";
-	document.getElementById( "dl_report2" ).href		= "";
-	document.getElementById( "dl_report2" ).text		= "";
-	document.getElementById( "dl_report2" ).title		= "";
-	document.getElementById( "dl_report_img" ).src		= "";
-	document.getElementById( "dl_report_img" ).title	= "";
-	document.getElementById( "dl_report_img" ).alt		= "";
-//	document.getElementById( "dl_rel_data" ).text		= "";
-//	document.getElementById( "dl_rel_data" ).title		= "";
-	document.getElementById( "dl_rel_data_hl" ).text	= "Release data: ";
+
+	// Emtpy the text and URLs in the sub-green box on the right hand side.
+	document.getElementById( "dl_rel_data_hl" ).text	= "";
 	document.getElementById( "dl_rel_data" ).text		= "";
-	document.getElementById( "dl_full_hl" ).text		= "Full installation: ";
+	document.getElementById( "dl_full_hl" ).text		= "";
 	document.getElementById( "dl_full_size_hl" ).text	= "";
 	document.getElementById( "dl_full_size" ).text		= "";
 	document.getElementById( "space1" ).text		= "";
-	document.getElementById( "dl_full_chk_hl" ).text	= "Signatures and hashes: ";
+	document.getElementById( "dl_full_chk_hl" ).text	= "";
 	document.getElementById( "dl_full_chk_keys" ).href	= "";
 	document.getElementById( "dl_full_chk_keys" ).text	= "";
 	document.getElementById( "dl_full_chk_keys" ).title	= "";
@@ -830,11 +815,11 @@ function resetSel() {
 	document.getElementById( "dl_chk_verify" ).href		= "";
 	document.getElementById( "dl_chk_verify" ).text		= "";
 	document.getElementById( "dl_chk_verify" ).title	= "";
-	document.getElementById( "dl_lp_hl" ).text		= "Language pack: ";
+	document.getElementById( "dl_lp_hl" ).text		= "";
 	document.getElementById( "dl_lp_size_hl" ).text		= "";
 	document.getElementById( "dl_lp_size" ).text		= "";
 	document.getElementById( "space6" ).text		= "";
-	document.getElementById( "dl_lp_chk_hl" ).text		= "Signatures and hashes: ";
+	document.getElementById( "dl_lp_chk_hl" ).text		= "";
 	document.getElementById( "dl_lp_chk_keys" ).href	= "";
 	document.getElementById( "dl_lp_chk_keys" ).text	= "";
 	document.getElementById( "dl_lp_chk_keys" ).title	= "";
@@ -850,6 +835,34 @@ function resetSel() {
 	document.getElementById( "dl_lp_chk_sha256" ).href	= "";
 	document.getElementById( "dl_lp_chk_sha256" ).text	= "";
 	document.getElementById( "dl_lp_chk_sha256" ).title	= "";
+
+	// Emtpy the text and URLs in the sub-green box on the left hand side.
+/*
+	document.getElementById( "dl_hlp" ).href		= "full_vs_lp.html";
+	document.getElementById( "dl_hlp" ).text		= "What is a language pack?";
+	document.getElementById( "dl_hlp" ).title		= "What is the difference between full installation
and language pack?";
+	document.getElementById( "dl_hlp_img" ).src		= "help-information-icon.png";
+	document.getElementById( "dl_hlp_img" ).title		= "What is the difference between full installation
and language pack?";
+	document.getElementById( "dl_hlp_img" ).alt		= "Help icon";
+	document.getElementById( "dl_rpt" ).href		= "analyze.html";
+	document.getElementById( "dl_rpt" ).text		= "Report broken link";
+	document.getElementById( "dl_rpt" ).title		= "Broken download link? Click here to report.";
+	document.getElementById( "dl_rpt_img" ).src		= "help-report-broken-link-icon.png";
+	document.getElementById( "dl_rpt_img" ).title		= "Broken download link? Click here to report.";
+	document.getElementById( "dl_rpt_img" ).alt		= "Broken link icon";
+*/
+	document.getElementById( "dl_hlp" ).href		= "";
+	document.getElementById( "dl_hlp" ).text		= "";
+	document.getElementById( "dl_hlp" ).title		= "";
+	document.getElementById( "dl_hlp_img" ).src		= "";
+	document.getElementById( "dl_hlp_img" ).alt		= "";
+	document.getElementById( "dl_hlp_img" ).title		= "";
+	document.getElementById( "dl_rpt" ).href		= "";
+	document.getElementById( "dl_rpt" ).text		= "";
+	document.getElementById( "dl_rpt" ).title		= "";
+	document.getElementById( "dl_rpt_img" ).src		= "";
+	document.getElementById( "dl_rpt_img" ).title		= "";
+	document.getElementById( "dl_rpt_img" ).alt		= "";
 }
 
 /*
@@ -1070,31 +1083,15 @@ function getLinkSel( rel_mode ) {
 
 		rel_data = "Milestone " + MILESTONE + " | Build ID " + BUILD + " | SVN " + SVN_REV + "
| Released: " + REL_DATE;
 
-		// Set the text and URLs below the <selects> elements.
+		// Set the text and URLs below for the both download text buttons.
 		document.getElementById( "dl_full_link" ).href		= LINK_FULL;
-		document.getElementById( "dl_full_link" ).text		= "Download install";
+		document.getElementById( "dl_full_link" ).text		= "Download full install";
 		document.getElementById( "dl_full_link" ).title		= "Click to download: " + FILENAME_FULL;
 		document.getElementById( "dl_lp_link" ).href		= LINK_LP;
-		document.getElementById( "dl_lp_link" ).text		= "Download langpack";
+		document.getElementById( "dl_lp_link" ).text		= "Download language pack";
 		document.getElementById( "dl_lp_link" ).title		= "Click to download: " + FILENAME_LP;
-		document.getElementById( "dl_help" ).href		= "full_vs_lp.html";
-		document.getElementById( "dl_help" ).title		= "What is the difference between full installation
and language pack?";
-		document.getElementById( "dl_help_img" ).src		= "../cachedimages/help-information-icon.png";
-		document.getElementById( "dl_help_img" ).title		= "What is the difference between full
installation and language pack?";
-		document.getElementById( "dl_help_img" ).alt		= "Help icon";
-		document.getElementById( "dl_report1" ).href		= "analyze.html";
-		document.getElementById( "dl_report1" ).title		= "Broken download link? Click here to report.";
-		document.getElementById( "dl_report2" ).href		= "analyze.html";
-		document.getElementById( "dl_report2" ).text		= "Report broken link";
-		document.getElementById( "dl_report2" ).title		= "Broken download link? Click here to report.";
-		document.getElementById( "dl_report_img" ).src		= "../cachedimages/help-report-broken-link-icon.png";
-		document.getElementById( "dl_report_img" ).title	= "Broken download link? Click here to
report.";
-		document.getElementById( "dl_report_img" ).alt		= "Broken link icon";
-		document.getElementById( "dl_help" ).href		= "full_vs_lp.html";
-		document.getElementById( "dl_help" ).title		= "What is the difference between full installation
and language pack?";
-//		document.getElementById( "dl_rel_data" ).text		= rel_data;
-//		document.getElementById( "dl_rel_data" ).title		= rel_data;
 
+		// Set the text and URLs in the sub-green box on the left hand side.
 		document.getElementById( "dl_rel_data_hl" ).text	= "Release data: ";
 		document.getElementById( "dl_rel_data" ).text		= rel_data;
 		document.getElementById( "dl_full_hl" ).text		= "Full installation: ";
@@ -1141,6 +1138,20 @@ function getLinkSel( rel_mode ) {
 		document.getElementById( "dl_lp_chk_sha256" ).href	= LINK_CHECKSUM_SHA256_LP;
 		document.getElementById( "dl_lp_chk_sha256" ).text	= "SHA256";
 		document.getElementById( "dl_lp_chk_sha256" ).title	= "SHA256 hash for: " + FILENAME_LP;
+
+		// Set the text and URLs in the sub-green box on the right hand side.
+		document.getElementById( "dl_hlp" ).href		= "full_vs_lp.html";
+		document.getElementById( "dl_hlp" ).text		= "What is a language pack?";
+		document.getElementById( "dl_hlp" ).title		= "What is the difference between full installation
and language pack?";
+		document.getElementById( "dl_hlp_img" ).src		= "help-information-icon.png";
+		document.getElementById( "dl_hlp_img" ).title		= "What is the difference between full installation
and language pack?";
+		document.getElementById( "dl_hlp_img" ).alt		= "Info";
+		document.getElementById( "dl_rpt" ).href		= "analyze.html";
+		document.getElementById( "dl_rpt" ).text		= "Report broken link";
+		document.getElementById( "dl_rpt" ).title		= "Broken download link? Click here to report.";
+		document.getElementById( "dl_rpt_img" ).src		= "help-report-broken-link-icon.png";
+		document.getElementById( "dl_rpt_img" ).title		= "Broken download link? Click here to report.";
+		document.getElementById( "dl_rpt_img" ).alt		= "Broken link";
 	}
 
 //	alertDbg( "getLinkSel()" );



Mime
View raw message