Author: kschenk
Date: Wed Jun 25 01:19:02 2014
New Revision: 1605236

URL: http://svn.apache.org/r1605236
Log:
New download index file for tr area.

Added:
    openoffice/ooo-site/trunk/content/tr/download/index.html
      - copied, changed from r1604946, 
openoffice/ooo-site/trunk/content/tr/download/index.html

Copied: openoffice/ooo-site/trunk/content/tr/download/index.html (from 
r1604946, openoffice/ooo-site/trunk/content/tr/download/index.html)
URL: 
http://svn.apache.org/viewvc/openoffice/ooo-site/trunk/content/tr/download/index.html?p2=openoffice/ooo-site/trunk/content/tr/download/index.html&p1=openoffice/ooo-site/trunk/content/tr/download/index.html&r1=1604946&r2=1605236&rev=1605236&view=diff
==============================================================================
--- openoffice/ooo-site/trunk/content/tr/download/index.html (original)
+++ openoffice/ooo-site/trunk/content/tr/download/index.html Wed Jun 25 
01:19:02 2014
@@ -11,9 +11,11 @@
   <meta name="description" content="Resmi Apache OpenOffice Türkçe indirme 
sayfası. Türkçe OpenOffice devrimine katılın, 60 milyondan fazla 
güvenilen indirmelerle ücretsiz ofis verimlilik paketi." />
   <title>Apache OpenOffice İndirmeleri - Resmi Sitesi</title>
   <script type="text/javascript" src="/download/globalvars.js"></script>
+  <script type="text/javascript" src="/download/download.js"></script>
   <script type="text/javascript" src="/download/languages.js"></script>
   <script type="text/javascript" src="/download/release_matrix.js"></script>
-  <script type="text/javascript" src="/download/download.js"></script>
+  <script type="text/javascript" src="/download/boxed_download.js"></script>
+  <script type="text/javascript" src="msg_prop_l10n_tr.js"></script>
   <style type="text/css">
   /* <![CDATA[ */
   /*-------------------- Exceptions on standard css -----------------------*/
@@ -44,95 +46,37 @@
        
 <!-- The text in the H1 tag is intentionally shown as not displayable, just to 
please accessibility tools like a
 screen reader. -->
-<h1 style="display: none;">Apache OpenOffice İndirme</h1>
 
-<div class="optionset">
 
+<div class="optionset">
+    
   <!-- Green: Stable release -->
