www: 25445fc8: Change the way the download link is defa...
datallah at pidgin.im
datallah at pidgin.im
Sun Jun 22 11:21:48 EDT 2008
-----------------------------------------------------------------
Revision: 25445fc8e86ab9ee009e74688d4413e0b0371080
Ancestor: 56608d5927075fb3e9050a644ec22d3f2dbc4e0e
Author: datallah at pidgin.im
Date: 2008-06-22T15:02:25
Branch: im.pidgin.www
URL: http://d.pidgin.im/viewmtn/revision/info/25445fc8e86ab9ee009e74688d4413e0b0371080
Modified files:
htdocs/index.php
ChangeLog:
Change the way the download link is defaulted on windows to generate valid HTML.
-------------------------------------------------------------------------------
-------------- next part --------------
============================================================
--- htdocs/index.php 873cbd1edf3e6f08503745db771e0a7d695c2151
+++ htdocs/index.php c566188fa179fdf9fe9e3a1cee245b8e98dbcf41
@@ -18,18 +18,18 @@
<div id="download">
<img src="/shared/img/logo.pidgin.png" alt="[Pidgin Logo]" id="logo" width="107" height="185" />
-<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>
+<a id="download_link" href="/download/">
<img src="/shared/img/button.download.png" alt="[Down Arrow]" id="downbutton" width="48" height="48" />
Download Pidgin<br />
<span class="number"><? echo $pidgin_version; ?></span></a>
</div>
+<script type="text/javascript"><!--
+if (navigator.platform.indexOf("Win") != -1)
+ document.getElementById("download_link").href = "/download/windows/";
+// --></script>
+
+
<p class="linkbar">
<a href="http://developer.pidgin.im/wiki/ChangeLog">ChangeLog</a> |
<a href="http://developer.pidgin.im/wiki/FAQ" title="Frequently Asked Questions">FAQ</a>
More information about the Commits
mailing list