www: 82748d88: Apparently SourceForge now require the v...

nosnilmot at pidgin.im nosnilmot at pidgin.im
Sun Sep 12 20:32:49 EDT 2010


----------------------------------------------------------------------
Revision: 82748d88ee858b2e943f67f74ac9d6acf047b850
Parent:   6b2a71c7dd5faf8e30535fe9f62e5227b7d194f1
Author:   nosnilmot at pidgin.im
Date:     09/12/10 20:26:49
Branch:   im.pidgin.www
URL: http://d.pidgin.im/viewmtn/revision/info/82748d88ee858b2e943f67f74ac9d6acf047b850

Changelog: 

Apparently SourceForge now require the version is specified in the
download links

Changes against parent 6b2a71c7dd5faf8e30535fe9f62e5227b7d194f1

  patched  htdocs/download/windows/index.php
  patched  inc/blurb.downloaddetect.inc

-------------- next part --------------
============================================================
--- htdocs/download/windows/index.php	9bb781f7e9f409f67c64c39b16f2bd7eef9529db
+++ htdocs/download/windows/index.php	dcfbe7e07c8fd19ffa39400c741cb39b12c63ed7
@@ -20,7 +20,7 @@
 
 <div class="box_download">
 
-<p><a href="http://sourceforge.net/projects/pidgin/files/Pidgin/pidgin-<? echo $pidgin_win32_version; ?>.exe"
+<p><a href="http://sourceforge.net/projects/pidgin/files/Pidgin/<? echo $pidgin_win32_version; ?>/pidgin-<? echo $pidgin_win32_version; ?>.exe"
 onclick="javascript:pageTracker._trackPageview('/goals/downloads/win');"
 >
 <img src="/shared/img/button.download.png" alt="[Down Arrow]" id="downbutton" />
============================================================
--- inc/blurb.downloaddetect.inc	2bb7d5010e0ea8761014ea8d42952075b2cbd0dc
+++ inc/blurb.downloaddetect.inc	dba21e8169cfd9446c0351191c40711ef9d527e2
@@ -11,7 +11,7 @@
 
   if (strstr($useragent, 'Win')) {
     $download_os = "for Windows";
-    $download_link = "http://sourceforge.net/projects/pidgin/files/Pidgin/pidgin-$pidgin_win32_version.exe";
+    $download_link = "http://sourceforge.net/projects/pidgin/files/Pidgin/$pidgin_win32_version/pidgin-$pidgin_win32_version.exe";
     $download_goal = "/goals/downloads/win";
     $download_version = $pidgin_win32_version;
   } else if (strstr($useragent, "Ubuntu")) {


More information about the Commits mailing list