openoffice-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mar...@apache.org
Subject svn commit: r1607471 - /openoffice/ooo-site/trunk/content/download/test/boxed_download.js
Date Wed, 02 Jul 2014 20:30:24 GMT
Author: marcus
Date: Wed Jul  2 20:30:24 2014
New Revision: 1607471

URL: http://svn.apache.org/r1607471
Log:
Exchanged hard-coded links with variables, so that the links can be customized

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=1607471&r1=1607470&r2=1607471&view=diff
==============================================================================
--- openoffice/ooo-site/trunk/content/download/test/boxed_download.js (original)
+++ openoffice/ooo-site/trunk/content/download/test/boxed_download.js Wed Jul  2 20:30:24
2014
@@ -181,52 +181,113 @@ function createNavigationBar() {
   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>"
+      + "<li>"
+        + "<a href='" + l10n_nav_sysreq_href + "'"
+          + "title='" + l10n_nav_sysreq_title + "'>" + l10n_nav_sysreq_text
+        + "</a>"
+      + "</li>"
+      + "<li>"
+        + "<a href='" + l10n_nav_license_href + "'"
+          + "title='" + l10n_nav_license_title + "'>" + l10n_nav_license_text
+        + "</a>"
+      + "</li>"
+      + "<li>"
+        + "<a href='" + l10n_nav_source_href + "'"
+          + "title='" + l10n_nav_source_title + "'>" + l10n_nav_source_text
+        + "</a>"
+      + "</li>"
+      + "<li>"
+        + "<a href='" + l10n_nav_build_href + "'"
+          + "title='" + l10n_nav_build_title + "'>" + l10n_nav_build_text
+        + "</a>"
+      + "</li>"
+      + "<li>"
+        + "<a href='" + l10n_nav_sdk_href + "'"
+          + "title='" + l10n_nav_sdk_title + "'>" + l10n_nav_sdk_text
+        + "</a>"
+      + "</li>"
+      + "<li>"
+        + "<a href='" + l10n_nav_devbuilds_href + "'"
+          + "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>"
+      + "<li>"
+        + "<a href='" + l10n_nav_schedule_href + "'"
+          + "title='" + l10n_nav_schedule_title + "'>" + l10n_nav_schedule_text
+        + "</a>"
+      + "</li>"
+      + "<li>"
+        + "<a href='" + l10n_nav_hist_schedule_href + "'"
+          + "title='" + l10n_nav_hist_schedule_title + "'>" + l10n_nav_hist_schedule_text
+        + "</a>"
+      + "</li>"
+      + "<li>"
+        + "<a href='" + l10n_nav_inst_guide_href + "'"
+          + "title='" + l10n_nav_inst_guide_title + "'>" + l10n_nav_inst_guide_text
+        + "</a>"
+      + "</li>"
+      + "<li>"
+        + "<a href='" + l10n_nav_user_guide_href + "'"
+          + "title='" + l10n_nav_user_guide_title + "'>" + l10n_nav_user_guide_text
+        + "</a>"
+      + "</li>"
+      + "<li>"
+        + "<a href='" + l10n_nav_why_java_href + "'"
+          + "title='" + l10n_nav_why_java_title + "'>" + l10n_nav_why_java_text
+        + "</a>"
+      + "</li>"
+      + "<li>"
+        + "<a href='" + l10n_nav_eol_href + "'"
+          + "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>"
+      + "<li>"
+        + "<a href='" + l10n_nav_support_href + "'"
+          + "title='" + l10n_nav_support_title + "'>" + l10n_nav_support_text
+        + "</a>"
+      + "</li>"
+      + "<li>"
+        + "<a href='" + l10n_nav_local_href + "'"
+          + "title='" + l10n_nav_local_title + "'>" + l10n_nav_local_text
+        + "</a>"
+      + "</li>"
+      + "<li>"
+        + "<a href='" + l10n_nav_stat_href + "'"
+          + "title='" + l10n_nav_stat_title + "'>" + l10n_nav_stat_text
+        + "</a>"
+      + "</li>"
+      + "<li>"
+        + "<a href='" + l10n_nav_mirrors1_href + "'"
+          + "title='" + l10n_nav_mirrors1_title + "'>" + l10n_nav_mirrors1_text
+        + "</a>"
+        + "<br />"
+      + "</li>"
+      + "<li>"
+        + "<a href='" + l10n_nav_mirrors2_href + "'"
+          + "title='" + l10n_nav_mirrors2_title + "'>" + l10n_nav_mirrors2_text
+        + "</a>"
+        + "<br />"
+      + "</li>"
+      + "<li>"
+        + "<a href='" + l10n_nav_porting_href + "'"
+          + "title='" + l10n_nav_porting_title + "'>" + l10n_nav_porting_text
+        + "</a>"
+        + "<br />"
+      + "</li>"
+      + "<li>"
+        + "<a href='" + l10n_nav_archive_href + "'"
+          + "title='" + l10n_nav_archive_title + "'>" + l10n_nav_archive_text
+        + "</a>"
+        + "<br />"
+      + "</li>"
     + "</ul>"
   + "</div>" );
   return;



Mime
View raw message