-  <script type="text/javascript">
-  <!--
-  // Set a specific language ISO code to force to assemble a certain localized 
build as download URL
-  var NL_LANGUAGE = "tr";
-  // Get the download URL for released install files (0 = release mode)
-  var LINK        = getLink( 0 );
-  if ( hasMirrorLink() ) {
-    if ( SOURCEFORGE ) {
-      // If download URL contains "sourceforge" (-> normal and correct 
download link),
-      // then download from Sourceforge with displayed platform and language.
-      document.write( "<div class=\"first button green\" id=\"optionitem1\" 
onclick=\"openItem('optionitem1','"
-      + LINK + "');" + "return false;\">"
-      + "<h2><a href='" + LINK + "' title='Sürüm " + VERSION + " | Aşama " 
+ MILESTONE
-      + " | Yapım ID " + BUILD + " | SVN " + SVN_REV + " | Tarih " + REL_DATE 
+ "'>"
-         + "Apache OpenOffice " + VERSION + " Sürümünü İndirin</a></h2>"
-      + "<p><a href='" + LINK + "' title='Sürüm " + VERSION + " | Aşama " + 
MILESTONE + " | Yapım ID " + BUILD
-      + " | SVN " + SVN_REV + " | Tarih " + REL_DATE + "'>En son sürüm için 
buraya (Sourceforge.net tarafından barındırılır) tıklayın:"
-      + "<br /><b>" + UI_PLATFORM + "</b> ve <b>" + LANG_ARRAY[ 2 ] + "</b> | "
-      + "~" + FILESIZE + "&nbsp;MBayt | Yayımlanma:&nbsp;" + REL_DATE + "<br 
/></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=\"first button green\" id=\"optionitem1\" 
onclick=\"openItem('optionitem1','"
-      + LINK + "');" + "return false;\">"
-      + "<h2><a href='" + LINK + "' title='" + LINK + "'>"
-      + "Apache OpenOffice'i İndirin</a></h2>"
-      + "<p><a href='" + LINK + "' title='" + LINK + "'><b>" + UI_PLATFORM + 
"</b> ve <b>" + LANG_ARRAY[ 2 ] + " (" + LANG_ARRAY[ 1 ] + ")</b> "
-      + "için Apache OpenOffice " + VERSION + " mevcut değil. "
-      + "Alternatif indirme web sayfasından seçmek için buraya 
tıklayın.</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=\"first button green\" id=\"optionitem1\" 
onclick=\"openItem('optionitem1','"
-        + LINK + "');" + "return false;\">"
-        + "<h2><a href='" + LINK + "' title='" + LINK + "'>"
-        + "Apache OpenOffice'i İndirin</a></h2>"
-               + "<p><a href='" + LINK + "' title='" + LINK + "'><b>" + 
UI_PLATFORM + "</b> ve <b>" + LANG_ARRAY[ 2 ] + " (" + LANG_ARRAY[ 1 ] + ")</b> 
"
-               + "için Apache OpenOffice " + VERSION + " mevcut değil. "
-               + "Önceki " + PRE_VERSION + " sürümü için buraya 
tıklayın.</a></p>"
-      + "</div>" );
-    }
-  } else {
-    // If browser language do not match with AOO languages, then download from 
an alternative webpage.
-    document.write( "<div class=\"first button green\" id=\"optionitem1\" 
onclick=\"openItem('optionitem1','"
-    + LINK + "');" + "return false;\">"
-    + "<h2><a href='" + LANG_ARRAY[ 4 ] + "' title='" + LANG_ARRAY[ 4 ] + "'>"
-    + "Apache OpenOffice'i İndirin</a></h2>"
-    + "<p><a href='" + LANG_ARRAY[ 4 ] + "' title='" + LANG_ARRAY[ 4 ] + 
"'><b>" + LANG_ARRAY[ 2 ] + " (" + LANG_ARRAY[ 1 ] + ")</b> "
-    + "için Apache OpenOffice " + VERSION + " mevcut değil. "
-    + "Alternatif " + LANG_ARRAY[ 1 ] + " indirme web sayfasından seçmek 
için buraya tıklayın.</a></p>"
-       + "</div>" );
-  }
-  // Show some helpful links for SDK, source, checksums, release notes, legacy 
version.
-  document.write( "<div class=\"sub-green\">" );
-  document.write( "<p>" );
-  if ( CHECKSUM_ASC ) {
-    document.write( "İmzalar ve adreslemeler: "
-    + "<a href='" + CHECKSUM_KEYS   + "' + title='KEYS imzası'>KEYS</a> , "
-    + "<a href='" + CHECKSUM_ASC    + "' + title='ASC imzası'>ASC</a> , "
-    + "<a href='" + CHECKSUM_MD5    + "' + title='MD5 adreslemesi'>MD5</a> , "
-    + "<a href='" + CHECKSUM_SHA256 + "' + title='SHA256 
adreslemesi'>SHA256</a> , "
-    + "<a href='/download/checksums.html' title='Sağlamalar ile indirmeyi 
nasıl doğrularsınız?'>Nasıl doğrularsınız?</a> | " );
-  }
-  if ( ARCHIVE ) {
-    VERSION = PRE_VERSION;
-  }      
-  document.write( "<a 
href='https://cwiki.apache.org/confluence/display/OOOUSERS/AOO+"; + 
VERSION_SHORT + "+Release+Notes'"
-  + "title='Neler yeni, Apache OpenOffice " + VERSION + " içinde neler 
geliştirildi?'><b>Yayım Notları</b></a> | <br />"
-  + "<a href='/download/other.html' title='Tüm platformları, dilleri, dil 
paketlerini indirerek alın'>"
-  + "<b>Tüm platformları, dilleri, dil paketlerini alın</b></a> | "
-  + "<a href='/download/other.html#source' title='Kaynak kodunu ve SDK'yı 
indirerek alın'>Kaynak kodu ve SDK</a> | <br />"
-  + "<a href='/porting/index.html'"
-  + "title='Taşınabilir USB sürümler ve üçüncü parti noktalar için 
paketlenmiş Apache OpenOffice yazılımını alın'>"
-  + "<b>Taşınabilir USB sürümleri</b> ve üçüncü parti noktalar</a> | "
-  + "Eski ve geçmiş sürüm: <a href='/download/other-341.html' 
title='Apache OpenOffice "
-  + OLDVERSION + " eski sürümünü alın'><b>" + OLDVERSION + "</b></a> + "
-  + "<a href='/download/legacy/index.html' title='OpenOffice.org "
-  + LEGACYVERSION + " geçmiş sürümünü alın'><b>" + LEGACYVERSION + 
"</b></a>"
-  + "</div>" );
-  entourage.initialize();
-  //-->
-  </script>
+  <!-- Text above the first colored box -->
+    <script type="text/javascript">
+    <!--
+    // The text in the H1 tag is intentionally shown as "display: none" (do 
not display).
+    // This is to please accessibility tools like a screen reader.
+    document.write( "<h1 style='display: none;'>" + 
l10n_download_headline_text + "</h1>" );
+    //-->
+    </script>
+
+    <!-- Download via select boxes -->
+    <script type="text/javascript">
+    <!--
+
+    // Set a specific language ISO code to force to assemble a certain 
localized build as download link.
+    // Changed: The variable can now be found in the 
"msg_prop_l10n_<ISO_code>.js".
+
+    // Get the download box from a separate file.
+    createDownloadBox();
+
+    // Fill the select boxes and wait for the user's choice.
+    init( 1 );
+
+    entourage.initialize();
+
+    //-->
+    </script>
 
   <!-- Green: Stable release: No JavaScript enabled -->
   <noscript>


Reply via email to