www: 0f941315: Move this line from blurb.download.inc t...

markdoliner at pidgin.im markdoliner at pidgin.im
Tue May 1 02:22:12 EDT 2012


----------------------------------------------------------------------
Revision: 0f94131595969cf0922311348fc86bb8687f5863
Parent:   c6313e4f6b4491c99edf64061a89d5786b92043d
Author:   markdoliner at pidgin.im
Date:     05/01/12 01:57:28
Branch:   im.pidgin.www
URL: http://d.pidgin.im/viewmtn/revision/info/0f94131595969cf0922311348fc86bb8687f5863

Changelog: 

Move this line from blurb.download.inc to index.php, since that's the
only place where section = "Home" when this file is included, so that's
the only place where this shows up.  There's no reason for it to be in
the .inc file

Changes against parent c6313e4f6b4491c99edf64061a89d5786b92043d

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

-------------- next part --------------
============================================================
--- htdocs/index.php	37df3936fe22c01a89929734133f80e5bfab4129
+++ htdocs/index.php	3bc4bba0ff73e4cec02b218fcc8f91a3318709fd
@@ -18,6 +18,7 @@
 </div>
 
 <div id="download">
+<img src="/shared/img/logo.pidgin.png" alt="[Pidgin Logo]" id="logo" width="107" height="185" />
 <?php
 include($_SERVER['DOCUMENT_ROOT'] . "/../inc/blurb.download.inc");
 ?>
============================================================
--- inc/blurb.download.inc	c69697bad98fbe08933b66a5e1b207e935553c2b
+++ inc/blurb.download.inc	1b134092f38c8a03d5fc79a13311f322c1b5bac8
@@ -2,9 +2,6 @@ include($_SERVER['DOCUMENT_ROOT'] . "/..
 include($_SERVER['DOCUMENT_ROOT'] . "/../inc/blurb.downloaddetect.inc");
 ?>
 
-<?php if ($page['section'] == "Home") { ?>
-<img src="/shared/img/logo.pidgin.png" alt="[Pidgin Logo]" id="logo" width="107" height="185" />
-<?php } ?>
 <a id="download_link" href="<?php echo $download_link; ?>">
 <img src="/shared/img/button.download.png" alt="[Down Arrow]" id="downbutton" width="48" height="48" />
 Download Pidgin<br />


More information about the Commits mailing list