You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openoffice.apache.org by ma...@apache.org on 2022/07/24 17:27:27 UTC

[openoffice-org] 02/02: Exchanged the hardcoded version number with the usually used JavaScript variable

This is an automated email from the ASF dual-hosted git repository.

marcus pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/openoffice-org.git

commit 4021ccf5bb26ff4230de5d4620bb335f8079bbcf
Author: Marcus <ma...@apache.org>
AuthorDate: Sun Jul 24 19:27:12 2022 +0200

    Exchanged the hardcoded version number with the usually used JavaScript variable
---
 content/ja/index.html | 14 ++++++++++----
 1 file changed, 10 insertions(+), 4 deletions(-)

diff --git a/content/ja/index.html b/content/ja/index.html
index 4c7c15821..a33643533 100644
--- a/content/ja/index.html
+++ b/content/ja/index.html
@@ -6,9 +6,7 @@
   <meta http-equiv="Content-Script-Type" content="text/javascript" />
   <title>無料総合オフィスソフトウェア - Apache OpenOffice 日本語プロジェクト</title>
   <link rel="stylesheet" href="stylesheets/style.css" type="text/css" media="all" />
-
-
-            
+  <script src="../download/globalvars.js"></script>
 </head>
 <body>
 <div id="jacontent" class="clear">
@@ -16,7 +14,15 @@
     <div class="topimg-left">
       <div><img src="stylesheets/bgimages/topimg-top.jpg" alt="多くの企業・自治体・教育機関が導入!無料総合オフィスソフトウェア" /></div>
       <ul>
-        <li class="download-top"><a title="ダウンロード" href="./download/">ダウンロード</a></li><li class="download-bottom"><a title="ダウンロード" href="./download/">4.1.13</a></li>
+        <li class="download-top"><a title="ダウンロード" href="./download/">ダウンロード</a></li>
+
+        <!-- Show the download link with currently available version number, loaded via JavaScript -->
+        <script>
+        <!--
+        document.write( "<li class='download-bottom'><a title='ダウンロード' href='./download/'>" + DL.VERSION + "</a></li>");
+        //-->
+        </script>
+
       </ul>
     </div>
     <div class="topimg-right">