Author: buildbot
Date: Sat Jun 21 14:32:14 2014
New Revision: 913160
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/boxed_download.js
Propchange: websites/staging/ooo-site/trunk/cgi-bin/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Sat Jun 21 14:32:14 2014
@@ -1 +1 @@
-1604402
+1604404
Propchange: websites/staging/ooo-site/trunk/content/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Sat Jun 21 14:32:14 2014
@@ -1 +1 @@
-1604402
+1604404
Modified:
websites/staging/ooo-site/trunk/content/download/test/boxed_download.js
==============================================================================
--- websites/staging/ooo-site/trunk/content/download/test/boxed_download.js
(original)
+++ websites/staging/ooo-site/trunk/content/download/test/boxed_download.js Sat
Jun 21 14:32:14 2014
@@ -1,100 +1,232 @@
function createDownloadBox() {
// Green colored box.
// Show select boxes and both download text buttons.
- document.write( "<div class='first button green-sel' id='optionitem2'>"
+ document.write( "<div class='first button green' id='optionitem2'>"
+ + "<div class='green-icon'></div>"
// Headline.
- + "<h2>"
- + "<a title='" + l10n_download_green_box_headline_title + "'>" +
l10n_download_green_box_headline_text + "</a>"
+ + "<h2 title='" + l10n_download_green_box_headline_title + "'>"
+ + l10n_download_green_box_headline_text
+ "</h2>"
// Select text.
- + "<p style='padding-bottom: 0px;'>"
- + "<a title='" + l10n_download_green_box_subtext1_title + "'>(" +
l10n_download_green_box_subtext1_text + ")</a>"
- + "<a title='" + l10n_download_green_box_subtext2_title + "'><b>" +
l10n_download_green_box_subtext2_text + ":</b></a>"
+ + "<p title='" + l10n_download_green_box_subtext1_title + "'>"
+ + "(" + l10n_download_green_box_subtext1_text + ")"
+ + "</p>"
+ + "<p title='" + l10n_download_green_box_subtext2_title + "'>"
+ + "<b>" + l10n_download_green_box_subtext2_text + ":</b>"
+ "</p>"
// Select boxes.
+ "<form name='download'>"
- + "<select class='sel-os' id='os' name='os' ' onchange='getLinkSel()'"
+ + "<select class='sel-os' id='os' name='os' '
onchange='getLinkSelection()'"
+ "title='" + l10n_download_green_box_selectbox_os_title + "'>"
+ "</select>"
- + "<select class='sel-lang' id='lang' name='lang'
onchange='getLinkSel()'"
+ + "<select class='sel-language' id='language' name='language'
onchange='getLinkSelection()'"
+ "title='" + l10n_download_green_box_selectbox_lang_title + "'>"
+ "</select>"
- + "<select class='sel-ver' id='ver' name='ver' onchange='getLinkSel()'"
+ + "<select class='sel-version' id='version' name='version'
onchange='getLinkSelection()'"
+ "title='" + l10n_download_green_box_selectbox_ver_title + "'>"
+ "</select>"
+ "</form>"
// Both download text buttons: First for "full install", then for
"langpack".
- + "<a style='padding: 0px 0px 0px 3%; cursor: default;'></a>"
-
- + "<div class='btn_dl' style='display: inline-block;'>"
- + "<h3>"
- + "<a id='dl_f_link' href='' title='' target='_blank'></a>"
- + "</h3>"
+ + "<div style='margin: 0px 0px -15px 3%;'>"
+ + "<div class='btn_dl' style='display: inline-block;'>"
+ + "<h3>"
+ + "<a id='dl_f_link' target='_blank'></a>"
+ + "</h3>"
+ + "</div>"
+
+ + "<a style='margin: 0px 0px 0px -1%; cursor: default;'></a>"
+
+ + "<div class='btn_dl' style='display: inline-block;'>"
+ + "<h3>"
+ + "<a id='dl_lp_link' target='_blank'></a>"
+ + "</h3>"
+ + "</div>"
+ "</div>"
-
- + "<a style='padding: 0px 0px 0px 3%; cursor: default;'></a>"
-
- + "<div class='btn_dl' style='display: inline-block;'>"
- + "<h3>"
- + "<a id='dl_lp_link' href='' title='' target='_blank'></a>"
- + "</h3>"
- + "</div>"
- + "<br /><br />"
-
+ + "<br /><br />"
+ "</div>"
// Sub-green colored box.
// Show release info, filesizes, checksum links and help links.
- + "<div id='sub_box' class='sub-green-sel'>"
- + "<p>"
+ + "<div id='sub_box' class='button sub-green'>"
+ + "<div>" // The 3 lines of release info
// Error text with hint.
- + "<img id='dl_err_img' style='margin: 5px 5px 15px 0px;' src=''
title='' height='16' width='16' alt='' />"
- + "<a id='dl_err' style='text-decoration: none;'
title=''></a>"
+ + "<img id='dl_err_img' style='margin: 5px 5px 18px 3%;'
height='16' width='16' />"
+ + "<p id='dl_err' style='text-decoration: none;'></p>"
+
+ + "<p>"
+ // Release info and notes.
+ + "<a id='dl_rel_info' style='text-decoration: none;'></a>"
+ + "<a id='dl_rel_notes' style='text-decoration: underline;'
target='_blank'></a>"
+ + "<br />"
+
+ // Full installation: Filesize and checksums.
+ + "<a id='dl_f_info' style='text-decoration: none;'></a>"
+ + "<a id='dl_f_chk_keys' style='text-decoration: underline;'
target='_blank'></a>"
+ + "<a id='space1' style='text-decoration: none;'></a>"
+ + "<a id='dl_f_chk_asc' style='text-decoration: underline;'
target='_blank'></a>"
+ + "<a id='space2' style='text-decoration: none;'></a>"
+ + "<a id='dl_f_chk_md5' style='text-decoration: underline;'
target='_blank'></a>"
+ + "<a id='space3' style='text-decoration: none;'></a>"
+ + "<a id='dl_f_chk_sha256' style='text-decoration: underline;'
target='_blank'></a>"
+ + "<br />"
+
+ // Langpack: Filesize and checksums.
+ + "<a id='dl_lp_info' style='text-decoration: none;'></a>"
+ + "<a id='dl_lp_chk_keys' style='text-decoration: underline;'
target='_blank'></a>"
+ + "<a id='space4' style='text-decoration: none;'></a>"
+ + "<a id='dl_lp_chk_asc' style='text-decoration: underline;'
target='_blank'></a>"
+ + "<a id='space5' style='text-decoration: none;'></a>"
+ + "<a id='dl_lp_chk_md5' style='text-decoration: underline;'
target='_blank'></a>"
+ + "<a id='space6' style='text-decoration: none;'></a>"
+ + "<a id='dl_lp_chk_sha256' style='text-decoration: underline;'
target='_blank'></a>"
+ + "<br />"
+ + "</p>"
+ + "</div>"
+
+ + "<div>" // The 3 help icons and links
+ + "<p>"
+ // Help: What is a language pack?
+ + "<img id='dl_hlp_img' style='padding: 5px 5px 0px 0px;'
height='16' width='16' />"
+ + "<a id='dl_hlp' target='_blank' onclick='showWindow( this.href );
return false;'></a>"
+
+ // Help: How to verify the download?
+ + "<img id='dl_chk_img' style='padding: 5px 5px 0px 30px;'
height='16' width='16' />"
+ + "<a id='dl_chk' target='_blank'></a>"
+
+ // Help: Report broken link.
+ + "<img id='dl_rpt_img' style='padding: 5px 5px 0px 30px;'
height='16' width='16' />"
+ + "<a id='dl_rpt' target='_blank'></a>"
+ + "</p>"
+ + "</div>"
+ + "</div>" );
+}
+
+function createShareBox() {
+ // Light blue colored box.
+ // Share download with social networks.
+ document.write( "<div class='button lightblue' id='optionitem4'>"
+ + "<div class='lightblue-icon'></div>"
+ + "<h2 title='" + l10n_share_light_blue_box_headline_title + "'>" +
l10n_share_light_blue_box_headline_text + "</h2>"
+ + "<p id='ShareDownloadLinks'"
+ + "title='" + l10n_share_light_blue_box_text_title + "'>" +
l10n_share_light_blue_box_text_text + "</p>"
+ + "<p style='margin-left: 0; padding-bottom: 2%;'>"
+ + "<a style='display: inline;' href='https://blogs.apache.org/OOo/'"
+ + "title='" + l10n_share_light_blue_box_blog_title + "'>"
+ + "<img src='../../images/logo-rss-32.png' alt='" +
l10n_share_light_blue_box_blog_alt + "'/>"
+ + "</a>"
+ + "<a style='display: inline;' href='javascript:shareFacebook()'"
+ + "title='" + l10n_share_light_blue_box_facebook_title + "'>"
+ + "<img src='../../images/logo-facebook-32.png' alt='" +
l10n_share_light_blue_box_facebook_alt + "' />"
+ + "</a>"
+ + "<a style='display: inline;' href='javascript:shareTwitter()'"
+ + "title='" + l10n_share_light_blue_box_twitter_title + "'>"
+ + "<img src='../../images/logo-twitter-32.png' alt='" +
l10n_share_light_blue_box_twitter_alt + "' />"
+ + "</a>"
+ + "<a style='display: inline;' href='javascript:shareGooglePlus()'"
+ + "title='" + l10n_share_light_blue_box_googleplus_title + "'>"
+ + "<img src='../../images/logo-googleplus-32.png' alt='" +
l10n_share_light_blue_box_googleplus_alt + "' />"
+ + "</a>"
+ + "</p>"
+ + "</div>" );
+}
+
+function createExtensionsBox() {
+ // Blue colored box.
+ // Get extensions and dictionaries.
+ document.write( "<div class='blue button' id='optionitem5' "
+ + "onclick='openItem('optionitem5','http://extensions.openoffice.org');
return false;'>"
+ + "<div class='blue-icon'></div>"
+ + "<h2 title='" + l10n_ext_blue_box_headline_title + "'>" +
l10n_ext_blue_box_headline_text + "</h2>"
+ + "<p style='margin-left: 0; padding-bottom: 3%;'>"
+ + "<a href='http://extensions.openoffice.org' title='" +
l10n_ext_blue_box_text_title + "'>"
+ + l10n_ext_blue_box_text_text
+ + "</a>"
+ + "</p>"
+ + "</div>" );
+}
- // Release info and notes.
- + "<a id='dl_rel_info' style='text-decoration: none;'></a>"
- + "<a id='dl_rel_notes' style='text-decoration: underline;' href=''
title='' target='_blank'></a>"
- + "<br />"
-
- // Full installation: Filesize and checksums.
- + "<a id='dl_f_info' style='text-decoration: none;'></a>"
- + "<a id='dl_f_chk_keys' style='text-decoration: underline;' href=''
title='' target='_blank'></a>"
- + "<a id='space1' style='text-decoration: none;'></a>"
- + "<a id='dl_f_chk_asc' style='text-decoration: underline;' href=''
title='' target='_blank'></a>"
- + "<a id='space2' style='text-decoration: none;'></a>"
- + "<a id='dl_f_chk_md5' style='text-decoration: underline;' href=''
title='' target='_blank'></a>"
- + "<a id='space3' style='text-decoration: none;'></a>"
- + "<a id='dl_f_chk_sha256' style='text-decoration: underline;' href=''
title='' target='_blank'></a>"
- + "<br />"
-
- // Langpack: Filesize and checksums.
- + "<a id='dl_lp_info' style='text-decoration: none;'></a>"
- + "<a id='dl_lp_chk_keys' style='text-decoration: underline;'
href='' title='' target='_blank'></a>"
- + "<a id='space4' style='text-decoration: none;'></a>"
- + "<a id='dl_lp_chk_asc' style='text-decoration: underline;' href=''
title='' target='_blank'></a>"
- + "<a id='space5' style='text-decoration: none;'></a>"
- + "<a id='dl_lp_chk_md5' style='text-decoration: underline;' href=''
title='' target='_blank'></a>"
- + "<a id='space6' style='text-decoration: none;'></a>"
- + "<a id='dl_lp_chk_sha256' style='text-decoration: underline;' href=''
title='' target='_blank'></a>"
- + "<br />"
-
- // Help: What is a language pack?
- + "<img id='dl_hlp_img' style='padding: 5px 5px 0px 0px;' src=''
title='' height='16' width='16' alt='' />"
- + "<a id='dl_hlp' href='' title='' target='_blank'
onclick='showWindow( this.href ); return false;'></a>"
- + "<a style='padding: 0px 0px 0px 30px;'></a>"
-
- // Help: How to verify the download?
- + "<img id='dl_chk_img' style='padding: 5px 5px 0px 0px;' src=''
title='' height='16' width='16' alt='' />"
- + "<a id='dl_chk' href='' title='' target='_blank'></a>"
- + "<a style='padding: 0px 0px 0px 30px;'></a>"
-
- // Help: Report broken link.
- + "<img id='dl_rpt_img' style='padding: 5px 5px 0px 0px;' src=''
title='' height='16' width='16' alt='' />"
- + "<a id='dl_rpt' href='' title='' target='_blank'></a>"
+function createTemplatesBox() {
+ // Blue colored box.
+ // Get templates.
+ document.write( "<div class='button blue' id='optionitem6' "
+ + "onclick='openItem('optionitem6','http://templates.openoffice.org');
return false;'>"
+ + "<div class='blue-icon'></div>"
+ + "<h2 title='" + l10n_tlp_blue_box_headline_title + "'>" +
l10n_tlp_blue_box_headline_text + "</h2>"
+ + "<p style='margin-left: 0; padding-bottom: 3%;'>"
+ + "<a href='http://templates.openoffice.org' title='" +
l10n_tlp_blue_box_text_title + "'>"
+ + l10n_tlp_blue_box_text_text
+ + "</a>"
+ "</p>"
+ "</div>" );
}
+function createNavigationBar() {
+ // Navigation bar.
+ document.write( "<div>"
+ + "<h3>" + l10n_nav_headline_1_text + "</h3>"
+ + "<ul>"
+ + "<li><a
href='http://www.openoffice.org/dev_docs/source/sys_reqs_aoo40.html'"
+ + "title='" + l10n_nav_sysreq_title + "'>" + l10n_nav_sysreq_text +
"</a></li>"
+ + "<li><a href='../../license.html'"
+ + "title='" + l10n_nav_license_title + "'>" + l10n_nav_license_text +
"</a></li>"
+ + "<li><a href='http://openoffice.apache.org/downloads.html'"
+ + "title='" + l10n_nav_source_title + "'>" + l10n_nav_source_text +
"</a>"
+ + "<li><a
href='http://wiki.openoffice.org/wiki/Documentation/Building_Guide_AOO'"
+ + "title='" + l10n_nav_build_title + "'>" + l10n_nav_build_text +
"</a></li>"
+ + "<li><a href='http://openoffice.apache.org/downloads.html'"
+ + "title='" + l10n_nav_sdk_title + "'>" + l10n_nav_sdk_text + "</a></li>"
+ + "<li><a href='http://www.openoffice.org/download/devbuilds.html'"
+ + "title='" + l10n_nav_devbuilds_title + "'>" + l10n_nav_devbuilds_text
+ "</a></li>"
+ + "</ul>"
+
+ + "<h3>" + l10n_nav_headline_2_text + "</h3>"
+ + "<ul>"
+ + "<li><a
href='http://cwiki.apache.org/confluence/display/OOOUSERS/Releases'"
+ + "title='" + l10n_nav_schedule_title + "'>" + l10n_nav_schedule_text +
"</a></li>"
+ + "<li><a
href='http://wiki.services.openoffice.org/wiki/Product_Release'"
+ + "title='" + l10n_nav_hist_schedule_title + "'>" +
l10n_nav_hist_schedule_text + "</a></li>"
+ + "<li><a
href='http://www.openoffice.org/download/common/instructions.html'"
+ + "title='" + l10n_nav_inst_guide_title + "'>" +
l10n_nav_inst_guide_text + "</a></li>"
+ + "<li><a href='http://www.openoffice.org/documentation/index.html'"
+ + "title='" + l10n_nav_user_guide_title + "'>" +
l10n_nav_user_guide_text + "</a></li>"
+ + "<li><a href='http://www.openoffice.org/download/common/java.html'"
+ + "title='" + l10n_nav_why_java_title + "'>" + l10n_nav_why_java_text +
"</a></li>"
+ + "<li><a href='http://www.openoffice.org/development/releases/eol.html'"
+ + "title='" + l10n_nav_eol_title + "'>" + l10n_nav_eol_text + "</a></li>"
+ + "</ul>"
+
+ + "<h3>" + l10n_nav_headline_3_text + "</h3>"
+ + "<ul>"
+ + "<li><a href='http://www.openoffice.org/support/index.html'"
+ + "title='" + l10n_nav_support_title + "'>" + l10n_nav_support_text +
"</a></li>"
+ + "<li><a href='http://openoffice.apache.org/native-lang.html'"
+ + "title='" + l10n_nav_local_title + "'>" + l10n_nav_local_text +
"</a></li>"
+ + "<li><a href='http://www.openoffice.org/stats/index.html'"
+ + "title='" + l10n_nav_stat_title + "'>" + l10n_nav_stat_text +
"</a></li>"
+ + "<li><a
href='http://sourceforge.net/projects/openofficeorg.mirror/files/'"
+ + "title='" + l10n_nav_mirrors1_title + "'>" + l10n_nav_mirrors1_text +
"</a><br /></li>"
+ + "<li><a href='http://www.apache.org/dyn/aoo-closer.cgi/openoffice/'"
+ + "title='" + l10n_nav_mirrors2_title + "'>" + l10n_nav_mirrors2_text +
"</a><br /></li>"
+ + "<li><a href='http://www.openoffice.org/porting/index.html'"
+ + "title='" + l10n_nav_porting_title + "'>" + l10n_nav_porting_text +
"</a><br /></li>"
+ + "<li><a href='http://www.openoffice.org/download/archive.html'"
+ + "title='" + l10n_nav_archive_title + "'>" + l10n_nav_archive_text +
"</a><br /></li>"
+ + "</ul>"
+ + "</div>"
+
+ + "<br /><br />"
+
+ + "<div id='SupportedAndSupporters'>"
+ + "<a href='http://www.sourceforge.net' title='" +
l10n_img_sourceforge_title + "'>"
+ + "<img src='../../images/sourceforge.png' width='160' height='34'
alt='" + l10n_img_sourceforge_alt + "' />"
+ + "</a>"
+ + "<br /><br />"
+ + "<a href='http://validator.w3.org/check?uri=referer' target='_blank'
title='" + l10n_img_w3c_title + "'>"
+ + "<img src='../../images/valid-xhtml10-blue.png' alt='" +
l10n_img_w3c_alt + "' />"
+ + "</a>"
+ + "</div>" );
+}
+