User: SimonAW 
Date: 2010-02-09 23:22:39+0000
Added:
   de/www/downloads/download-arrows.png
   de/www/downloads/download-current.png
   de/www/downloads/download-dev.png
   de/www/downloads/download-ext.png
   de/www/downloads/download-rc.png
   de/www/downloads/download.css
   de/www/downloads/download.html
   de/www/downloads/download.js

Log:
 Download-Portal-Dateien kopiert aus testdir-Umgebung

File Changes:

Directory: /de/www/downloads/
=============================

File [added]: download-arrows.png
Url: 
http://de.openoffice.org/source/browse/de/www/downloads/download-arrows.png?rev=1.1&content-type=text/vnd.viewcvs-markup
File [added]: download-current.png
Url: 
http://de.openoffice.org/source/browse/de/www/downloads/download-current.png?rev=1.1&content-type=text/vnd.viewcvs-markup
File [added]: download-dev.png
Url: 
http://de.openoffice.org/source/browse/de/www/downloads/download-dev.png?rev=1.1&content-type=text/vnd.viewcvs-markup
File [added]: download-ext.png
Url: 
http://de.openoffice.org/source/browse/de/www/downloads/download-ext.png?rev=1.1&content-type=text/vnd.viewcvs-markup
File [added]: download-rc.png
Url: 
http://de.openoffice.org/source/browse/de/www/downloads/download-rc.png?rev=1.1&content-type=text/vnd.viewcvs-markup
File [added]: download.css
Url: 
http://de.openoffice.org/source/browse/de/www/downloads/download.css?rev=1.1&content-type=text/vnd.viewcvs-markup
Added lines: 55
---------------

#dlBoxes {
        max-width: 1200px;
        margin: 20px auto 20px auto;
}

#dlCurrent {
        background: #b9df68 url("download-current.png") no-repeat 100% 0;
}

#dlProoobox {
        background: #ffbe77 url("download-dev.png") no-repeat 100% 0;
}


.dlHeading {
        font-size: 1.5em;
        font-weight: bold;
}

.dlSubinfo {
        margin-top: 1em;
        margin-left: 10px;
        margin-bottom: 2em;
}

.dlExplanation {
        font-size: .8em;
}

.dlBox {
        padding: 10px 150px 10px 10px;
        margin: 20px auto 10px auto;
}

#dlExtensions {
        background: #c1d6f2 url("download-ext.png") no-repeat 100% 0;
}

#dlNext {
        background: #fbd54d url("download-rc.png") no-repeat 100% 0;
}

#additionalInformation {
        border: 1px solid blue;
}

.section {
        font-size: 1.2em;
        margin-top: .5em;
}

ul[class=dlItemList] li {
        margin-left: 50px !important;
}

File [added]: download.html
Url: 
http://de.openoffice.org/source/browse/de/www/downloads/download.html?rev=1.1&content-type=text/vnd.viewcvs-markup
Added lines: 134
----------------
<html>
        <head>
                <title>OpenOffice.org herunterladen</title>

                <link rel="stylesheet" type="text/css" href="download.css" 
media="screen" />
                <link rel="stylesheet" type="text/css" href="/styles/de.css" 
media="screen" />

                <script type="text/javascript" src="download.js"></script>

        </head>

        <body>

                <!-- CONTENT GOES HERE -->

                <div id="dlBoxes">
                
                        <div id="dlCurrent" class="dlBox">
                                <div class="dlHeading">
                                        <script 
type="text/javascript">write_download_link();</script>
                                        <noscript>OpenOffice.org 
herunterladen</noscript>
                                </div>
                
                                <div class="dlSubinfo">
                                        <ul>
                                                <li>
                                                        <a 
href="http://download.services.openoffice.org/files/localized/de/";>Alle 
Versionen (mit JRE, 64-bit-Versionen, Alle Betriebssysteme)</a>
                                                </li>
                
                                                <li>
                                                        <script 
type="text/javascript">write_torrent_link();</script>
                                                        <noscript><a 
