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/07/14 07:42:41 UTC

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

Author: bourock
Date: Mon Jul 14 05:42:40 2014
New Revision: 1610338

URL: http://svn.apache.org/r1610338
Log:
Code update

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

Modified: openoffice/ooo-site/trunk/content/tr/index.html
URL: http://svn.apache.org/viewvc/openoffice/ooo-site/trunk/content/tr/index.html?rev=1610338&r1=1610337&r2=1610338&view=diff
==============================================================================
--- openoffice/ooo-site/trunk/content/tr/index.html (original)
+++ openoffice/ooo-site/trunk/content/tr/index.html Mon Jul 14 05:42:40 2014
@@ -17,19 +17,69 @@
     @import "../exceptions.css";
     /* ]]> */
     </style>
-
     <script>
-      function follow(platform) {
-        _gaq.push(['_trackEvent','social', 'followUs', platform]); 
-          if (platform == 'Facebook') {
-            window.open("https://www.facebook.com/ApacheOO","_blank");
-          } else if (platform == 'Twitter') {
-            window.open("https://twitter.com/ApacheOO","_blank");
-          } else if (platform == 'GooglePlus') {
-            window.open("https://plus.google.com/+openoffice","_blank");
-          }  else if (platform == 'ApacheBlog') {
-            window.open("https://blogs.apache.org/OOo/","_blank");
+      function follow( platform ) {
+        _gaq.push( ['_trackEvent', 'social', 'followUs', platform] ); 
+
+        if ( platform == 'ApacheBlog' )
+          window.open( "https://blogs.apache.org/OOo/", "_blank" );
+        else if ( platform == 'Facebook' )
+          window.open( "https://www.facebook.com/ApacheOO", "_blank" );
+        else if ( platform == 'Twitter' )
+          window.open( "https://twitter.com/ApacheOO", "_blank" );
+        else if ( platform == 'GooglePlus' )
+          window.open( "https://plus.google.com/+openoffice", "_blank" );
+      }
+
+      function showAlertbox( show ) {
+	// More see "http://html-color-codes.info/"
+        var l10n_alert_box_background_color = "#F5A9A9";
+        // Make the whole alert box clickable with a link.
+        var l10n_alert_box_href		    = "index.html";
+	// Maximum 49 characters.
+        var l10n_alert_box_headline_text    = "Headline text with max. 49 characters";
+	// Maximum 630 characters.
+        var l10n_alert_box_text_text	    = "Text with max. 630 characters."
+					      + "<br /><br />"
+					      + "This alert box is now within the layout of the list items below."
+					      + "<br /><br />"
+					      + "The following link can be added to point the user to more information or "
+					      + "to a solution. But the link can also be left out. Then the link will not "
+					      + "be shown.";
+        // Show alert box or not?
+        if( show ) {
+          // If no background color value was set then use the default value.
+          if( ! l10n_alert_box_background_color )
+            var l10n_alert_box_background_color = "#FFD9A7";
+
+          // Show alert box with defined background color.
+          // Depending if link is available, make the whole DIV clickable or not.
+          if( l10n_alert_box_href ) {
+            // Show the text with link and cursor as poiner.
+            document.write( "<div id='alert_box' style='background: " + l10n_alert_box_background_color
+            + "; ' onclick='window.open(\"" + l10n_alert_box_href + "\", \"_blank\"); return false;'>" );
+
+            // Show headline.
+            document.write( "<h2 style='cursor: pointer;'>" + l10n_alert_box_headline_text + "</h2>" );
+
+            // Show text.
+            if( l10n_alert_box_text_text )
+              document.write( "<p style='cursor: pointer;'>" + l10n_alert_box_text_text + "</p>" );
+
+          } else {
+            // Show the text without link and normal cursor.
+            document.write( "<div id='alert_box' style='background: " + l10n_alert_box_background_color + "'>" );
+
+            // Show headline.
+            document.write( "<h2 style='cursor: default;'>" + l10n_alert_box_headline_text + "</h2>" );
+
+            // Shoe text.
+            if( l10n_alert_box_text_text )
+              document.write( "<p style='cursor: default;'>" + l10n_alert_box_text_text + "</p>" );
           }
+
+          document.write( "</div>" ); // Alert box
+        }
       }
     </script>
 </head>
@@ -42,6 +92,15 @@ screen reader.
 <h1 style="display: none;">Apache OpenOffice</h1>
 	
 <div id="actionstatements">
+	
+  <script type="text/javascript">
+  <!--
+  // Show alert box.
+  // Change to 'true' if you want to show the text that is defined in the variables above.
+  showAlertbox( false );
+  //-->
+  </script>
+	
   <ul>
     <li>
       <hr />
@@ -49,37 +108,62 @@ screen reader.
     <li>
       <div class="action-info">
         <div class="action-text action-link">
-          <a href="/tr/why/index.html"><h2>OpenOffice hakkında daha fazlasını öğrenmek istiyorum</h2>
-          <p>Apache OpenOffice nedir? Ve neden kullanmalıyım?</p></a>
+          <a href="/tr/why/index.html">
+		    <h2>OpenOffice hakkında daha fazlasını öğrenmek istiyorum</h2>
+            <p>Apache OpenOffice nedir? Ve neden kullanmalıyım?</p>
+		  </a>
         </div>
       </div>
     </li>
     <li>
 	  <hr />
     </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='/tr/download/index.html'><h2>Apache OpenOffice " + DL.VERSION + " sürümünü indirmek istiyorum</h2>"
-          + "<p>Apache OpenOffice'i ücretsiz indirin ya da almak için diğer yolları bulun.</p></a>"
-        + "</div>"
+
+ <!-- Show the download link with currently available version number, loaded via JavaScript -->
+  <script type="text/javascript">
+  <!--
+  document.write( "<ul><li>"
+    + "<div class='action-download'>"
+      + "<div class='action-text action-link'>"
+        + "<a href='/tr/download/index.html'>"
+          + "<h2>Apache OpenOffice'i indirmek istiyorum</h2>"
+          + "<p style='font-size: 1.0em; font-weight: bold;'>(En son yayım: " + DL.VERSION + ")</p>"
+          + "<p>Apache OpenOffice'i ücretsiz indirin <b>(gerçekten!)</b> | "
+            + "<a href='https://blogs.apache.org/OOo/entry/with_apache_openoffice_you_get'"
+              + "title='Blog yazısı: With Apache OpenOffice you get what you do not pay for' target='_blank'>"
+              + "Daha fazla bilgi almak için buraya tıklayın"
+            + "</a>."
+          + "</p>"
+        + "</a>"
       + "</div>"
-    + "</li>" );
-    //-->
-    </script>
+    + "</div>"
+  + "</li></ul>" );
+  //-->
+  </script>
+	  
+  <!-- Show the download link, without version number -->
+  <noscript>
+    <div class="action-download">
+      <div class="action-text action-link">
+        <a href="download/index.html">
+		  <h2>Apache OpenOffice'i indirmek istiyorum</h2>
+          <p>Apache OpenOffice'i ücretsiz indirin ya da almak için diğer yolları bulun.</p>
+        </a>
+      </div>
+    </div>
+  </noscript>
 		
+  <ul>
     <li>
       <hr />
     </li>
     <li>
       <div class="action-help">
         <div class="action-text action-link">
-          <a href="/tr/support/index.html"><h2>OpenOffice'im ile ilgili yardıma ihtiyacım var</h2>
-          <p>Yardıma ihtiyacınız olduğunda elinizin altında.</p></a>
+          <a href="/tr/support/index.html">
+		   <h2>OpenOffice'im ile ilgili yardıma ihtiyacım var</h2>
+           <p>Yardıma ihtiyacınız olduğunda elinizin altında.</p>
+          </a>
         </div>
       </div>
     </li>
@@ -89,8 +173,10 @@ screen reader.
     <li>
       <div class="action-extend">
         <div class="action-text action-link">
-          <a href="/extensions/index.html"><h2>OpenOffice'im ile birlikte daha fazlasını yapmak istiyorum</h2>
-          <p>Ek işlevsellikler, şablonlar ve küçük resimler ile Apache OpenOffice'i genişletin.</p></a>
+          <a href="/extensions/index.html">
+		   <h2>OpenOffice'im ile birlikte daha fazlasını yapmak istiyorum</h2>
+           <p>Ek işlevsellikler, şablonlar ve küçük resimler ile Apache OpenOffice'i genişletin.</p>
+          </a>
         </div>
       </div>
     </li>
@@ -100,8 +186,10 @@ screen reader.
     <li>
       <div class="action-participate">
         <div class="action-text action-link">
-		  <a href="/tr/participate/index.html"><h2>OpenOffice'e katılmak istiyorum</h2>
-          <p>Apache OpenOffice, dünyanın her yerinden insanların yardımıyla yapıldı. Katkıda bulunmak için çekinmeyin!</p></a>
+          <a href="http://openoffice.apache.org/get-involved.html">
+		   <h2>OpenOffice'e katılmak istiyorum</h2>
+           <p>Apache OpenOffice, dünyanın her yerinden insanların yardımıyla yapıldı. Katkıda bulunmak için çekinmeyin!</p>
+          </a>
         </div>
       </div>
     </li>
@@ -109,11 +197,12 @@ screen reader.
       <hr />
     </li>
     <li>
-     <div class="action-social">
+      <div class="action-social">
         <div class="action-text action-link">
           <a href="/tr/social/index.html" onclick="javascript:follow('SocialLink');">
 		  <h2>OpenOffice ile irtibatta kalmak istiyorum</h2>
-          <p>Duyuru listemiz, sosyal medya alanları ve blog aracılığıyla OpenOffice'in ilerleyişini takip edin.</p></a>
+          <p>Duyuru listemiz, sosyal medya alanları ve blog aracılığıyla OpenOffice'in ilerleyişini takip edin.</p>
+			</a>
             <div class="action-social-extra">
               <p>
                 <span style="padding:0 5px;cursor: pointer; cursor: hand;" onclick="javascript:follow('ApacheBlog');"
@@ -128,11 +217,11 @@ screen reader.
                 <span style="padding:0 5px;cursor: pointer; cursor: hand;" onclick="javascript:follow('GooglePlus');"
                 title="Bizi Google+'ta Takip Edin."><img src="/images/logo-googleplus-16.png" alt="Bizi Google+'ta Takip Edin." />
                 <a>Google+</a></span>
-              </p>
-            </div>
+            </p>
+          </div>
         </div>
       </div>
-     </li>
+    </li>
     <li>
       <hr />
     </li>