You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openoffice.apache.org by bo...@apache.org on 2014/03/30 15:37:53 UTC

svn commit: r1583136 - /openoffice/ooo-site/trunk/content/tr/download/index.html

Author: bourock
Date: Sun Mar 30 13:37:53 2014
New Revision: 1583136

URL: http://svn.apache.org/r1583136
Log:
code update

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

Modified: openoffice/ooo-site/trunk/content/tr/download/index.html
URL: http://svn.apache.org/viewvc/openoffice/ooo-site/trunk/content/tr/download/index.html?rev=1583136&r1=1583135&r2=1583136&view=diff
==============================================================================
--- openoffice/ooo-site/trunk/content/tr/download/index.html (original)
+++ openoffice/ooo-site/trunk/content/tr/download/index.html Sun Mar 30 13:37:53 2014
@@ -155,6 +155,116 @@ screen reader. -->
   </div>
   </noscript>
 
+  <!-- Yellow: Beta Release online -->
+  <script type="text/javascript">
+  <!--
+  if ( BETA_ACTIVE ) {
+    // Set a specific language ISO code to force to assemble a certain localized build as download URL
+    var NL_LANGUAGE = "";
+    // Get the download URL for Beta releases (>0 = beta mode)
+    var LINK        = getLink( 1 );
+    if ( hasMirrorLink() ) {
+      if ( SOURCEFORGE ) {
+        // If a Beta Release is available for download, then download from Sourceforge with displayed platform and language.
+        document.write( "<div class=\"button yellow\" id=\"optionitem2\" onclick=\"openItem('optionitem2','"
+          + LINK + "') return false;\">"
+          + "<h2><a href='" + LINK + "' title='Version " + BETA_NAME + " | Milestone " + BETA_MILESTONE
+          + " | Build ID " + BETA_BUILD + " | SVN " + BETA_SVN_REV + " | Released: " + BETA_REL_DATE + "'>"
+          + "Download Apache OpenOffice " + BETA_NAME + "</a></h2>"
+          + "<p><a href='" + LINK + "' title='Version " + BETA_NAME + " | Milestone " + BETA_MILESTONE + " | "
+          + "Build ID " + BETA_BUILD + " | SVN " + BETA_SVN_REV + " | Released: " + BETA_REL_DATE + "'>"
+          + "Click here to download for:<br /><b>" + UI_PLATFORM + "</b> and <b>" + LANG_ARRAY[ 2 ] + "</b> | "
+          + "~" + FILESIZE + " MByte | Released: " + BETA_REL_DATE + "<br />"
+          + "<br /><b>The Beta release is feature complete but not yet fully tested and can contain issues. "
+          + "It is strongly not recommended to use in production!</b></a></p>"
+        + "</div>" );
+      } else if ( OTHER ) {
+        // If download URL contains "other" (-> platform, OS or package manager was not recognized),
+        // then use "other.html" as download link.
+        document.write( "<div class=\"button yellow\" id=\"optionitem1\" onclick=\"openItem('optionitem1','"
+          + LINK + "');" + "return false;\">"
+          + "<h2><a href='" + LINK + "' title='" + LINK + "'>"
+          + "Download Apache OpenOffice</a></h2>"
+          + "<p><a href='" + LINK + "' title='" + LINK + "'>Apache OpenOffice " + BETA_NAME + " for "
+          + "<b>" + UI_PLATFORM + "</b> and <b>" + LANG_ARRAY[ 2 ] + " (" + LANG_ARRAY[ 1 ] + ")</b> is not available. "
+          + "Click here to choose from the alternative download webpage.</a></p>"
+        + "</div>" );
+      } else if ( ARCHIVE ) {
+        // If download URL contains "archive" (-> platform/OS is no longer supported),
+        // then provide a download link to the previous version.
+        document.write( "<div class=\"button yellow\" id=\"optionitem1\" onclick=\"openItem('optionitem1','"
+          + LINK + "');" + "return false;\">"
+          + "<h2><a href='" + LINK + "' title='" + LINK + "'>"
+          + "Download Apache OpenOffice</a></h2>"
+          + "<p><a href='" + LINK + "' title='" + LINK + "'>Apache OpenOffice " + BETA_NAME + " for "
+          + "<b>" + UI_PLATFORM + "</b> and <b>" + LANG_ARRAY[ 2 ] + " (" + LANG_ARRAY[ 1 ] + ")</b> is not available. "
+          + "Click here for the previous version " + PRE_VERSION + ".</a></p>"
+        + "</div>" );
+      }
+    } else {
+      // If browser language do not match with AOO languages, then use "all_beta.html" as download link.
+      // LINK = "http://www.openoffice.org/download/test/all_beta.html";
+      document.write( "<div class=\"button yellow\" id=\"optionitem2\" onclick=\"openItem('optionitem2','"
+        + LINK + "') return false;\">"
+        + "<h2><a href='" + LINK + "' title='" + LINK + "'>"
+        + "Download Apache OpenOffice " + BETA_NAME + "</a></h2>"
+        + "<p><a href='" + LINK + "' title='" + LINK + "'>Apache OpenOffice " + BETA_NAME + " for "
+        + "<b>" + LANG_ARRAY[ 2 ] + " (" + LANG_ARRAY[ 1 ] + ")</b> is not available. "
+        + "Click here to choose from the alternative download webpage.</a></p>"
+      + "</div>" );
+    }
+    // Show some helpful links for SDK, source, checksums, release notes.
+    document.write( "<div class=\"sub-yellow\">" );
+    document.write( "<p>" );
+    if ( CHECKSUM_ASC ) {
+      document.write( "Signatures and hashes: "
+      + "<a href='" + CHECKSUM_KEYS   + "' + title='KEYS signature'>KEYS</a> , "
+      + "<a href='" + CHECKSUM_ASC    + "' + title='ASC signature'>ASC</a> , "
+      + "<a href='" + CHECKSUM_MD5    + "' + title='MD5 hash'>MD5</a> , "
+      + "<a href='" + CHECKSUM_SHA256 + "' + title='SHA256 hash'>SHA256</a> , "
+      + "<a href='checksums.html' title='How to verify the download with checksums?'>How to verify?</a> | " );
+    }
+    document.write( "<a href='https://cwiki.apache.org/confluence/display/OOOUSERS/AOO+4.1+Release+Notes'"
+      + "title='What is new, what has been improved in Apache OpenOffice " + BETA_NAME + "?'><b>Release Notes</b></a> | "
+      + "<br /><a href='all_beta.html' title='Get all platforms, languages, language packs to download'>"
+      + "<b>Get all platforms, languages, language packs</b></a> | "
+      + "<a href='all_beta.html#source' title='Get the source code and SDK to download'>Source code and SDK</a></p>"
+    + "</div>" );
+  } else {
+    // Yellow: Beta Release coming soon
+    var ANN_LINK  = "https://blogs.apache.org/OOo/";
+    var ANN_TITLE = "Official blog of Apache OpenOffice";
+    document.write( "<div class=\"button yellow\" id=\"optionitem2_1\" onclick=\"openItem('optionitem2_1','"
+      + ANN_LINK + "') return false;\">"
+      + "<h2><a href='" + ANN_LINK + "' title='" + ANN_TITLE + "'>"
+      + "Get Apache OpenOffice " + BETA_NAME + "<br /><small>(planned for: " + BETA_REL_DATE + ")</small></a></h2>"
+      + "<p><a href='" + ANN_LINK + "' title='" + ANN_TITLE + "'><br />"
+      + "The Beta release is not yet available. Please make sure to come back on the release date to download and test the "
+      + "new version.</a></p>"
+    + "</div>" );
+  }
+  //-->
+  </script>
+
+  <!-- Yellow: Beta: No JavaScript enabled -->
+  <noscript>
+  <div class="button yellow" id="optionitem2" onclick="openItem('optionitem2','all_beta.html'); return false;">
+    <h2><a href="all_beta.html" title="Select from all platforms, languages, language packs to download">
+    Download Apache OpenOffice Beta</a></h2>
+    <p><a href="http://sourceforge.net/projects/openofficeorg.mirror/files/"
+    title="Select from all platforms, languages, language packs to download">Your browser does not seem to allow JavaScript
+    on websites. This technique is used on this webpage for presenting the actual download link. If you want to download
+    Apache OpenOffice, click here to go to the alternative download page, and you will skip this page.
+    Our apologies for the inconvenience.</a></p>
+  </div>
+  <div class="sub-yellow">
+    <p><a href="all_beta.html" title="Get all platforms, languages, language packs to download">
+    <b>Get all platforms, languages, language packs</b></a> |
+    <a href="../development/releases/dev_index.html"
+    title="What is new, what has been improved in Apache OpenOffice?"><b>Release Notes</b></a></p>
+  </div>
+  </noscript>
+	
   <!-- Light Blue: Share download with social networks -->
   <div class="button lightblue" id="optionitem2">
     <h2><a style="cursor: default;" title="Apache OpenOffice hakkındaki sözü yaymamıza yardım edin ve arkadaşlarınıza söyleyin">