href="http://borft.student.utwente.nl/~adrian/bt.php";>BitTorrent-&Uuml;bersicht</a></noscript>
                
                                                        <div 
class="dlExplanation">
                                                                Sie k&ouml;nnen 
mit dem Begriff "BitTorrent" nichts anfangen? <a 
href="http://de.wikipedia.org/wiki/BitTorrent";>Lesen Sie den Wikipedia-Artikel 
&uuml;ber BitTorrent</a>.
                                                        </div>
                                                </li>
                
                                                <li>
                                                        <a 
href="ftp://archive.services.openoffice.org/pub/openoffice-archive/localized/de/";>Archiv
 (Versionen bis 1.0.0 zur&uuml;ck)</a>
                                                </li>
                                        </ul>
                                </div>
                
                        </div>
                
                        <div id="dlProoobox" class="dlBox">
                                <div class="dlHeading">
                                        Zusatz-Software (<a 
href="http://www.prooo-box.org/";>PrOOoBox</a>, <a 
href="http://www.oooportable.org";>OOoPortable</a>)
                                </div>
                
                                <div class="dlSubinfo">
                
                                        W&auml;hlen Sie einen Mirror aus, von 
dem Sie herunterladen
                                        m&ouml;chten:
                
                                        <form name="prooobox_download" 
action="#">
                                                <select name="mirrors" 
id="lstMirrors" onchange="add_mk_dl_link(this.selectedIndex)">
                                                        <option 
id="nojs_item">Auswahl nur mit JavaScript m&ouml;glich</option>
                                                </select>
                                        </form>
                
                                        <ul>
                                                <li 
class="section">PrOOoBox</li>
                                                <ul class="dlItemList">
                                                        <li>
                                                                CD-Image:
                                                                <a 
id="prooo_win_cd" href="/downloads">Windows</a>&nbsp;<a 
id="prooo_win_cd_torrent" 
href="http://ooodev.org:6969/index.html?search=PrOOo-Box";>(Torrent)</a>
                                                                &middot;
                                                                <a 
id="prooo_rpm_cd" href="/downloads">Linux&nbsp;(RPM)</a>&nbsp;<a 
id="prooo_rpm_cd_torrent" 
href="http://ooodev.org:6969/index.html?search=PrOOo-Box";>(Torrent)</a>
                                                                &middot;
                                                                <a 
id="prooo_deb_cd" href="/downloads">Linux&nbsp;(DEB)</a>&nbsp;<a 
id="prooo_deb_cd_torrent" 
href="http://ooodev.org:6969/index.html?search=PrOOo-Box";>(Torrent)</a>
                                                        </li>
                                                        <li>
                                                                <a 
id="prooo_dvd" href="/downloads">DVD-Image</a>&nbsp;<a id="prooo_dvd_torrent" 
href="http://ooodev.org:6969/index.html?search=PrOOo-Box";>(Torrent)</a>
                                                        </li>
                                                </ul>
                
                                                <li 
class="section">OOoPortable</li>
                                                <ul class="dlItemList">
                                                        <li>
                                                                <a 
id="ooop_win_py" href="/downloads">Windows (mit Python)</a> &middot;
                                                                <a 
id="ooop_win_nopy" href="/downloads">Windows (ohne Python)</a>
                                                        </li>
                
                                                        <!-- Gibt vorest keine 
neue... -->
                                                        <!-- <li><a 
id="ooop_plus" href="/downloads">OOoPortablePlus</a></li> -->
                                                </ul>
                                        </ul>
                                </div>
                        </div>
                
                        <div id="dlExtensions" class="dlBox">
                                <div class="dlHeading">
                                        <a 
href="http://extensions.services.openoffice.org";>Erweiterungen f&uuml;r 
OpenOffice.org herunterladen</a>
                                </div>
                
                                <div class="dlSubinfo">
                
                                        Erweitern und personalisieren Sie Ihr 
OpenOffice.org durch
                                        eine st&auml;ndig anwachsende Auswahl 
von Erweiterungen, wie z.B.
                                        W&ouml;rterb&uuml;cher.
                
                                        <ul>
                                                <li><a 
