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 19:24:26 UTC

svn commit: r1608073 - /openoffice/ooo-site/trunk/content/lt/download/index.html

Author: marcus
Date: Sat Jul  5 17:24:26 2014
New Revision: 1608073

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

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

Modified: openoffice/ooo-site/trunk/content/lt/download/index.html
URL: http://svn.apache.org/viewvc/openoffice/ooo-site/trunk/content/lt/download/index.html?rev=1608073&r1=1608072&r2=1608073&view=diff
==============================================================================
--- openoffice/ooo-site/trunk/content/lt/download/index.html (original)
+++ openoffice/ooo-site/trunk/content/lt/download/index.html Sat Jul  5 17:24:26 2014
@@ -1,4 +1,6 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head itemscope="" itemtype="http://schema.org/Article">
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml /">
+<head itemscope="" itemtype="http://schema.org/Article">
   <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
   <meta itemprop="name" content="Gauti „Apache OpenOffice“" />
   <meta itemprop="description" content="Gaukite „Apache OpenOffice“ – laisvąjį raštinės programų rinkinį, kuriuo pasaulyje naudojasi virš 100 milijonų žmonių." />
@@ -7,7 +9,7 @@
   <meta property="og:description" content="Gaukite „Apache OpenOffice“ – laisvąjį raštinės programų rinkinį, kuriuo pasaulyje naudojasi virš 100 milijonų žmonių." />
   <meta property="og:image" content="http://www.openoffice.org/images/aoo-logo-100x100.png" />
   <meta name="description" content="Tarnybinis „Apache OpenOffice“ platinimo tinklalapis. Gaukite „Apache OpenOffice“ – laisvąjį raštinės programų rinkinį, kuriuo pasaulyje naudojasi virš 100 milijonų žmonių." />
-  
+
   <title>Tarnybinė „Apache OpenOffice“ platinimo tinklavietė</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_lt.js"></script>
@@ -24,22 +26,26 @@
   /* ]]> */
   </style>
   <script>
