Author: marcus
Date: Sun Jan 19 01:02:15 2014
New Revision: 1559442
URL: http://svn.apache.org/r1559442
Log:
Added version number to text in download link
Modified:
openoffice/ooo-site/trunk/content/index.html
Modified: openoffice/ooo-site/trunk/content/index.html
URL:
http://svn.apache.org/viewvc/openoffice/ooo-site/trunk/content/index.html?rev=1559442&r1=1559441&r2=1559442&view=diff
==============================================================================
--- openoffice/ooo-site/trunk/content/index.html (original)
+++ openoffice/ooo-site/trunk/content/index.html Sun Jan 19 01:02:15 2014
@@ -9,6 +9,7 @@
<link href="https://plus.google.com/+openoffice" rel="publisher" />
<link rel="STYLESHEET" type="text/css" href="/product/product.css"
media="screen" />
<title>Apache OpenOffice - The Free and Open Productivity Suite</title>
+ <script type="text/javascript" src="download/globalvars.js"></script>
<style type="text/css">
/* <![CDATA[ */
/*-------------------- Exceptions on standard css -----------------------*/
@@ -52,14 +53,21 @@
<li>
<hr />
</li>
- <li>
- <div class="action-download">
- <div class="action-text action-link">
- <a href="download/index.html"><h2>I want to download OpenOffice</h2>
- <p>Download Apache OpenOffice for free, or find out about other ways
of getting it.</p></a>
- </div>
- </div>
- </li>
+
+ <!-- Show the currently available version, load via JavaScript -->
+ <script type="text/javascript">
+ <!--
+ document.write( "<li>"
+ + "<div class='action-download'>"
+ + "<div class='action-text action-link'>"
+ + "<a href='download/index.html'><h2>I want to download Apache
OpenOffice " + VERSION + "</h2>"
+ + "<p>Download Apache OpenOffice for free, or find out about other
ways of getting it.</p></a>"
+ + "</div>"
+ + "</div>"
+ + "</li>" );
+ //-->
+ </script>
+
<li>
<hr />
</li>
@@ -155,7 +163,7 @@
<div class="campaign">
<h2>Recent News</h2>
- <p></p>
+ <p><br /></p>
<h2>Italian region adopts OpenOffice, saves 2M Euro</h2>