Author: marcus
Date: Tue Mar 28 21:27:42 2017
New Revision: 1789243
URL: http://svn.apache.org/viewvc?rev=1789243&view=rev
Log:
Deleted old and no longer need Javascript code
Modified:
openoffice/ooo-site/trunk/content/ca/index.html
Modified: openoffice/ooo-site/trunk/content/ca/index.html
URL:
http://svn.apache.org/viewvc/openoffice/ooo-site/trunk/content/ca/index.html?rev=1789243&r1=1789242&r2=1789243&view=diff
==============================================================================
--- openoffice/ooo-site/trunk/content/ca/index.html (original)
+++ openoffice/ooo-site/trunk/content/ca/index.html Tue Mar 28 21:27:42 2017
@@ -12,44 +12,6 @@
<link rel="stylesheet" type="text/css" href="estils/home.css" media="screen">
<script type="text/javascript" src="js/languages.js"></script>
<script type="text/javascript" src="js/download.js"></script>
-
-<script type="text/javascript">
-<!--
-var VERSION = "3.1.0";
-var SHOWDOWNLOAD = false;
-
-function toggleDownload() {
- if (!SHOWDOWNLOAD) {
- SHOWDOWNLOAD = true;
- showDownload();
- } else {
- SHOWDOWNLOAD = false;
- hideDownload();
- }
-}
-
-function showDownload() {
- var downloadCont = document.getElementById("action-download-extra");
- var newHTML = "<div id=\"buttonwrap\"><div id=\"downloadbutton\"
onclick=\"openItem('optionitem1','" + getLink( VERSION ) + "');return
false;\">";
-
- if ( hasBouncerLink() ) {
- newHTML += "<h3><a href='"+ getLink( VERSION ) + "'>Download
now!</a></h3><p>Start downloading OpenOffice.org " + VERSION + " for " +
getPlatform() + " in " + getLanguage() + "<br/>(Java runtime, JRE, included for
all OS versions except Linux Deb and Mac)</p>";
- } else {
- newHTML += "<h3><a href='"+ getLink( VERSION ) + "'>Download
now!</a></h3><p>OpenOffice.org " + VERSION + " for " + getPlatform() + " (" +
getLanguage() + ")</p>";
- }
-
- newHTML += "</div><p class=\"options\">Get <a title=\"get other laguages,
platforms, non-JRE options to download\" onclick=\"document.location =
this.href; return false;\" href=\"http://download.openoffice.org/other.html#" +
getLanguageISO() + "\">more platforms, languages, non-JRE versions</a>, <a
title='Order CD-ROM' onclick=\"document.location = this.href; return false;\"
href='http://distribution.openoffice.org/cdrom/index.html#cdrom'>order
CD-ROM</a>, or <a title='P2P downloads' onclick=\"document.location =
this.href; return false;\" href='http://distribution.openoffice.org/p2p/'>P2P
downloads</a></p></div>";
-
- downloadCont.innerHTML = newHTML;
-}
-
-function hideDownload() {
- var downloadCont = document.getElementById("action-download-extra");
- var newHTML = "";
- downloadCont.innerHTML = newHTML;
-}
-//-->
-</script>
</head>
<body>