im.pidgin.www: 33511d61fa9f1085d3b0413a24f1e94f71cb1335

markdoliner at markdoliner at
Sun Feb 3 05:05:47 EST 2008

Revision: 33511d61fa9f1085d3b0413a24f1e94f71cb1335
Ancestor: 0bd661f722b6732fc2377f6300aa7c0699e0d8bc
Author: markdoliner at
Date: 2008-02-03T10:00:32
Branch: im.pidgin.www

Modified files:


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/\">");
+	document.write("<a href=\"/download/\">");
+// --></script>
+<noscript><a href="/download/"></noscript>
 <img src="/shared/img/" 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