href="/spellcheck">Weitere Informationen zur Installation von 
W&ouml;rterb&uuml;chern</a></li>
                                        </ul>
                
                                </div>
                        </div>
                
                        <div id="dlNext" class="dlBox">
                                <div class="dlHeading">
                                        <a 
href="http://download.services.openoffice.org/files/extended/";>Release 
Candidates</a>
                                </div>
                
                                <div class="dlSubinfo">
                
                                        Release Candidates (RCs) heissen 
zuk&uuml;nftige Versionen von
                                        OpenOffice.org, die noch Fehler (Bugs) 
enthalten k&ouml;nnen und
                                        <strong>nicht f&uuml;r den 
t&auml;glichen Gebrauch bestimmt
                                                sind</strong>. Laden Sie sich 
diese Versionen nur dann,
                                        wenn Sie mithelfen wollen, Fehler zu 
beheben oder genau
                                        wissen, was Sie tun.
                
                                </div>
                        </div>
                
                </div>

                <!-- END OF CONTENT -->

                <script type="text/javascript">add_init();</script>
        </body>
</html>

File [added]: download.js
Url: 
http://de.openoffice.org/source/browse/de/www/downloads/download.js?rev=1.1&content-type=text/vnd.viewcvs-markup
Added lines: 150
----------------
/*
 * JavaScript fuer das Download-Portal von de.openoffice.org
 * 16.1.2010 - Simon Wilper
 *
 */


// OOo-Version
version = "3.1.1";

// ooodev - PrOOo-Box-DVD, Portable-OOo und ggf. weitere Zusatzprojekte