@@ -182,7 +292,8 @@ screen reader. -->
     Apache OpenOffice Uzantılarını ve Sözlüklerini Alın</a></h2>
     <p><a href="http://extensions.openoffice.org"
     title="İlave ve bireysel işlevselliğin geniş bir yelpazesinden seçin">
-    Diğer kullanıcılar sayesinde uzantıların ve sözlüklerin geniş ve büyüyen bir kütüphanesi ile Apache OpenOffice işlevselliğinizi genişletin.</a></p>
+    Diğer kullanıcılar sayesinde uzantıların ve sözlüklerin geniş ve büyüyen bir kütüphanesi ile Apache OpenOffice işlevselliğinizi 
+	genişletin.</a></p>
   </div>
 
   <!-- Blue: Templates -->
@@ -250,59 +361,6 @@ screen reader. -->
   </noscript>
   //-->
 
-  <!-- Yellow: Beta Release online -->
-  <script type="text/javascript">
-  /*
-  <!--
-  if ( BETA_ACTIVE == 1 ) {
-    document.write( "<div class=\"button yellow\" id=\"optionitem2\" onclick=\"openItem('optionitem2','all_beta.html');"
-      + "return false;\">"
-      + "<h2><a href='all_beta.html' title='Select from all platforms, languages, language packs to download'\">"
-      + "Get OpenOffice.org Beta Release</a></h2>"
-      + "<p><a href='all_beta.html' title='Select from all platforms, languages, language packs to download'\">"
-      + "<b>Most recent: OOo-Dev " + BETA_NAME + " " + BETA_NUMBER + "</b></a></p>"
-    + "</div>" );
-    document.write( "<div class=\"sub-yellow\">"
-      + "<p><a href='all_beta.html' title='Get all platforms, languages, language packs to download'>"
-      + "Get all platforms, languages, language packs</a> | "
-      + "<a href='http://www.openoffice.org/development/releases/" + BETA_BUILD + ".html'"
-      + "title='What is new, what has been improved in OpenOffice.org " + BETA_NAME + BETA_NUMBER + "?'>Release Notes</a> | "
-      + "<a href='next/md5sums/index.html" + BETA_BUILD + "_md5sums.txt' title='MD5 checksums for OpenOffice.org "
-      + BETA_NAME + BETA_NUMBER + "'>MD5 checksums</a></p>"
-    + "</div>" );
-  } else if ( BETA_ACTIVE == 0 ) {
-  // Yellow: Beta Release coming soon
-    document.write( "<div class=\"button yellow\" id=\"optionitem2\">"
-      + "<h2><a>Get OpenOffice.org Beta Release <small>(" + BETA_NAME + BETA_NUMBER + " coming soon)</small></a></h2>"
-      + "<p><a>A wide range of platforms and languages will be available."
-      + "<br /><b>Important:</b> The Beta is feature complete but can contain issues and detailed tests needs to be done."
-      + "</a></p>"
-    + "</div>" );
-  }
-  //-->
-  */
-  </script>
-
-  <!-- Yellow: Beta: No JavaScript enabled -->
-  <!--
-  <noscript>
-  <div class="button yellow" id="optionitem2" onclick="openItem('optionitem2','all_beta.html#untested-full'); return false;">
-    <h2><a href="all_beta.html" title="Select from all platforms, languages, language packs to download">
-    Get OpenOffice.org Beta Release</a></h2>
-    <p><a href="all_beta.html" title="Select from all platforms, languages, language packs to download">
-    JavaScript needs to be enabled to take full advantage of this download section. Currently it does not seem to be enabled.
-    Please click on this text to use the alternative webpage to select the favorite platform and language.</a></p>
-  </div>
-  <div class="sub-yellow">
-    <p><a href="all_beta.html" title="Get all platforms, languages, language packs to download">
-    Get all platforms, languages, language packs</a> |
-    <a href="http://www.openoffice.org/development/releases/dev_index.html"
-    title="What is new, what has been improved in OpenOffice.org?">Release Notes</a> |
-    <a href="next/md5sums/index.html" title="MD5 checksums for OpenOffice.org">MD5 checksums</a></p>
-  </div>
-  </noscript>
-  //-->
-
   <!-- Red: Developer Snapshots online -->
   <script type="text/javascript">
   /*