www: a396cae8: Let's try using a more sourceforge-y but...
markdoliner at pidgin.im
markdoliner at pidgin.im
Fri Feb 24 03:40:47 EST 2012
----------------------------------------------------------------------
Revision: a396cae8c45fcf88939322cf8698dc974832b08c
Parent: f6ffcb55d988ef0748ca5aeac21753298a76bad9
Author: markdoliner at pidgin.im
Date: 02/24/12 03:37:54
Branch: im.pidgin.www
URL: http://d.pidgin.im/viewmtn/revision/info/a396cae8c45fcf88939322cf8698dc974832b08c
Changelog:
Let's try using a more sourceforge-y button for these links. If we like
this then we can change the link that comes from inc/blurb.download.inc.
I wanted to see how people felt about this before bothering to make that
change.
Changes against parent f6ffcb55d988ef0748ca5aeac21753298a76bad9
patched htdocs/download/mac/index.php
patched htdocs/download/source/index.php
patched htdocs/download/windows/index.php
-------------- next part --------------
============================================================
--- htdocs/download/source/index.php 875d91dca8c6f993781c1b1aec98f63f28f0ff5f
+++ htdocs/download/source/index.php 4ecdc10d6c8e38ed891af84a29fa60cec20e9d59
@@ -20,15 +20,22 @@
<div class="box_download">
-<p><a href="http://sourceforge.net/projects/pidgin/files/Pidgin/<?php echo $pidgin_version; ?>/pidgin-<?php echo $pidgin_version; ?>.tar.bz2/download"
+<p>
+<span class="download_header"><a class="sourceforge_accelerator_link" href="http://sourceforge.net/projects/pidgin/files/Pidgin/<?php echo $pidgin_version; ?>/pidgin-<?php echo $pidgin_version; ?>.tar.bz2/download"
onclick="javascript:pageTracker._trackPageview('/goals/downloads/source');"
->
-<img src="/shared/img/button.download.png" alt="[Down Arrow]" id="downbutton" />
-<span class="download_header">Download Pidgin</span><br />
-<span class="number"><?php echo $pidgin_version; ?> Source</span>
-</a></p>
+>Download Now</a></span>
+<script>
+(function() {
+ var script = document.createElement('script');
+ script.src = '//sourceforge.net/accelerator/js?partner_id=62&button_size=large';
+ script.defer = true;
+ var s = document.getElementsByTagName('script')[0];
+ s.parentNode.insertBefore(script, s);
+})();
+</script>
+</p>
-<p>This download is for the source code of Pidgin.</p>
+<p>This download is for the source code of Pidgin <?php echo $pidgin_version; ?>.</p>
<p>If you want to <b>use</b> Pidgin, you should first look for pre-built packages from us (see the links on the left) or your operating system distribution.</p>
<p>If you are looking to <b>modify</b> Pidgin, you may want to look at our <a href="http://developer.pidgin.im/wiki/UsingPidginMonotone">instructions for checking out the code from our repository</a>.</p>
============================================================
--- htdocs/download/windows/index.php 0fea1782d2089f26948ba6ae5851e0dc3a48dd45
+++ htdocs/download/windows/index.php fdfef1635924859c99bb81f4d839d26545eff30f
@@ -20,13 +20,20 @@
<div class="box_download">
-<p><a href="http://sourceforge.net/projects/pidgin/files/Pidgin/<?php echo $pidgin_win32_version; ?>/pidgin-<?php echo $pidgin_win32_version; ?>.exe/download"
+<p>
+<span class="download_header"><a class="sourceforge_accelerator_link" href="http://sourceforge.net/projects/pidgin/files/Pidgin/<?php echo $pidgin_win32_version; ?>/pidgin-<?php echo $pidgin_win32_version; ?>.exe/download"
onclick="javascript:pageTracker._trackPageview('/goals/downloads/win');"
->
-<img src="/shared/img/button.download.png" alt="[Down Arrow]" id="downbutton" />
-<span class="download_header">Download Pidgin</span><br />
-<span class="number"><?php echo $pidgin_win32_version; ?> for Windows</span>
-</a></p>
+>Download Now</a></span>
+<script>
+(function() {
+ var script = document.createElement('script');
+ script.src = '//sourceforge.net/accelerator/js?partner_id=62&button_size=large';
+ script.defer = true;
+ var s = document.getElementsByTagName('script')[0];
+ s.parentNode.insertBefore(script, s);
+})();
+</script>
+</p>
<p>This version of Pidgin downloads an appropriate version of GTK+. GTK+ is now installed locally for Pidgin, and not system-wide, thus Pidgin will not interfere with other GTK+ apps on your system.</p>
<p>If you would like to have GTK+ included in the installer, we have an <a href="http://sourceforge.net/projects/pidgin/files/Pidgin/<?php echo $pidgin_win32_version; ?>/pidgin-<?php echo $pidgin_win32_version; ?>-offline.exe/download">offline installer</a> that bundles everything except spell-checking dictionaries. </p>
============================================================
--- htdocs/download/mac/index.php bee7692a6f37c00c29a7eab6632215bd7e7cf942
+++ htdocs/download/mac/index.php d793141e618783a461d27b28558118fdde5a44d4
@@ -20,13 +20,20 @@
<div class="box_download">
-<p><a href="http://sourceforge.net/projects/pidgin/files/Pidgin/<?php echo $pidgin_version; ?>/pidgin-<?php echo $pidgin_version; ?>.tar.bz2/download"
+<p>
+<span class="download_header"><a class="sourceforge_accelerator_link" href="http://sourceforge.net/projects/pidgin/files/Pidgin/<?php echo $pidgin_version; ?>/pidgin-<?php echo $pidgin_version; ?>.tar.bz2/download"
onclick="javascript:pageTracker._trackPageview('/goals/downloads/source');"
->
-<img src="/shared/img/button.download.png" alt="[Down Arrow]" id="downbutton" />
-<span class="download_header">Download Pidgin</span><br />
-<span class="number"><?php echo $pidgin_version; ?> Source</span>
-</a></p>
+>Download Now</a></span>
+<script>
+(function() {
+ var script = document.createElement('script');
+ script.src = '//sourceforge.net/accelerator/js?partner_id=62&button_size=large';
+ script.defer = true;
+ var s = document.getElementsByTagName('script')[0];
+ s.parentNode.insertBefore(script, s);
+})();
+</script>
+</p>
<p>For a more native Mac OS X experience, you may be interested in using <a href="http://adium.im" onClick="javascript:pageTracker._trackPageview('/external/adium.im');">Adium</a> instead, which uses libpurple (the core of Pidgin) for much of its protocol support.</p>
<p>For Pidgin on OS X, you may find the packages provided through <a href="http://finkproject.org/download" onClick="javascript:pageTracker._trackPageview('/external/finkproject.org');">Fink</a> or <a href="http://www.macports.org/install.php" onClick="javascript:pageTracker._trackPageview('/external/macports.org');">Macports</a> more convenient than compiling from source.</p>
More information about the Commits
mailing list