www: a4a7d046: Fix Windows download version & link on a..

nosnilmot at pidgin.im nosnilmot at pidgin.im
Tue Aug 18 16:30:50 EDT 2009


-----------------------------------------------------------------
Revision: a4a7d0462f0e6a1a130c576d3e2c39bfa4fd7afa
Ancestor: 5f4bf77558552c81f986bef10202db57299723c4
Author: nosnilmot at pidgin.im
Date: 2009-08-18T20:25:48
Branch: im.pidgin.www
URL: http://d.pidgin.im/viewmtn/revision/info/a4a7d0462f0e6a1a130c576d3e2c39bfa4fd7afa

Modified files:
        inc/blurb.download.inc inc/blurb.downloaddetect.inc

ChangeLog: 

Fix Windows download version & link on auto-detect page too

-------------- next part --------------
============================================================
--- inc/blurb.download.inc	0fe45945c45a0331c862b89f054d9b1eda129743
+++ inc/blurb.download.inc	3fab75985d1870dde7a53bc251f574a822a09014
@@ -13,7 +13,7 @@ Download Pidgin<br />
 >
 <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> 
+<span class="number"><? echo $download_version; ?></span> 
 <span class="number" id="os_name"> <? echo $download_os; ?></span></a>
 <?php include($_SERVER['DOCUMENT_ROOT'] . "/../inc/langdetect.inc"); 
 if (strlen($language) > 0 && $language != "English") {
============================================================
--- inc/blurb.downloaddetect.inc	579b5420a82195715bd6616bf3078a645280d2f1
+++ inc/blurb.downloaddetect.inc	a0f8898622a69af17d0af653935a96d746cd631d
@@ -7,11 +7,13 @@
   $download_link = "/download/";
   $download_os = "";
   $download_goal = "";
+  $download_version = $pidgin_version;
 
   if (strstr($useragent, 'Win')) {
     $download_os = "for Windows";
-    $download_link = "http://sourceforge.net/projects/pidgin/files/Pidgin/pidgin-$pidgin_version.exe";
+    $download_link = "http://sourceforge.net/projects/pidgin/files/Pidgin/pidgin-$pidgin_win32_version.exe";
     $download_goal = "/goals/downloads/win";
+    $download_version = $pidgin_win32_version;
   } else if (strstr($useragent, "Ubuntu")) {
     // Once the PPA is ready to go public, we'll have a separate Ubuntu page.
     $download_os = "for Ubuntu";


More information about the Commits mailing list