incubator-ooo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From build...@apache.org
Subject svn commit: r800592 [12/18] - in /websites/staging/ooo-site/trunk/content/ro: ./ doc/ doc/data_source/ doc/diverse/ doc/drawing_graphics/ doc/online_help/ doc/spreadsheet/ doc/user_faq/ doc/user_faq/draw/ doc/user_faq/formula/ doc/user_faq/presentation...
Date Tue, 20 Dec 2011 02:00:17 GMT
Added: websites/staging/ooo-site/trunk/content/ro/press/press_01102003_ro.html
==============================================================================
--- websites/staging/ooo-site/trunk/content/ro/press/press_01102003_ro.html (added)
+++ websites/staging/ooo-site/trunk/content/ro/press/press_01102003_ro.html Tue Dec 20 02:00:05
2011
@@ -0,0 +1,158 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<html>
+<head>
+<link href="/css/ooo.css" rel="stylesheet" type="text/css">
+
+
+<meta HTTP-EQUIV="content-type" CONTENT="text/html; charset=UTF-8">
+
+
+</head>
+
+<body>
+  <div id="bannera">
+    <div id="bannerleft">
+      <img id="ooo-logo" alt="Apache OpenOffice.org (Incubating)" src="/images/ooo-logo.png"/></div>
+    <div id="bannerright"><a alt="Apache Incubator" href="http://incubator.apache.org">
+      <img id="asf-logo" alt="Apache Incubator" src="/images/apache-incubator-logo.png"/></a></div>
+    <div id="bannercenter"><br/>(incubating)&nbsp;|&nbsp;The Free and
Open Productivity Suite</div>
+  </div>
+  <div id="clear"></div>
+  <div id="topbara">
+    <div id="breadcrumbsa"><a href="/">home</a>&nbsp;&raquo&nbsp;<a
href="/ro/">ro</a>&nbsp;&raquo&nbsp;<a href="/ro/press/">press</a></div>
+    <div id="topnava">
+      <ul>
+<li><a href="/download/index.html" title="Download OpenOffice.org">Download</a></li>
+<li><a href="/support/index.html" title="Find Support for OpenOffice.org">Support</a></li>
+<li><a href="/extensions/index.html" title="Find Extensions and Templates">Extend</a></li>
+<li><a href="http://incubator.apache.org/openofficeorg/get-involved.html" title="Get
involved in Apache OpenOffice (incubating)">Develop</a></li>
+<li><a href="/projects/native-lang.html" title="OpenOffice.org in your Native Language">Native
Language</a></li>
+</ul>
+    </div>
+  </div>
+  <div id="clear"></div>
+  
+  <div id="content">
+  
+    
+    
+<p>PENTRU DISTRIBUIRE IMEDIATA</p>
+<h2>OPENOFFICE.ORG ANUNTA VERSIUNEA 1.1 FINALA</h2>
+<P>OpenOffice.org anunta disponibilitatea
+imediata pentru descarcare din Internet  a noii versiuni a suitei de
+programe pentru productivitatea in munca de birou, OpenOffice.org 1.1
+pentru sistemele de operare Windows (98/ME/NT/2000/XP), Linux (x86 si
+PowerPC), si Solaris[tm] (editia pentru platformele SPARC) in limbile
+Engleza, Germana, Franceza, Italiana, Spaniola, Chineza (simplificata
+si traditionala), Koreana si Japoneza.</P>
+<P>Suita contine un procesor de texte, un
+program de calcul tabelar, un program pentru crearea de prezentari si
+numeroase alte componente oferite utilizatorilor, impreuna cu
+formatul revolutionar si deschis de fisiere XML. 
+</P>
+<P>Noua versiune aduce numeroase
+imbunatatiri si facilitati dintre care se remarca: exportul
+documentelor in format PDF (Adobe Acrobat); exportul prezentarilor si
+graficii in format Macromedia Flash; timp de incarcare mai scurt;
+compatibilitate sporita cu formatul de fisiere MS-Office; suport
+pentru ajutorul  utilizatorilor cu deficiente fizice precum si o interfata imbunatatita.</P>
+<P>Conform cu termenii si licentele sale
+open source (LGPL si SISSL), suita de programe OpenOffice.org este
+gratuita, oricine avand posibilitatea sa o foloseasca, sa o
+imbunatateasca, modifice sau sa o distribuie in cantitati nelimitate.</P>
+<P>"Versiunea 1.1 a OpenOffice.org este
+o realizare majora a comunitatii OpenOffice.org", afirma Curtis
+Sasaki, vicepresedinte pentru solutii desktop la Sun Microsystems,
+Inc. "O data cu succesul conferintei inaugurale a OpenOffice.org la
+inceputul acestui an, energia comunitatii a atras multe companii si
+participanti individuali sa lucreze alaturi de Sun la crearea celei
+mai stabile si puternice versiuni a aplicatiei OpenOffice.org de pana
+acum, versiune ce constituie nucleul suitei de programe StarOffice
+7."</P>
+<P>"Facilitati noi precum exportul nativ
+in PDF si suportul pentru tehnologiile ajutatoare vor accelera
+adoptarea in intreaga lume a OpenOffice.org, StarOffice precum si a
+sistemelor de operare si medii desktop alternative si mult mai
+sigure. Am vazut membri ai comunitatii lucrand zile in sir pentru a
+crea versiuni traduse ale pachetului. Acest tip de entuziasm a ajutat
+enorm in a face din OpenOffice.org unul dintre cele mai mari proiecte
+Open Source din ziua de azi", completeaza Sasaki.</P>
+<P>Pachetul si codurile sursa pot fi
+descarcate din Internet de la adresa:<br>
+<a href="http://www.openoffice.org/dev_docs/source/download.html">http://www.openoffice.org/dev_docs/source/download.html</a>.</P>
+<h2>Despre OpenOffice.org</h2>
+<P>OpenOffice.org este denumirea
+proiectului open source si a comunitatii de programatori, utilizatori
+si promotori responsabili pentru dezvoltarea suitei de programe
+OpenOffice.org.</P>
+<P>Misiunea OpenOffice.org este de a crea,
+in cadrul comunitatii, cel mai performant pachet software dedicat
+productivitatii in munca de birou, pachet care sa ruleze sub toate
+sistemele de operare mai raspandite, si sa ofere acces la toate
+functiile si datele folosind API-uri bazate pe componente deschise si
+un sistem de fisiere bazat pe formatul XML. 
+</P>
+<P>Suita ruleaza sub sistemele de operare
+FreeBSD, Windows (98/ME/2000/XP), Linux (x86 si PowerPC), Mac OS X si
+Solaris OS; in acelasi timp, versiuni pentru pentru alte sisteme de
+operare si platforme hardware, inclusiv IRIX, HP-UX, Tru64, Linux
+(Alpha), Linux (ARM), Linux (Itanium2) si altele, sunt in diferite
+stadii de dezvoltare. 
+</P>
+<P>OpenOffice.org este scris in limbajul
+de programare C++ si are API-uri documentate si licentiate sub
+licentele open source GNU Lesser General Public License (LGPL) si Sun
+Industry Standards Source License (SISSL).</P>
+<P>De la infiintarea proiectului, 
+OpenOffice.org a inregistrat peste 20 de milioane de descarcari din
+Internet. Fondatorul si sponsorul proiectului OpenOffice.org, Sun
+Microsystems, Inc. Sun, produce si comercializeaza suita de programe
+dedicate productivitatii in munca de birou StarOffice[tm] care se
+bazeaza pe codul sursa al OpenOffice.org.</P>
+<P>Pentru un comunicat de presa mai
+detaliat si pentru pachetul de informatii pentru presa  vizitati<br>
+<a href="http://www.openoffice.org/about_us/1.1press_release.html">http://www.openoffice.org/about_us/1.1press_release.html</a><br>
+<a href="http://www.openoffice.org/press/1.1/">http://www.openoffice.org/press/1.1/</a></P>
+<P></P>
+<h2>PENTRU MAI MULTE INFORMATII:</h2>
+<P>Sam Hiser<br>
+OpenOffice.org Marketing Project<br>
+swhiser@openoffice.org<br>
+(917) 375-8644</P>
+<P>Louis Suarez-Potts<br>
+OpenOffice.org Community Manager<br>
+louis@openoffice.org<br>
+(510) 384-3843</P>
+<P>Erwin Tenhumberg<br>
+Product Marketing Manager, Desktop Solutions Group<br>
+Sun Microsystems, Inc.<br>
+erwin.tenhumberg@sun.com</P>
+<P>Cristian Driga<br>
+OpenOffice.org Manager Proiect LimbaNativa Romana, Contact Marketing Romania<br>
+cdriga@openoffice.org</P>
+<a href="../index.html">Inapoi la pagina principala</a>
+
+  </div>
+
+  <div id="footera">
+    <div id="poweredbya">
+      <p><img src="/images/feather-small.gif"/></p>
+    </div>
+    <div id="copyrighta">
+      <p>
+	Apache "OpenOffice.org" is an effort undergoing incubation at The Apache Software Foundation
(ASF), sponsored by the Apache Incubator.
+	Incubation is required of all newly accepted projects until a further review indicates that
the infrastructure, communications, and
+	decision making process	have stabilized in a manner consistent with other successful ASF
projects. While incubation status is
+	not necessarily a reflection of the completeness or stability of the code, it does indicate
that the project has
+	yet to be fully endorsed by the ASF.</p>
+      <p>
+	<a href="/license.html">Copyright &amp; License</a>
+	<br />Apache and the Apache feather logos are trademarks of The Apache Software Foundation.
+	OpenOffice.org and the seagull logo are registered trademarks of The Apache Software Foundation.
+	Other names appearing on the site may be trademarks of their respective owners.
+      </p>
+    </div>
+  </div>
+
+</body>
+</html>