-    if (window.document.referrer.indexOf("shell.windows.com") != -1)
+    if ( window.document.referrer.indexOf( "shell.windows.com" ) != -1 ) {
        location.href = "/lt/why/why_odf.html";
-
-    function shareFacebook() {
-      _gaq.push(['_trackEvent','social', 'shareDownload', 'facebook']); 
-      window.open('https://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('https://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');
-    }
-    function shareGooglePlus(){
-      _gaq.push(['_trackEvent','social', 'shareDownload', 'google+']); 
-      window.open('https://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%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%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%2Fdownload%2F', '_blank', 'toolbar=0, status=0, width=580, height=325' );
+      }
     }
-  </script></head>
+  </script>
+</head>
+
 <body>
 
 <div class="optionset">
@@ -74,12 +80,13 @@
 
   <!-- Green: Stable release: No JavaScript enabled -->
   <noscript>
-  <div class="first button green" id="optionitem1">
+  <div class="first button green-sel" id="optionitem1">
+    <div class="green-sel-icon"></div>
     <h2><a style="cursor: default;">Gauti „Apache OpenOffice“</a></h2>
     <p style="cursor: default;">
     <a style="cursor: default;">Norint gauti „Apache OpenOffice“, būtina įsidiegti „JavaScript“ kalbą.</a></p>
   </div>
-  <div class="sub-green">
+  <div class="sub-green-sel">
     <p><a href="../porting/index.html"
     title="Get Apache OpenOffice software packaged as portable USB versions and third-party ports">
     <b>Nešiojamosios USB laidos</b> ir trečiųjų šalių vediniai</a> |
@@ -92,6 +99,7 @@
 
   <!-- Light Blue: Share download with social networks -->
   <div class="button lightblue" id="optionitem2">
+    <div class="lightblue-icon"></div>
     <h2><a style="cursor: default;" title="Padėkite skleisti žinią apie „Apache OpenOffice“, papasakodami savo draugams">
     Skleisti žinią</a></h2>
     <p style="cursor: default;" id="ShareDownloadLinks">
@@ -107,6 +115,7 @@
   <!-- Blue: Extensions -->
   <div class="button blue" id="optionitem3" onclick="openItem('optionitem3','http://extensions.openoffice.org');
     return false;">
+    <div class="blue-icon"></div>
     <h2><a href="http://extensions.openoffice.org" title="Rinktis iš daugybės papildomų priemonių">Gauti „Apache OpenOffice“ plėtinių ir žodynų</a></h2>
     <p><a href="http://extensions.openoffice.org" title="Rinktis iš daugybės papildomų priemonių">Plėsti
 „Apache OpenOffice“ galimybes, pasitelkiant naudotojų sukauptą turtingą
@@ -116,6 +125,7 @@ ir nuolat gausėjančią plėtin
   <!-- Blue: Templates -->
   <div class="button blue" id="optionitem3_1" onclick="openItem('optionitem3_1','http://templates.openoffice.org');
     return false;">
+    <div class="blue-icon"></div>
     <h2><a href="http://templates.openoffice.org" title="Rinktis iš daugybės papildomų dokumentų">Gauti „Apache OpenOffice“ ruošinių</a></h2>
     <p><a href="http://templates.openoffice.org" title="Rinktis iš daugybės papildomų dokumentų">Naudoti „Apache OpenOffice“ kūrybiškiau, pasitelkiant naudotojų sukauptą turtingą ir nuolat gausėjančią ruošinių biblioteką.</a></p>
   </div>
@@ -283,7 +293,7 @@ ir nuolat gausėjančią plėtin
   <h3>Laidos informacijos</h3>
   <ul>
     <li><a href="/license.html" title="„Apache OpenOffice“ licencija">Licencija</a></li>
-    <li><a href="other.html#source" title="Plėtotojams ir įgudusiems naudotojams: gauti pirminį tekstą „Apache OpenOffice“ sudarymui.">Pirminis tekstas</a>
+    <li><a href="http://openoffice.apache.org/downloads.html" title="Plėtotojams ir įgudusiems naudotojams: gauti pirminį tekstą „Apache OpenOffice“ sudarymui.">Pirminis tekstas</a>
     </li><li><a href="http://wiki.openoffice.org/wiki/Documentation/Building_Guide_AOO" title="Plėtotojams ir įgudusiems naudotojams: kaip sudaryti „Apache OpenOffice“.">Įrangos sudarymo vadovėlis</a></li>
     <li><a href="/stats/index.html" title="Platinimo ir kita statistika">Platinimo statistika</a></li>
   </ul>
@@ -311,7 +321,7 @@ ir nuolat gausėjančią plėtin
     <li><a href="http://templates.openoffice.org" title="Spartinti darbą su „Apache OpenOffice“ dokumentais">Ruošiniai</a></li>
     <li><a href="http://extensions.openoffice.org" title="Rinktis iš daugybės papildomų priemonių">Plėtiniai</a></li>
     <li><a href="http://openoffice.apache.org/native-lang.html" title="Informacija ir pagalba pageidaujama kalba">Įrangos vertimai</a></li>
-	  <li><a href="/sdk/index.html" title="Plėtotojams: programavimo priemonių rinkinys">Programavimo priemonių rinkinys (SDK)</a></li>
+	  <li><a href="http://openoffice.apache.org/downloads.html" title="Plėtotojams: programavimo priemonių rinkinys">Programavimo priemonių rinkinys (SDK)</a></li>
     <!--
     <li><a href="../distribution/index.html"
     title="FAQ for distributions ">Distributions FAQ</a></li>
@@ -329,11 +339,13 @@ ir nuolat gausėjančią plėtin
     <br>
   <div id="SupportedAndSupporters">
     <a href="http://www.sourceforge.net" target="_blank" title="„Source Forge“ ištekliai atvirosios programinės įrangos bendruomenei">
-    <img src="http://www.openoffice.org/images/sourceforge.png" width="160" height="34" alt="„Source Forge“ ištekliai atvirosios programinės įrangos bendruomenei" /></a>
+    <img src="/images/sourceforge.png" width="160" height="34" alt="„Source Forge“ ištekliai atvirosios programinės įrangos bendruomenei" /></a>
 	<br /><br />
     <a href="http://validator.w3.org/check?uri=referer" target="_blank" title="W3C ženklinimo patikros paslauga - tikrinti tinklo dokumentų ženklinimą (HTML, XHTML, ...)">
     <img src="/images/valid-xhtml10-blue.png" alt="W3C ženklinimo patikros paslauga - tikrinti tinklo dokumentų ženklinimą (HTML, XHTML, ...)" /></a>
   </div>
 </div>
 
-</body></html>
+</body>
+</html>
+