www: e1139948: Get rid of the download_header span. Al...

markdoliner at pidgin.im markdoliner at pidgin.im
Sat Mar 10 19:10:56 EST 2012


----------------------------------------------------------------------
Revision: e113994825092b3e50b3387acd8c95c8e83f2d2b
Parent:   aeae47e2b34ecceaad4b3f0ddf10214c98eeb080
Author:   markdoliner at pidgin.im
Date:     03/10/12 19:06:37
Branch:   im.pidgin.www
URL: http://d.pidgin.im/viewmtn/revision/info/e113994825092b3e50b3387acd8c95c8e83f2d2b

Changelog: 

Get rid of the download_header span.  All it did was adjust the line
height of our download buttons, kind of arbitrarily.

And instead of adding a large height after the first paragraph on each
download page, set a large height only when the page contains a download
button.

Changes against parent aeae47e2b34ecceaad4b3f0ddf10214c98eeb080

  patched  htdocs/download/mac/index.php
  patched  htdocs/download/source/index.php
  patched  htdocs/download/windows/index.php
  patched  htdocs/shared/css/main.css

-------------- next part --------------
============================================================
--- htdocs/shared/css/main.css	58f5ab02995a8c4ba433e20b1bc7d72a19f6ded7
+++ htdocs/shared/css/main.css	8637c0fdbcdd5ba84891a1493888e3c1a15a5daf
@@ -201,7 +201,7 @@ DIV.linkbar {
   padding: 12px 18px 0 18px;
 }
 
-.box_download p:first-child {
+.box_download .download_button {
   padding: 18px 18px 0 18px;
   height: 50px;
 }
@@ -315,7 +315,7 @@ DIV.linkbar {
   background: url('/shared/img/balloon.middle.gif') no-repeat left 17px;
 }
 
-#download, .download_header {
+#download {
   font-size: 1.2em;
   font-weight: bold;
 }
============================================================
--- htdocs/download/source/index.php	4ecdc10d6c8e38ed891af84a29fa60cec20e9d59
+++ htdocs/download/source/index.php	f98cdedf5a83f5cb155a280e362cda0e533f7b06
@@ -20,10 +20,10 @@
 
 <div class="box_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"
+<p class="download_button">
+<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');"
->Download Now</a></span>
+>Download Now</a>
 <script>
 (function() {
 	var script = document.createElement('script');
============================================================
--- htdocs/download/windows/index.php	fdfef1635924859c99bb81f4d839d26545eff30f
+++ htdocs/download/windows/index.php	24e1c234e548a2fcadeec1914540f0cafd677799
@@ -20,10 +20,10 @@
 
 <div class="box_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"
+<p class="download_button">
+<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');"
->Download Now</a></span>
+>Download Now</a>
 <script>
 (function() {
 	var script = document.createElement('script');
============================================================
--- htdocs/download/mac/index.php	439c81698ba5a1d19ff057441e03a0ffa3a943f9
+++ htdocs/download/mac/index.php	f15fde8df86b9e9be721f0df16af70314a96d445
@@ -21,7 +21,7 @@
 <div class="box_download">
 
 <p>For a native Mac OS X experience we recommend <a href="http://adium.im" onClick="javascript:pageTracker._trackPageview('/external/adium.im');">Adium</a>, which uses libpurple (the core of Pidgin) for much of its protocol support.</p>
-<p>If you're sure you want to use 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.  <i>Please note, we do ot provide support for issues related to installing Fink, Macports, or their packages of Pidgin. Contact those projects directly with questions or concerns.</i></p>
+<p>If you're sure you want to use 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.  Please note, <i>we do not provide support for issues related to installing Fink, Macports, or their packages of Pidgin. Contact those projects directly with questions or concerns</i>.</p>
 <p>If you're sure you want to use Pidgin on OS X and you don't want to use Fink or Macports, you can <a href="/download/source/">download the Pidgin source</a> and compile.</p>
 
 </div>


More information about the Commits mailing list