Added: websites/staging/ooo-site/trunk/content/ro/robots.txt
==============================================================================
--- websites/staging/ooo-site/trunk/content/ro/robots.txt (added)
+++ websites/staging/ooo-site/trunk/content/ro/robots.txt Tue Dec 20 02:00:05 2011
@@ -0,0 +1,7 @@
+User-Agent: *
+Disallow: /source/
+Disallow: /issues/
+Disallow: /search/
+Disallow: /servlets/
+Disallow: /project/
+Disallow: /nonav/

Added: websites/staging/ooo-site/trunk/content/ro/scripturi/descărcare.js
==============================================================================
--- websites/staging/ooo-site/trunk/content/ro/scripturi/descărcare.js (added)
+++ websites/staging/ooo-site/trunk/content/ro/scripturi/descărcare.js Tue Dec 20 02:00:05
2011
@@ -0,0 +1,480 @@
+/* first element: redir will redirect to contributing page, then to url, here
+ * will offer the download here and skip will directly go to the NL-page
+ * (nl-group has its own contributing page */
+
+
+/* skip for all, since contributing-page doesn't redirect anymore... */
+/* ISO-short with array of 'skip/here' (old, not used), */
+/* language name in en-US, */
+/* link to native-lang-page, */
+/* flag for bouncer, flag for bouncer for MAC ( only in combination with previous flag! )
*/
+var languages = {
+"ar": {"-": ['skip', 'Arabic',              'http://ar.openoffice.org/about-downloads.html','n','n']},
+"eu": {"-": ['skip', 'Basque',              'http://eu.openoffice.org/index.html','n','n']},
+"bn": {"-": ['skip', 'Bengali',             'http://bn.openoffice.org/index.html','n','n']},
+"bg": {"-": ['skip', 'Bulgarian',           'http://bg.openoffice.org/index.html','n','n']},
+"ca": {"-": ['skip', 'Catalan',             'http://www.softcatala.org/projectes/openoffice/','n','n']},
+"cs": {"-": ['skip', 'Cesky',               'http://cs.openoffice.org/','n','n']},
+"zh": {"-": ['skip', 'Chinese',             'http://zh.openoffice.org/downloads.html','n','n']},
+"hr": {"-": ['skip', 'Croatian',            'http://hr.openoffice.org/','n','n']},
+"da": {"-": ['skip', 'Danish',              'http://da.openoffice.org/','n','n']},
+"nl": {"-": ['skip', 'Dutch',               'http://nl.openoffice.org/downloaden.html','y','y']},
+"en": {"-": ['here', 'US English',          'http://test.html','y','y'],
+       "us": ['here','US English',          'http://test.html','y','y']},
+"et": {"-": ['skip', 'Estonian',            'http://openoffice.offline.ee','n','n']},
+"fr": {"-": ['skip', 'French',              'http://fr.openoffice.org/about-downloads.html','y','n']},
+"de": {"-": ['skip', 'German',              'http://de.openoffice.org/downloads/quick.html','y','y']},
+"el": {"-": ['skip', 'Greek',               'http://el.openoffice.org','n','n']},
+"he": {"-": ['skip', 'Hebrew',              'http://www.openoffice.org.il/','n','n']},
+"hi": {"-": ['skip', 'Hindi',               'http://hi.openoffice.org/about-downloads.html','n','n']},
+"hu": {"-": ['skip', 'Hungarian',           'http://hu.openoffice.org/about-downloads.html','n','n']},
+"it": {"-": ['skip', 'Italian',             'http://it.openoffice.org/download/','y','n']},
+"ja": {"-": ['skip', 'Japanese',            'http://ja.openoffice.org/','y','n']},
+"km": {"-": ['skip', 'Khmer',               'http://km.openoffice.org/','n','n']},
+"ko": {"-": ['skip', 'Korean',              'http://ko.openoffice.org/','n','n']},
+"lo": {"-": ['skip', 'Laotian',             'http://lo.openoffice.org/','n','n']},
+"mk": {"-": ['skip', 'Macedonian',          'http://mk.openoffice.org/','n','n']},
+"ms": {"-": ['skip', 'Malaysian',           'http://ms.openoffice.org/','n','n']},
+"mn": {"-": ['skip', 'Mongolian',           'http://mn.openoffice.org/','n','n']},
+"no": {"-": ['skip', 'Norwegian',           'http://no.openoffice.org/','n','n']},
+"pl": {"-": ['skip', 'Polish',              'http://pl.openoffice.org/product.download.html','y','n']},
+"pt": {"-":  ['skip','Português',          'http://pt.openoffice.org/download/download.htm','n','n'],
+       "pt": ['skip','Português',          'http://pt.openoffice.org/download/download.htm','n','n'],
+       "br": ['skip','Português do Brasil','http://br-pt.openoffice.org/','n','n']},
+"ro": {"-": ['skip', 'Romana',              'http://ro.openoffice.org/','n','n']},
+"ru": {"-": ['skip', 'Russian',             'http://ru.openoffice.org/about-downloads.html','y','n']},
+"sr": {"-": ['skip', 'Serbian',             'http://sr.openoffice.org/','n','n']},
+"sk": {"-": ['skip', 'Slovak',              'http://sk.openoffice.org/','n','n']},
+"sl": {"-": ['skip', 'Slovenian',           'http://sl.openoffice.org/','n','n']},
+"fi": {"-": ['skip', 'Suomi',               'http://fi.openoffice.org/lataa.html','n','n']},
+"es": {"-": ['skip', 'Spanish',             'http://es.openoffice.org/programa/','y','n']},
+"sv": {"-": ['skip', 'Swedish',             'http://sv.openoffice.org/','y','y']},
+"ta": {"-": ['skip', 'Tamil',               'http://ta.openoffice.org/','n','n']},
+"th": {"-": ['skip', 'Thai',                'http://th.openoffice.org/about-downloads.html','n','n']},
+"tr": {"-": ['skip', 'Turkish',             'http://tr.openoffice.org/about-downloads.html','n','n']},
+"vi": {"-": ['skip', 'Vietnamese',          'http://vi.openoffice.org','n','n']},
+"cy": {"-": ['skip', 'Welsh',               'http://cy.openoffice.org/index.html','n','n']}
+};
+
+/*
+ * get array for language
+ */
+function getArray() {
+    if (navigator.language)
+        language = navigator.language;
+    else if (navigator.userLanguage)
+        language = navigator.userLanguage;
+    else if (navigator.systemLanguage)
+        language = navigator.systemLanguage;
+
+    // Convert "en" to "en-US" as well since en-US build is the canonical
+    // translation, and thus better tested.
+    if (language == "" || language == "en") language = "en-US";
+
+    // Konqueror uses '_' where other browsers use '-'.
+    if (language.indexOf("_") != -1) language = language.split("_").join("-");
+
+    language = language.toLowerCase();
+    var languageCode = language.split("-")[0];
+    var regionCode = language.split("-")[1];
+
+    var thisLanguageSet  = languages[languageCode];
+    if ( thisLanguageSet == null ) {
+        // language code not found inside array
+        languageCode = "en";
+        regionCode = "us";
+        thisLanguageSet  = languages[languageCode];
+    }
+
+    if ( regionCode != null ) {
+        // found additional region code
+        if (thisLanguageSet[regionCode] != null) {
+            // choose langCode-regionCode
+            thisLanguage = thisLanguageSet[regionCode];
+        } else {
+            // choose default
+            thisLanguage = thisLanguageSet["-"];
+            if ( languageCode == "en" ) {
+                // special case, default is en-US for en-XX
+                regionCode = "us";
+                thisLanguageSet  = languages[languageCode];
+                thisLanguage = thisLanguageSet[regionCode];
+            }
+        }
+    } else {
+        // choose default for none given region code
+        thisLanguage = thisLanguageSet["-"];
+    };
+    return thisLanguage;
+}
+
+/*
+ * get language for user-language
+ */
+function getLanguage() {
+    var a = getArray();
+    return a[1];
+}
+
+/*
+ * get language for user-language in ISO format
+ */
+function getLanguageISO() {
+    return 'en-US';
+    if (navigator.language)
+        language = navigator.language;
+    else if (navigator.userLanguage)
+        language = navigator.userLanguage;
+    else if (navigator.systemLanguage)
+        language = navigator.systemLanguage;
+
+    // Convert "en" to "en-US" as well since en-US build is the canonical
+    // translation, and thus better tested.
+    if (language == "" || language == "en") language = "en-US";
+
+    // Konqueror uses '_' where other browsers use '-'.
+    if (language.indexOf("_") != -1) language = language.split("_").join("-");
+
+    language = language.toLowerCase();
+    var languageCode = language.split("-")[0];
+    var regionCode = language.split("-")[1];
+
+    var thisLanguageSet  = languages[languageCode];
+    if ( thisLanguageSet == null ) {
+        return "en-US";
+    } else if ( regionCode != null ) {
+        if (thisLanguageSet[regionCode] != null) {
+            // choose langCode-regionCode
+            return languageCode + "-" + regionCode.toUpperCase();
+        } else {
+            // choose default
+            if ( languageCode == "en" ) {
+                // special case, default is en-US for en-XX
+                return "en-US";
+            } else
+               return languageCode;
+        }
+    } else {
+        // choose default
+        return languageCode;
+    };
+}
+
+/*
+ * get flag for bouncer link
+ * depends on array-list
+ */
+function hasBouncerLink() {
+    var a = getArray();
+    var platformBouncer = getPlatformForBouncer();
+
+    if ( a[3] == 'y' ) {
+        // special handling for MAC-Bouncer links in combination with bouncer general flag
a[3]
+        if ( platformBouncer.indexOf( "mac" ) == -1 || a[4] == 'y' ) {
+            return true;
+        } else {
+            return false;
+        }
+    } else {
+        return false;
+    }
+}
+
+/*
+ * get flag for bouncer link
+ * depends on array-list
+ */
+function getLink( version ) {
+    return "http://openoffice.bouncer.osuosl.org/?product=OpenOffice.org&os=" + getPlatformForBouncer()
+ "&lang=en-US&version=" + version;
+}
+
+/*
+ * get platform for browser
+ */
+function getPlatform() {
+    if ( navigator.platform != null ) {
+        if ( navigator.platform.indexOf( "Win32" ) != -1 ) {
+            return "Windows";
+        } else if ( navigator.platform.indexOf( "Win64" ) != -1 ) {
+            return "Windows";
+        } else if ( navigator.platform.indexOf( "Win" ) != -1 ) {
+            return "Windows";
+        } else if ( navigator.platform.indexOf( "Linux" ) != -1 ) {
+            return "Linux";
+        } else if ( navigator.platform.indexOf( "SunOS i86pc" ) != -1 ) {
+            return "Solaris x86";
+        } else if ( navigator.platform.indexOf( "SunOS sun4u" ) != -1 ) {
+            return "Solaris SPARC";
+        } else if ( navigator.platform.indexOf( "SunOS" ) != -1 ) {
+            return "Solaris SPARC";
+        } else if ( navigator.platform.indexOf( "Mac" ) != -1 && navigator.platform.indexOf(
"Intel" ) != -1 ) {
+            return "Mac OSX Intel";
+        } else if ( navigator.platform.indexOf( "Mac" ) != -1 && navigator.platform.indexOf(
"PPC" ) != -1 ) {
+            return "Mac OSX PPC";
+        } else if ( navigator.platform.indexOf( "Mac" ) != -1 ) {
+            return "Mac OSX" ;
+        } else
+            return navigator.platform;
+    }
+    return "Windows";
+}
+
+/*
+ * get platform for bouncer-link
+ */
+function getPlatformForBouncer() {
+    if ( navigator.platform != null ) {
+        if ( navigator.platform.indexOf( "Win32" ) != -1 ) {
+            return "winwjre";
+        } else if ( navigator.platform.indexOf( "Win64" ) != -1 ) {
+            return "winwjre";
+        } else if ( navigator.platform.indexOf( "Win" ) != -1 ) {
+            return "winwjre";
+        } else if ( navigator.platform.indexOf( "Linux" ) != -1 ) {
+            return "linuxintelwjre";
+        } else if ( navigator.platform.indexOf( "SunOS i86pc" ) != -1 ) {
+            return "solarisx86wjre";
+        } else if ( navigator.platform.indexOf( "SunOS sun4u" ) != -1 ) {
+            return "solarissparcwjre";
+        } else if ( navigator.platform.indexOf( "SunOS" ) != -1 ) {
+            return "solarissparcwjre";
+        } else if ( navigator.platform.indexOf( "Mac" ) != -1 && navigator.platform.indexOf(
"Intel" ) != -1 ) {
+            return "macosxintel";
+        } else if ( navigator.platform.indexOf( "Mac" ) != -1 && navigator.platform.indexOf(
"PPC" ) != -1 ) {
+            return "macosxppc";
+        } else if ( navigator.platform.indexOf( "Mac" ) != -1 ) {
+            return "macosxintel";
+        } else
+            return navigator.platform;
+    }
+    return "winwjre";
+}
+
+function getTupel( href ) {
+    var retVal;
+    if ( href.indexOf( "?" ) > 0 && href.indexOf( "http://openoffice.bouncer.osuosl.org/"
) == 0 ) {
+    if ( href.indexOf( "product=" ) > 0 && href.indexOf( "os=" ) > 0 &&
href.indexOf( "lang=" ) > 0 && href.indexOf( "version=" ) > 0 ) {
+        var s = (href.split( "?" )[1]).split( "&" );
+        var product, os, lang, version;
+        for (var i=0; i < s.length; i++ ) {
+        if ( s[i].indexOf( "product=" ) == 0 ) {
+            product = s[i].split( "=" )[1];
+            if ( product.indexOf( "OpenOffice.org" ) == 0 ) {
+            product = "OOo";
+            }
+        } else if ( s[i].indexOf( "os=" ) == 0 ) {
+            os = s[i].split( "=" )[1];
+        } else if ( s[i].indexOf( "lang=" ) == 0 ) {
+            lang = s[i].split( "=" )[1];
+        } else if ( s[i].indexOf( "version=" ) == 0 ) {
+            version = s[i].split( "=" )[1];
+        }
+        }
+        retVal = product + " " + version + "-" + os + "-" + lang + "-" + version;
+    }
+    }
+    return retVal;
+}
+
+function getProduct( href ) {
+    var retVal = "";
+    if ( href.indexOf( "?" ) > 0 && href.indexOf( "http://openoffice.bouncer.osuosl.org/"
) == 0 ) {
+    if ( href.indexOf( "product=" ) > 0 && href.indexOf( "os=" ) > 0 &&
href.indexOf( "lang=" ) > 0 && href.indexOf( "version=" ) > 0 ) {
+        var s = (href.split( "?" )[1]).split( "&" );
+        var product, version;
+        for (var i=0; i < s.length; i++ ) {
+        if ( s[i].indexOf( "product=" ) == 0 ) {
+            product = s[i].split( "=" )[1];
+            if ( product.indexOf( "OpenOffice.org" ) == 0 ) {
+            product = "OOo";
+            }
+        } else if ( s[i].indexOf( "version=" ) == 0 ) {
+            version = s[i].split( "=" )[1];
+        }
+        }
+        retVal = product + " " + version;
+    }
+    }
+    return retVal;
+}
+
+function getLang( href ) {
+    return 'en-US';
+    var retVal = "";
+    if ( href.indexOf( "?" ) > 0 && href.indexOf( "http://openoffice.bouncer.osuosl.org/"
) == 0 ) {
+        if ( href.indexOf( "product=" ) > 0 && href.indexOf( "os=" ) > 0 &&
href.indexOf( "lang=" ) > 0 && href.indexOf( "version=" ) > 0 ) {
+            var s = (href.split( "?" )[1]).split( "&" );
+            for (var i=0; i < s.length; i++ ) {
+                if ( s[i].indexOf( "lang=" ) == 0 ) {
+                    retVal = s[i].split( "=" )[1];
+                }
+            }
+        }
+    }
+    return 'en-US';
+}
+
+function getOS( href ) {
+    var retVal = "";
+    if ( href.indexOf( "?" ) > 0 && href.indexOf( "http://openoffice.bouncer.osuosl.org/"
) == 0 ) {
+        if ( href.indexOf( "product=" ) > 0 && href.indexOf( "os=" ) > 0 &&
href.indexOf( "lang=" ) > 0 && href.indexOf( "version=" ) > 0 ) {
+            var s = (href.split( "?" )[1]).split( "&" );
+            for (var i=0; i < s.length; i++ ) {
+                if ( s[i].indexOf( "os=" ) == 0 ) {
+                    retVal = s[i].split( "=" )[1];
+                }
+            }
+        }
+    }
+    return retVal;
+}
+
+function getVersion( href ) {
+    var retVal = "";
+    if ( href.indexOf( "?" ) > 0 && href.indexOf( "http://openoffice.bouncer.osuosl.org/"
) == 0 ) {
+        if ( href.indexOf( "product=" ) > 0 && href.indexOf( "os=" ) > 0 &&
href.indexOf( "lang=" ) > 0 && href.indexOf( "version=" ) > 0 ) {
+            var s = (href.split( "?" )[1]).split( "&" );
+            for (var i=0; i < s.length; i++ ) {
+                if ( s[i].indexOf( "version=" ) == 0 ) {
+                    retVal = s[i].split( "=" )[1];
+                }
+            }
+        }
+    }
+    return retVal;
+}
+
+function writeJavaSelector() {
+    document.write( "<form action=\"\" method=\"\" name=\"downloadSettings\"><p
style=\"\">" );
+    document.write( "<label for=\"cbIncludeJRE\">Include the Java JRE with this download
(This option is not available for Linux DEB and Mac OSX)</label>" );
+    document.write( "&nbsp;<input type=\"checkbox\" onclick=\"updateHREFs()\" checked=\"checked\"
name=\"cbIncludeJRE\" id=\"cbIncludeJRE\"/>" );
+    document.write( "</p>" );
+    document.write( "</form>" );
+}
+
+function updateHREFs() {
+  var qabuildsul = document.getElementById("qabuilds");
+  var anchorsToBouncer = document.getElementsByTagName("a");
+
+  if (document.downloadSettings.cbIncludeJRE.checked == false) {
+    for (var i = 0; i < anchorsToBouncer.length; i++) {
+        if ( anchorsToBouncer[i].href.indexOf( "os=linuxinteldeb" ) == -1
+            && anchorsToBouncer[i].href.indexOf( "os=macosx" ) == -1
+        ) {
+            anchorsToBouncer[i].href = anchorsToBouncer[i].href.replace("wjre&amp;lang=","&amp;lang=");
+            anchorsToBouncer[i].href = anchorsToBouncer[i].href.replace("wjre&lang=","&lang=");
+        }
+    }
+  } else {
+    for (var i = 0; i < anchorsToBouncer.length; i++) {
+        if ( anchorsToBouncer[i].href.indexOf( "os=linuxinteldeb" ) == -1
+            && anchorsToBouncer[i].href.indexOf( "os=macosx" ) == -1
+        ) {
+            //we cannot assume that it is always right, and in order to prevent wjrewjrewjre&...
this (should) solve(s) it...
+            anchorsToBouncer[i].href = anchorsToBouncer[i].href.replace("wjre&amp;lang=","&amp;lang=");
+            anchorsToBouncer[i].href = anchorsToBouncer[i].href.replace("wjre&lang=","&lang=");
+            //and now we add them :)
+            anchorsToBouncer[i].href = anchorsToBouncer[i].href.replace("&amp;lang=","wjre&amp;lang=");
+            anchorsToBouncer[i].href = anchorsToBouncer[i].href.replace("&lang=","wjre&lang=");
+        }
+    }
+  }
+}
+
+function continueToDownload(uri) {
+  uri=uri.replace("http://openoffice.bouncer.osuosl.org/","");
+  //bonuscheck... noone gets hurt...
+  if (document.downloadSettings.cbIncludeJRE.checked == false) {
+    uri = uri.replace("wjre","");
+  }
+  document.location = "http://download.openoffice.org/contribute.html" + uri; //absolute
to for use at other subdomains
+}
+
+function continueToDownloadTwo(uri) {
+  uri=uri.replace("http://openoffice.bouncer.osuosl.org/","");
+  //bonuscheck... noone gets hurt...
+  if (document.downloadSettings.cbIncludeJRE.checked == false) {
+    uri = uri.replace("wjre","");
+  }
+  document.location = "http://download.openoffice.org/contribute.html" + uri;
+}
+
+function openItem(itemid,uri) {
+    var thisDocument = document.getElementById("downloadextendedtext");
+    var thisDocument = document.getElementById(itemid);
+
+    if ( itemid=="optionitem1" && uri.indexOf( "http://openoffice.bouncer.osuosl.org"
) > -1) {
+        uri = uri.replace("http://openoffice.bouncer.osuosl.org/?","");
+        uri = "http://download.openoffice.org/contribute.html?download=bouncer&" + escape(
uri );
+    }
+
+    document.location = uri;
+
+  //return false;
+};
+
+function makeDownloadLIintoButtons() {
+    var downloadextendedtext = document.getElementById("downloadextendedtext");
+    var liItems = downloadextendedtext.getElementsByTagName("li");
+
+    for (var i = 0; i < liItems.length; i++) {
+        var liItemsAnchors = liItems[i].getElementsByTagName("a");
+        if (liItemsAnchors.length == 1) {
+            var hrefcontents = liItemsAnchors[0].href;
+            if (hrefcontents.search("bouncer") > -1) {
+                liItems[i].onclick = function () {
+                    var myHref = this.getElementsByTagName("a")[0].href;
+                    continueToDownload(myHref);
+                    return false;
+                };
+            } else {
+                liItems[i].onclick = function () {
+                    var myHref = this.getElementsByTagName("a")[0].href;
+                    document.location = myHref;
+                    return false;
+                };
+            }
+            liItems[i].style.cursor = "pointer";
+        }
+    }
+}
+
+function start( uri ) {
+    alert( 'Go OOo' + uri );
+
+}
+function doLoad( uri ) {
+    // the timeout value should be the same as in the "refresh" meta-tag
+    setTimeout( "download('" + uri + "')", 2*1000 );
+}
+
+function download( uri ) {
+    // starting the download
+    window.location.href = uri;
+}
+
+function startDownload() {
+    var s = window.location.search;
+    i = s.indexOf( "download=" );
+    if ( i > -1 ) {
+        uri = unescape( s.split( "download=bouncer" )[1] );
+        uri = "http://openoffice.bouncer.osuosl.org/?" + uri;
+        s_linkType = "d";
+        s_linkTrackVars = "events,products,eVar3,eVar8,prop19,prop20,prop21";
+        s_linkTrackEvents = "event7";
+        s_events = "event7";
+        s_eVar3 = "ooo";
+        s_linkName = "ooo:" + getTupel( uri );
+        s_products = "Downloaded Products;" + getProduct( uri ) + " Download";
+        s_eVar8 = getTupel( uri );
+        s_prop19 = getOS( uri );
+        s_prop20 = getLang( uri );
+        s_prop21 = getVersion( uri );
+        if ( uri != null ) {
+            document.write( "Starting download from <a onClick='s_lnk=s_co(this);s_gs(s_account);'
href='" + uri + "'>" + uri + "</a>." );
+            doLoad( uri );
+        }
+        //document.location = uri;
+        return false;
+    }
+}



Mime
View raw message