mirror_list = [
        ['ooodev_akl1',                         'files.akl.lt (FTP)',           
                                
'ftp://files.akl.lt/OpenOffice.org-extras/ooodev/'],
        ['ooodev_akl2',                         'files.akl.lt (HTTP)',          
                                
'http://files.akl.lt/OpenOffice.org-extras/ooodev/'],
        ['ooodev_chemnitz',                     'ftp.tu-chemnitz.de (FTP)',     
                                'ftp://ftp.tu-chemnitz.de/pub/ooodev/'],
        ['ooodev_chemnitz2',            'ftp.tu-chemnitz.de (HTTP)',            
                'http://ftp.tu-chemnitz.de/pub/ooodev/'],
        ['ooodev_esslingen1',           'ftp-stud.fht-esslingen.de (FTP)',      
                'ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/ooodev/'],
        ['ooodev_esslingen2',           'ftp-stud.fht-esslingen.de (HTTP)',     
                'http://ftp-stud.fht-esslingen.de/pub/Mirrors/ooodev/'],
        ['ooodev_garr1',                        'ooodev.mirror.garr.it (FTP)',  
                        'ftp://ooodev.mirror.garr.it/mirrors/ftp.ooodev.org/'],
        ['ooodev_gwdg',                         'ftp5.gwdg.de (FTP)',           
                                'ftp://ftp5.gwdg.de/pub/misc/ooodev/'],
        ['ooodev_gwdg2',                        'ftp5.gwdg.de (HTTP)',          
                                'http://ftp5.gwdg.de/pub/misc/ooodev/'],
        ['ooodev_heanet1',                      'ftp.heanet.ie (FTP)',          
                                'ftp://ftp.heanet.ie/mirrors/ftp.ooodev.org/'],
        ['ooodev_heanet2',                      'ftp.heanet.ie (HTTP)',         
                                'http://ftp.heanet.ie/mirrors/ftp.ooodev.org/'],
        ['ooodev_kddi1',                        'ftp.kddilabs.jp (FTP)',        
                                'ftp://ftp.kddilabs.jp/office/openoffice-dev/'],
        ['ooodev_mirrorservice1',       'ftp.mirrorservice.org (FTP)',          
                'ftp://ftp.mirrorservice.org/sites/ftp.ooodev.org/ooodev/'],
        ['ooodev_mirrorservice2',       'www.mirrorservice.org (HTTP)',         
                'http://www.mirrorservice.org/sites/ftp.ooodev.org/ooodev/'],
        ['ooodev_muenster',                     'ftp.uni-muenster.de (FTP)',    
                        'ftp://ftp.uni-muenster.de/pub/software/OOoDev/'],
        ['ooodev_muenster2',            'ftp.uni-muenster.de (HTTP)',           
                'http://ftp.uni-muenster.de/pub/software/OOoDev/'],
        ['ooodev_pacific',                      'mirror.pacific.net.au (FTP)',  
                        'ftp://mirror.pacific.net.au/pub/ooodev/'],
        ['ooodev_secsup1',                      'ooodev.secsup.org (FTP)',      
                                'ftp://ooodev.secsup.org/pub/software/ooodev/'],
        ['ooodev_solnet1',                      'ftp.solnet.ch (FTP)',          
                                'ftp://ftp.solnet.ch/mirror/ooodev/'],
        ['ooodev_solnet2',                      'ooodev.mirror.solnet.ch 
(HTTP)',                       'http://ooodev.mirror.solnet.ch/'],
        ['ooodev_sunsite',                      
'sunsite.informatik.rwth-aachen.de (FTP)',      
'ftp://sunsite.informatik.rwth-aachen.de/pub/mirror/ftp.ooodev.org/'],
        ['ooodev_switch1',                      'mirror.switch.ch (FTP)',       
                                'ftp://mirror.switch.ch/mirror/ooodev/'],
        ['ooodev_switch2',                      'mirror.switch.ch (HTTP)',      
                                'http://mirror.switch.ch/ftp/mirror/ooodev/'],
        ['ooodev_tds1',                         'openoffice.mirrors.tds.net 
(FTP)',                     
'ftp://openoffice.mirrors.tds.net/pub/openoffice-ooodev/'],
        ['ooodev_tds2',                         'openoffice.mirrors.tds.net 
(HTTP)',            'http://openoffice.mirrors.tds.net/pub/openoffice-ooodev/'],
        ['ooodev_tubs',                         'ftp.rz.tu-bs.de (FTP)',        
                                
'ftp://ftp.rz.tu-bs.de/pub/mirror/ALL_primary_servers/rsync/ftp.ooodev.org/ooodev/'],
        ['ooodev_tubs2',                        'ftp.rz.tu-bs.de (HTTP)',       
                                
'http://ftp.rz.tu-bs.de/pub/mirror/ALL_primary_servers/rsync/ftp.ooodev.org/ooodev/'],
        ['ooodev_tuwien',                       'gd.tuwien.ac.at (FTP)',        
                                'ftp://gd.tuwien.ac.at/office/ooodev/'],
        ['ooodev_utah1',                        'ooodev.cs.utah.edu (FTP)',     
                                'http://ooodev.cs.utah.edu/'],
        ['ooodev_utah2',                        'ooodev.cs.utah.edu (HTTP)',    
                        'ftp://ooodev.cs.utah.edu/pub/ooodev/']
];

/* Initialisieren
 */
function add_init() {
        // <select>-Element "lstMirrors"
        lstMirrors = document.getElementById( "lstMirrors" );

        // Alle Kind-Elemente loeschen, damit der Eintrag "Auswahl nur mit 
JavaScript" verschwindet
        while( lstMirrors.firstChild ) {
                lstMirrors.removeChild(lstMirrors.firstChild);
        }

        // Mirrors zur Liste hinzufuegen
        for ( i=0; i<mirror_list.length; i++ ) {
                E = document.createElement( "option" );
                E.setAttribute( "label", mirror_list[i][1] );
                E.setAttribute( "value", mirror_list[i][2] );

                T = document.createTextNode( mirror_list[i][1] );
                E.appendChild(T);

                lstMirrors.appendChild(E);
        }

        // Zufaellig einen auswaehlen
        add_mk_dl_link(Math.floor(Math.random() * mirror_list.length));
}

function add_set_href( id, download_link) {
        document.getElementById(id).setAttribute("href",download_link);
}

function add_mk_dl_link( index ) {
        mirror  = mirror_list[index][2];
        tracker = "http://ooodev.org:6969/torrents";;

        // --- PrOOoBox ---

        add_set_href( "prooo_win_cd", 
mirror+"prooo-box-cd/prooo-box-"+version+"-1_CD_Win_de.iso" );
        add_set_href( "prooo_win_cd_torrent", 
tracker+"/OOo_"+version+"-1_CD_Win_prooo-box_de.iso.torrent?info_hash=0c987ed1fed0c63e87e7554661b2fd85d970cbb0"
 );

        add_set_href( "prooo_rpm_cd", 
mirror+"prooo-box-cd/prooo-box-"+version+"-1_CD_Linux-rpm_de.iso" );
        add_set_href( "prooo_rpm_cd_torrent", 
tracker+"/OOo_"+version+"-1_CD_Linux-rpm_prooo-box_de.iso.torrent?info_hash=e70e90c2d16fa971e1046a99b19b0061302168f7"
 );

        add_set_href( "prooo_deb_cd", 
mirror+"prooo-box-cd/prooo-box-"+version+"-1_CD_Linux-deb_de.iso" );
        add_set_href( "prooo_deb_cd_torrent", 
tracker+"/OOo_"+version+"-1_CD_Linux-deb_prooo-box_de.iso.torrent?info_hash=fd9224cab4d00fcc8c4ffb23c39868025f6f352f"
 );

        add_set_href( "prooo_dvd", 
mirror+"prooo-box-dvd/prooo-box-"+version+"-1_DVD_de.iso" );
        add_set_href( "prooo_dvd_torrent", 
tracker+"/OOo_"+version+"-1_DVD_prooo-box_allplatforms_de.iso.torrent?info_hash=17464aff190288ea950000be346884a615d70783"
 );
        
        // --- OOoPortable ---

        add_set_href( "ooop_win_py", 
mirror+"oooportable/OpenOfficePortable_3.1.0_German.paf.exe" );
        add_set_href( "ooop_win_nopy", 
mirror+"oooportable-plus/new/OpenOffice_Portable_2.2.1_de-de.paf.exe" );

        // SimonAW [14.1.2010]: Gibt erstmal keine neue...
        //add_set_href( "ooop_plus", 
mirror+"oooportable-plus/new/OpenOfficePortablePlus_2.2.1.exe" );
}

// ---

os_name         = "";
filename        = "";

function os_detect() {
        uastring = new String( navigator.userAgent ).toLowerCase();

        if ( uastring.indexOf( "linux" ) >= 0 ) {
                if ( uastring.indexOf( "debian" ) >= 0 || uastring.indexOf( 
"untu" ) >= 0 ) {
                        os_name = "Linux (DEB)";
                        filename = 
"OOo_"+version+"_LinuxIntel_install_de_deb.tar.gz";
                        return;
                } else {
                        os_name = "Linux (RPM)";
                        filename = 
"OOo_"+version+"_LinuxIntel_install_de.tar.gz";
                        return;
                }
        } else
                if ( uastring.indexOf( "windows" ) >= 0 ) {
                        os_name = "Windows";
                        filename="OOo_"+version+"_Win32Intel_install_de.exe";
                return;
        } else
                if ( uastring.indexOf( "macintosh" ) >= 0 ) {
                        os_name = "MacOS X";
                        filename="OOo_"+version+"_MacOSXIntel_install_de.dmg";
                return;
        } else {
                os_name = "Linux (RPM)";
                filename = "OOo_"+version+"_LinuxIntel_install_de.tar.gz";
                return;
        }
}

function write_download_link() {
        os_detect();

        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>" );
}

function write_torrent_link() {
        document.writeln( "<a 
href=\"http://borft.student.utwente.nl/~adrian/torrentphp/torrent.php/"; +
                        filename +
                        ".torrent\">&Uuml;ber BitTorrent herunterladen</a> 
&middot; <a 
href=\"http://borft.student.utwente.nl/~adrian/bt.php\";>&Uuml;bersicht</a>" );
}




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

Antwort per Email an