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 2014/07/05 22:12:52 UTC

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

Author: marcus
Date: Sat Jul  5 20:12:52 2014
New Revision: 1608124

URL: http://svn.apache.org/r1608124
Log:
Updated JS functions and colored boxes

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=1608124&r1=1608123&r2=1608124&view=diff
==============================================================================
--- openoffice/ooo-site/trunk/content/tr/download/index.html (original)
+++ openoffice/ooo-site/trunk/content/tr/download/index.html Sat Jul  5 20:12:52 2014
@@ -10,34 +10,36 @@
   <meta property="og:image" content="http://www.openoffice.org/images/aoo-logo-100x100.png" />
   <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/globalvars.js"></script>
   <script type="text/javascript" src="msg_prop_l10n_tr.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/boxed_download.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/boxed_download.js"></script>
+  <script type="text/javascript" src="../../download/download.js"></script>
   <style type="text/css">
   /* <![CDATA[ */
   /*-------------------- Exceptions on standard css -----------------------*/
-  @import "/download/styles.css";
-  @import "/download/exceptions.css";
+  @import "../../download/styles.css";
+  @import "../../download/exceptions.css";
   /* ]]> */
   </style>
   <script>
-    if (window.document.referrer.indexOf("shell.windows.com") != -1)
-       location.href = "/tr/why/why_odf.html";
-
-    function shareFacebook() {
-      _gaq.push(['_trackEvent','social', 'shareDownload', 'facebook']); 
-      window.open('http://www.facebook.com/sharer/sharer.php?u=http%3A%2F%2Fwww.openoffice.org%2Fdownload%2F','_blank','toolbar=0,status=0,width=580,height=325');	
-    }
-    function shareTwitter(){
-      _gaq.push(['_trackEvent','social', 'shareDownload', 'twitter']); 
-      window.open('http://twitter.com/intent/tweet?url=http%3A%2F%2Fwww.openoffice.org%2Fdownload%2F&text=Join+the+OpenOffice+revolution%2C+the+free+office+productivity+suite+with+over+100+million+trusted+downloads.','_blank','toolbar=0,status=0,width=580,height=325');
+    if ( window.document.referrer.indexOf( "shell.windows.com" ) != -1 ) {
+       location.href = "../why/why_odf.html";
     }
-    function shareGooglePlus(){
-      _gaq.push(['_trackEvent','social', 'shareDownload', 'google+']); 
-      window.open('http://plus.google.com/share?url=http%3A%2F%2Fwww.openoffice.org%2Fdownload%2F','_blank','toolbar=0,status=0,width=580,height=325');
+
+    function share( platform ) {
+      _gaq.push( ['_trackEvent', 'social', 'shareDownload', platform] ); 
+
+      if ( platform == 'apacheblog' ) {
+        window.open( 'http://blogs.apache.org/OOo/', '_blank' );
+      } else if ( platform == 'facebook' ) {
+        window.open( 'http://www.facebook.com/sharer/sharer.php?u=http%3A%2F%2Fwww.openoffice.org%2Fsk%2Fdownload%2F', '_blank', 'toolbar=0, status=0, width=580, height=325' );
+      } else if ( platform == 'twitter' ) {
+        window.open( 'http://twitter.com/intent/tweet?url=http%3A%2F%2Fwww.openoffice.org%2Fsk%2Fdownload%2F&text=Join+the+OpenOffice+revolution%2C+the+free+office+productivity+suite+with+over+100+million+trusted+downloads.', '_blank', 'toolbar=0, status=0, width=580, height=325' );
+      } else if ( platform == 'google+' ) {
+        window.open( 'http://plus.google.com/share?url=http%3A%2F%2Fwww.openoffice.org%2Fsk%2Fdownload%2F', '_blank', 'toolbar=0, status=0, width=580, height=325' );
+      }
     }
   </script>
 </head>
@@ -79,17 +81,18 @@
   <!-- Green: Stable release: No JavaScript enabled -->
   <noscript>
   <div class="first button green-sel" id="optionitem2">
+    <div class="green-sel-icon"></div>
     <h2>
-	  <a>Apache OpenOffice'i Ä°ndirin</a>
-	</h2>
+      <a>Apache OpenOffice'i Ä°ndirin</a>
+    </h2>
     <p>
-	   <a style="cursor: pointer;" href="http://www.apache.org/dyn/aoo-closer.cgi/openoffice/"
-    title="Tüm platformlardan, dillerden, dil paketlerinden seçerek indirin">Tarayıcıda JavaScript etkisizleştirilmiş
-	görünüyor. Bu yöntem bu web sitesinde asıl indirme bağlantısı için kullanılır. Eğer yine de Apache OpenOffice'i
-	indirmek istiyorsanız, alternatif indirme web sayfasından bu metine tıklayın.
-    Zahmet için özürlerimizi kabul edin.
-		</a>
-	  </p>
+      <a style="cursor: pointer;" href="http://www.apache.org/dyn/aoo-closer.cgi/openoffice/"
+        title="Tüm platformlardan, dillerden, dil paketlerinden seçerek indirin">Tarayıcıda JavaScript etkisizleştirilmiş
+        görünüyor. Bu yöntem bu web sitesinde asıl indirme bağlantısı için kullanılır. Eğer yine de Apache OpenOffice'i
+        indirmek istiyorsanız, alternatif indirme web sayfasından bu metine tıklayın.
+        Zahmet için özürlerimizi kabul edin.
+      </a>
+    </p>
   </div>
   </noscript>
 
@@ -97,6 +100,7 @@
   <script type="text/javascript">
   <!--
   document.write( "<div class='button lightblue' id='optionitem4'>"
+    + "<div class='lightblue-icon'></div>"
     + "<h2>"
       + "<a style='cursor: default;' title='" + l10n_share_light_blue_box_headline_title + "'>"
         + l10n_share_light_blue_box_headline_text
@@ -131,6 +135,7 @@
   <!--
   document.write( "<div class='button blue' id='optionitem5' "
     + "onclick='openItem('optionitem5','http://extensions.openoffice.org'); return false;'>"
+    + "<div class='blue-icon'></div>"
     + "<h2>"
       + "<a href='http://extensions.openoffice.org' title='" + l10n_ext_blue_box_headline_title + "'>"
         + l10n_ext_blue_box_headline_text
@@ -150,6 +155,7 @@
   <!--
   document.write( "<div class='button blue' id='optionitem6' "
     + "onclick='openItem('optionitem6','http://templates.openoffice.org'); return false;'>"
+    + "<div class='blue-icon'></div>"
     + "<h2>"
       + "<a href='http://templates.openoffice.org' title='" + l10n_tlp_blue_box_headline_title + "'>"
         + l10n_tlp_blue_box_headline_text
@@ -164,9 +170,9 @@
   //-->
   </script>
 
-  </div> <!-- class "optionset" -->
+</div> <!-- class "optionset" -->
 
-  <div class="additionalinformation">
+<div class="additionalinformation">
 
   <script type="text/javascript">
   <!--