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> +