User: bluedwarf Date: 2006/10/23 03:37:54 Modified: ja/www/download/2.0.4/index.html
Log: Add new script to select mirror site. File Changes: Directory: /ja/www/download/2.0.4/ ================================== File [changed]: index.html Url: http://ja.openoffice.org/source/browse/ja/www/download/2.0.4/index.html?r1=1.5&r2=1.6 Delta lines: +49 -9 -------------------- --- index.html 23 Oct 2006 10:01:06 -0000 1.5 +++ index.html 23 Oct 2006 10:37:52 -0000 1.6 @@ -78,11 +78,36 @@ </tr> <tr> <td style="padding: 5px 5px 5px 40px;"> -<a class="platform" href="http://download.openoffice.org/2.0.4/contribute.html?product=OpenOffice.org&os=win&lang=ja&version=2.0.4">Windows</a><br> +<script language="JavaScript"> + var path = "localized/ja/2.0.3/OOo_2.0.3_Win32Intel_install_ja.exe" + var mirrorlist = new Array( + "ftp://ftp.yz.yamagata-u.ac.jp/pub/openoffice/", + "http://ftp.yz.yamagata-u.ac.jp/pub/openoffice/", + "ftp://ftp.kddlabs.co.jp/office/openoffice/", + "ftp://ftp.ring.gr.jp/pub/misc/openoffice/", + "http://www.ring.gr.jp/archives/misc/openoffice/", + "ftp://ftp.riken.jp/OpenOffice/"); + var selectnum = Math.floor((Math.random()*100)) % mirrorlist.length; + var output = "<a class=\"platform\" \"href=\"" + mirrorlist[selectnum] + path + "\">"; + document.write(output) +</script> +<noscript> +<a class="platform" href="http://www.ring.gr.jp/archives/misc/openoffice/localized/ja/2.0.3/OOo_2.0.3_Win32Intel_install_ja.exe"> +</noscript> +Windows +</a><br> <span class="filesize">Windows 2000, NT & XP (93MB)</span> </td> <td style="padding: 5px 80px 5px 5px;"> -<a class="platform" href="http://download.openoffice.org/2.0.4/contribute.html?product=OpenOffice.org&os=linuxintel&lang=ja&version=2.0.4">Linux</a><br> +<script language="JavaScript"> + var path = "localized/ja/2.0.3/OOo_2.0.3_LinuxIntel_install_ja.tar.gz" + var output = "<a class=\"platform\" \"href=\"" + mirrorlist[selectnum] + path + "\">"; + document.write(output) +</script> +<noscript> +<a class="platform" href="http://www.ring.gr.jp/archives/misc/openoffice/localized/ja/2.0.3/OOo_2.0.3_LinuxIntel_install_ja.tar.gz"> +</noscript> +Linux</a><br> <span class="filesize">Linux > 2.2.13 (120MB)</span> </td> </tr> @@ -93,13 +118,28 @@ </td> </tr> <tr> -<td style="padding: 5px 5px 20px 40px;"> -<a class="platform" href="http://porting.openoffice.org/mac/download/index.html">Mac OS X</a><br> -<span class="filesize">Mac OS X > 10.3 & X11 (135MB)</span> -</td> -<td style="padding: 5px 80px 20px 5px;"> -<span class="platform" style="color: black;">FreeBSD</span><br> -<span class="filesize">FreeBSD > 5.3</span> +<td colspan="2" style="padding: 5px 5px 20px 40px;"> +<span class="platform">Mac OS X</span><br> +<span class="filesize">Platform: +<script language="JavaScript"> + var path = "localized/ja/2.0.3/OOo_2.0.3_MacOSXIntel_install_ja.dmg" + var output = "<a \"href=\"" + mirrorlist[selectnum] + path + "\">"; + document.write(output) +</script> +<noscript> +<a class="platform" href="http://www.ring.gr.jp/archives/misc/openoffice/localized/ja/2.0.3/OOo_2.0.3_MacOSXIntel_install_ja.dmg"> +</noscript> +Intel</a> (141MB) | +<script language="JavaScript"> + var path = "localized/ja/2.0.3/OOo_2.0.3_MacOSXPPC_install_ja.dmg" + var output = "<a \"href=\"" + mirrorlist[selectnum] + path + "\">"; + document.write(output) +</script> +<noscript> +<a class="platform" href="http://www.ring.gr.jp/archives/misc/openoffice/localized/ja/2.0.3/OOo_2.0.3_MacOSXPPC_install_ja.dmg"> +</noscript> +PPC</a> (143MB) +</span> </td> </tr> <tr> @@ -165,7 +205,7 @@ <div id="writers-and-designers">å¶ä½è : 䏿¬å´å¿<br> ãã¶ã¤ã³:䏿¬å´å¿ </div> -<p>æ´æ°æ¥:$Date: 2006/10/23 10:01:06 $ $Revision: 1.5 $</p> +<p>æ´æ°æ¥:$Date: 2006/10/23 10:37:52 $ $Revision: 1.6 $</p> </div> </body> </html> --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
