im.pidgin.www: 33511d61fa9f1085d3b0413a24f1e94f71cb1335

markdoliner at pidgin.im markdoliner at pidgin.im
Sun Feb 3 05:05:47 EST 2008


-----------------------------------------------------------------
Revision: 33511d61fa9f1085d3b0413a24f1e94f71cb1335
Ancestor: 0bd661f722b6732fc2377f6300aa7c0699e0d8bc
Author: markdoliner at pidgin.im
Date: 2008-02-03T10:00:32
Branch: im.pidgin.www
URL: http://d.pidgin.im/viewmtn/revision/info/33511d61fa9f1085d3b0413a24f1e94f71cb1335

Modified files:
        htdocs/index.php

ChangeLog: 

It's hard to detect what Linux distribution someone is using... but
it's easy to detect if they're using Windows.  If they are they
send them straight to /download/windows/.  I'm ok with sending them
straight to the sf download page, if people want.

-------------- next part --------------
============================================================
--- htdocs/index.php	f9b3fd6db67bf7a229158addb0a67befcc0f6f78
+++ htdocs/index.php	d7cfc526b7771ff8693d825f3d91d383a61c825b
@@ -18,7 +18,13 @@
 
 <div id="download">
 <img src="/shared/img/logo.pidgin.png" alt="[Pidgin Logo]" id="logo" width="107" height="185" />
-<a href="/download/">
+<script language="JavaScript"><!--
+if (navigator.platform.indexOf("Win") != -1)
+	document.write("<a href=\"/download/windows/\">");
+else
+	document.write("<a href=\"/download/\">");
+// --></script>
+<noscript><a href="/download/"></noscript>
 <img src="/shared/img/button.download.png" alt="[Down Arrow]" id="downbutton" width="64" height="67" />
 Download Pidgin<br />
 <span class="number"><? echo $pidgin_version; ?></span></a>


More information about the Commits mailing list