Author: marcus
Date: Sat Jun 21 14:57:00 2014
New Revision: 1604412
URL: http://svn.apache.org/r1604412
Log:
Separated functions for navigation bar and logo section
Modified:
openoffice/ooo-site/trunk/content/download/test/boxed_download.js
Modified: openoffice/ooo-site/trunk/content/download/test/boxed_download.js
URL:
http://svn.apache.org/viewvc/openoffice/ooo-site/trunk/content/download/test/boxed_download.js?rev=1604412&r1=1604411&r2=1604412&view=diff
==============================================================================
--- openoffice/ooo-site/trunk/content/download/test/boxed_download.js (original)
+++ openoffice/ooo-site/trunk/content/download/test/boxed_download.js Sat Jun
21 14:57:00 2014
@@ -102,6 +102,7 @@ function createDownloadBox() {
+ "</p>"
+ "</div>"
+ "</div>" );
+ return;
}
function createShareBox() {
@@ -131,6 +132,7 @@ function createShareBox() {
+ "</a>"
+ "</p>"
+ "</div>" );
+ return;
}
function createExtensionsBox() {
@@ -146,6 +148,7 @@ function createExtensionsBox() {
+ "</a>"
+ "</p>"
+ "</div>" );
+ return;
}
function createTemplatesBox() {
@@ -161,6 +164,7 @@ function createTemplatesBox() {
+ "</a>"
+ "</p>"
+ "</div>" );
+ return;
}
function createNavigationBar() {
@@ -215,11 +219,13 @@ function createNavigationBar() {
+ "<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>" );
+ return;
+}
- + "<div id='SupportedAndSupporters'>"
+function createLogoSection() {
+ // Logo section.
+ document.write( "<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>"
@@ -228,5 +234,6 @@ function createNavigationBar() {
+ "<img src='../../images/valid-xhtml10-blue.png' alt='" +
l10n_img_w3c_alt + "' />"
+ "</a>"
+ "</div>" );
+ return;
}