You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openoffice.apache.org by li...@apache.org on 2013/07/25 12:39:40 UTC

svn commit: r1506875 - /openoffice/ooo-site/trunk/content/zh-cn/download/index.html

Author: liushenfeng
Date: Thu Jul 25 10:39:39 2013
New Revision: 1506875

URL: http://svn.apache.org/r1506875
Log:
temporary replace "VERSION" to "VERSION_4" for 4.0.0 download.

Modified:
    openoffice/ooo-site/trunk/content/zh-cn/download/index.html

Modified: openoffice/ooo-site/trunk/content/zh-cn/download/index.html
URL: http://svn.apache.org/viewvc/openoffice/ooo-site/trunk/content/zh-cn/download/index.html?rev=1506875&r1=1506874&r2=1506875&view=diff
==============================================================================
--- openoffice/ooo-site/trunk/content/zh-cn/download/index.html (original)
+++ openoffice/ooo-site/trunk/content/zh-cn/download/index.html Thu Jul 25 10:39:39 2013
@@ -81,8 +81,10 @@
   <!--
   // Set a specific language ISO code to force to assemble a certain localized build as download URL
   var NL_LANGUAGE = "zh-cn";
+  // It is a temporary parameter before the global parameter "VERSION" was fixed and effected.
+  var VERSION_4 = "4.0.0";
   // Set some variables
-  var LINK        = getLink( VERSION, NL_LANGUAGE, MIRROR, SCHEMA );
+  var LINK        = getLink( VERSION_4, NL_LANGUAGE, MIRROR, SCHEMA );
   var LANG_ARRAY  = getArray( NL_LANGUAGE );
   var LANG_ISO    = getLanguageISO( NL_LANGUAGE );
   var PLATFORM    = getPlatform( SCHEMA );
@@ -90,7 +92,7 @@
   if ( hasMirrorLink( NL_LANGUAGE ) ) {
     document.write( "<div class=\"first button green\" id=\"optionitem1\" onclick=\"openItem('optionitem1','"
     + LINK + "');" + "return false;\">" );
-    document.write( "<h2><a href='" + LINK + "' title='" + LINK + "'>Download Apache OpenOffice " + VERSION + "</a></h2>"
+    document.write( "<h2><a href='" + LINK + "' title='" + LINK + "'>下载 Apache OpenOffice " + VERSION_4 + "</a></h2>"
     + "<p><a href='" + LINK + "' title='" + LINK + "'>Click to start downloading the most recent version for "
     + PLATFORM + " and " + LANG_ARRAY[ 2 ] + "."
     + "<br /></p>" );
@@ -100,7 +102,7 @@
     document.write( "<div class=\"first button green\" id=\"optionitem1\" onclick=\"openItem('optionitem1','"
     + LANG_ARRAY[ 3 ] + "');" + "return false;\">" );
     document.write( "<h2><a href='" + LANG_ARRAY[ 3 ] + "' title='" + LANG_ARRAY[ 3 ] + "'>下载 Apache OpenOffice "
-    + VERSION + "</a></h2>"
+    + VERSION_4 + "</a></h2>"
     + "<p><a href='" + LANG_ARRAY[ 3 ] + "' title='" + LANG_ARRAY[ 3 ] + "'>A release for " + LANG_ARRAY[ 2 ]
     + " 不可用.请从下载页选择一种可替代的语言版本.</a></p>" );
   }
@@ -112,11 +114,11 @@
     + "<a href='other.html#tested-sdk' title='获取所有源代码包和SDK下载'>"
     + "<b>源代码和SDK</b></a> | <br />"
     + "签名和哈希: "
-    + "<a href='" + apache_getChecksum( VERSION, NL_LANGUAGE, SCHEMA, "asc" )    + "' + title='ASC signature'>ASC</a> , "
-    + "<a href='" + apache_getChecksum( VERSION, NL_LANGUAGE, SCHEMA, "md5" )    + "' + title='MD5 hash'>MD5</a> , "
-    + "<a href='" + apache_getChecksum( VERSION, NL_LANGUAGE, SCHEMA, "sha256" ) + "' + title='SHA256 hash'>SHA256</a> | "
-    + "<a href='../development/releases/" + VERSION + ".html'"
-    + "title='Apache OpenOffice有何更新,有何进步?" + VERSION + "?'>发行说明</a> | "
+    + "<a href='" + apache_getChecksum( VERSION_4, NL_LANGUAGE, SCHEMA, "asc" )    + "' + title='ASC signature'>ASC</a> , "
+    + "<a href='" + apache_getChecksum( VERSION_4, NL_LANGUAGE, SCHEMA, "md5" )    + "' + title='MD5 hash'>MD5</a> , "
+    + "<a href='" + apache_getChecksum( VERSION_4, NL_LANGUAGE, SCHEMA, "sha256" ) + "' + title='SHA256 hash'>SHA256</a> | "
+    + "<a href='../development/releases/" + VERSION_4 + ".html'"
+    + "title='Apache OpenOffice有何更新,有何进步?" + VERSION_4 + "?'>发行说明</a> | "
     + "<a href='legacy/index.html' title='获取遗留版本 OpenOffice.org 3.3.0'>遗留版本</a></p>"
   + "</div>" );