User: SimonAW 
Date: 2010-01-12 20:11:16+0000
Modified:
   de/www/testdir/download.html

Log:
 Links zu mirrorbrain

File Changes:

Directory: /de/www/testdir/
===========================

File [changed]: download.html
Url: 
http://de.openoffice.org/source/browse/de/www/testdir/download.html?r1=1.5&r2=1.6
Delta lines:  +10 -9
--------------------
--- download.html       2010-01-12 19:52:52+0000        1.5
+++ download.html       2010-01-12 20:11:13+0000        1.6
@@ -15,19 +15,24 @@
                <script type="text/javascript">
 
                        var os_name;
+                       var filename;
+                       var version="3.1.1";
 
                        function os_detect() {
                                uastring = new String( navigator.userAgent 
).toLowerCase();
                                if ( uastring.indexOf( "linux" ) >= 0 ) {
                                        os_name = "Linux";
+                                       filename = 
"OOo_"+version+"_LinuxIntel_install_de.tar.gz";
                                        return "linuxintel";
                                } else
                                        if ( uastring.indexOf( "windows" ) >= 0 
) {
                                                os_name = "Windows";
+                                               
filename="OOo_"+version+"_Win32Intel_install_de.exe";
                                        return "win";
                                } else
                                        if ( uastring.indexOf( "macintosh" ) >= 
0 ) {
                                                os_name = "MacOS X";
+                                               
filename="OOo_"+version+"_MacOSXIntel_install_de.dmg";
                                        return "macosxintel";
                                } else {
                                        return "linuxintel";
@@ -35,12 +40,9 @@
                        }
 
 function mk_dl_url() {
-                               version="3.1.1";
-                               lang="de";
-                               product="OpenOffice.org";
-                               os=os_detect();
+                               os_detect();
 
-                               document.writeln( "<a 
href=\"http://openoffice.bouncer.osuosl.org/?product="+product+"&os="+os+"&lang="+lang+"&version="+version+"\";>"
 );
+                               document.writeln( "<a 
href=\"http://download.services.openoffice.org/files/localized/de/"+version+"/"+filename+"\";>"
 );
                                document.writeln( "OpenOffice.org f&uuml;r " + 
os_name + " herunterladen</a>" );
 }
 
@@ -55,12 +57,11 @@
                <div class="dlSubinfo">
                        <ul>
                                <li>
-                       <a href="http://download.openoffice.org/other.html";>
+                       <a 
href="http://download.services.openoffice.org/files/localized/de/";>
                                Weitere Versionen (mit JRE, 64-bit-Versionen, 
Alle Betriebssysteme)
                        </a>
                                </li>
-                               <li>
-                               <a 
href="http://borft.student.utwente.nl:6969/";>Bittorrent</a>
+                               <li> <a 
href="http://borft.student.utwente.nl:6969/";>Bittorrent</a>
                                </li>
                </div>
 
@@ -88,7 +89,7 @@
 
        <div id="dlNext" class="dlBox">
                <div class="dlHeading">
-                       <a 
href="http://download.openoffice.org/all_rc.html";>Release Candidates</a>
+                       <a 
href="http://download.services.openoffice.org/files/extended/";>Release 
Candidates</a>
                </div>
 
                <div class="dlSubinfo">




---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Antwort per Email an