www: 94fe822d: Add the Ubuntu download option, changing...

rlaager at pidgin.im rlaager at pidgin.im
Sun Apr 5 22:05:40 EDT 2009


-----------------------------------------------------------------
Revision: 94fe822d76bf7e09f5851ca8a96b33df84eabf56
Ancestor: 98f1a6c0b3be6f694dd734e1990a4ad5add2752d
Author: rlaager at pidgin.im
Date: 2009-04-06T02:00:24
Branch: im.pidgin.www
URL: http://d.pidgin.im/viewmtn/revision/info/94fe822d76bf7e09f5851ca8a96b33df84eabf56

Added files:
        htdocs/download/ubuntu/index.php
Added directories:
        htdocs/download/ubuntu
Modified files:
        htdocs/download/centos_rhel/index.php
        htdocs/download/fedora_core/index.php
        htdocs/download/mac/index.php
        htdocs/download/source/index.php
        htdocs/download/windows/index.php htdocs/shared/css/main.css
        inc/blurb.downloaddetect.inc inc/section.download.inc

ChangeLog: 

Add the Ubuntu download option, changing some CSS as necessary.

-------------- next part --------------
============================================================
--- htdocs/download/ubuntu/index.php	5468df4ebd7c3f971f89ce7be8c4782c1c39c3d0
+++ htdocs/download/ubuntu/index.php	5468df4ebd7c3f971f89ce7be8c4782c1c39c3d0
@@ -0,0 +1,44 @@
+<?
+  // Update these to match the current page.
+  $page['title'] =   "Download Pidgin for Ubuntu";
+  $page['section'] = "Download";
+  $page['subsect'] = "Ubuntu";
+  $page['description'] = "Download the free Pidgin universal chat client for Ubuntu";
+
+  include($_SERVER['DOCUMENT_ROOT'] . "/../inc/header.inc");
+  include($_SERVER['DOCUMENT_ROOT'] . "/../inc/version.inc");
+?>
+
+<div id="content">
+
+<? include($_SERVER['DOCUMENT_ROOT'] . "/../inc/section.download.inc"); ?>
+
+<div class="box_right">
+<div id="main">
+
+<h1><? echo $page['subsect']; ?></h1>
+
+<div class="box_download">
+
+<p>Ubuntu ships Pidgin but does not update it after a release (except for security issues). For those users who desire new releases of Pidgin, we have packaged Pidgin in a PPA. If you encounter problems with these packages, try <a href="../source">building from source</a> and <a href="/support">report the bug</a>.</p>
+<p>To setup the PPA, copy-and-paste these commands into a <a href="https://help.ubuntu.com/community/UsingTheTerminal#Starting%20a%20Terminal">terminal</a>:<br />
+<span style="font-family: monospace">
+&nbsp;&nbsp;sudo apt-key adv --recv-keys --keyserver keyserver.ubuntu.com \<br />
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;67265eb522bdd6b1c69e66ed7fb8bee0a1f196a8<br />
+&nbsp;&nbsp;. /etc/lsb-release<br />
+&nbsp;&nbsp;echo deb http://ppa.launchpad.net/pidgin-developers/ppa/ubuntu \<br />
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;$DISTRIB_CODENAME main | \<br />
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;sudo tee /etc/apt/sources.list.d/pidgin-ppa.list</span>
+<br />
+</p>
+
+<p>Once this PPA is setup, Pidgin updates will show up in Update Manager along with the usual Ubuntu updates. The PPA will need to be re-setup only after upgrading Ubuntu.</p>
+
+</div>
+
+</div>
+</div>
+
+</div>
+
+<?php include($_SERVER['DOCUMENT_ROOT'] . "/../inc/footer.inc"); ?>
============================================================
--- htdocs/download/centos_rhel/index.php	f58c17f00af2065a1f0719306fe4d35830ca93eb
+++ htdocs/download/centos_rhel/index.php	d5ba2af41141f0ad09df896aad83ca225d5863be
@@ -1,8 +1,9 @@
 <?
   // Update these to match the current page.
-  $page['title'] =   "CentOS / RHEL | Download";
+  $page['title'] =   "Download Pidgin for CentOS / RHEL";
   $page['section'] = "Download";
   $page['subsect'] = "CentOS / RHEL";
+  $page['description'] = "Download the free Pidgin universal chat client for CentOS / RHEL";
 
   include($_SERVER['DOCUMENT_ROOT'] . "/../inc/header.inc");
   include($_SERVER['DOCUMENT_ROOT'] . "/../inc/version.inc");
@@ -23,7 +24,7 @@ onclick="javascript:pageTracker._trackPa
 onclick="javascript:pageTracker._trackPageview('/goals/downloads/centos_rhel');"
 >
 <img src="/shared/img/button.download.png" alt="[Down Arrow]" id="downbutton" />
-Download Pidgin<br />
+<span class="download_header">Download Pidgin</span><br />
 <span class="number"><? echo $pidgin_version; ?> for CentOS / RHEL</span>
 </a></p>
 
============================================================
--- htdocs/download/fedora_core/index.php	d289c30f6b496aa22a9fc084cecc755764f66157
+++ htdocs/download/fedora_core/index.php	af31e7f6a8c5928652933c9270d2fead7ae6edd5
@@ -1,8 +1,9 @@
 <?
   // Update these to match the current page.
-  $page['title'] =   "Fedora Core | Download";
+  $page['title'] =   "Download Pidgin for Fedora Core";
   $page['section'] = "Download";
   $page['subsect'] = "Fedora Core";
+  $page['description'] = "Download the free Pidgin universal chat client for Fedora Core";
 
   include($_SERVER['DOCUMENT_ROOT'] . "/../inc/header.inc");
   include($_SERVER['DOCUMENT_ROOT'] . "/../inc/version.inc");
@@ -23,7 +24,7 @@ onclick="javascript:pageTracker._trackPa
 onclick="javascript:pageTracker._trackPageview('/goals/downloads/fedora_core');"
 >
 <img src="/shared/img/button.download.png" alt="[Down Arrow]" id="downbutton" />
-Download Pidgin<br />
+<span class="download_header">Download Pidgin</span><br />
 <span class="number"><? echo $pidgin_version; ?> for Fedora Core</span>
 </a></p>
 
============================================================
--- htdocs/download/mac/index.php	7567b0a968ea7c36622e41031d172eeed34d0789
+++ htdocs/download/mac/index.php	ae43d252f97fce2e4589bf30d9e9175382ea975d
@@ -1,8 +1,9 @@
 <?
   // Update these to match the current page.
-  $page['title'] =   "Mac OS X | Download";
+  $page['title'] =   "Download Pidgin for Mac OS X";
   $page['section'] = "Download";
   $page['subsect'] = "Mac OS X";
+  $page['description'] = "Download the free Pidgin universal chat client for Mac OS X";
 
   include($_SERVER['DOCUMENT_ROOT'] . "/../inc/header.inc");
   include($_SERVER['DOCUMENT_ROOT'] . "/../inc/version.inc");
@@ -21,7 +22,7 @@
 
 <p><a href="http://pdb.finkproject.org/pdb/package.php/pidgin" onclick="javascript:pageTracker._trackPageview('/external/pdb.finkproject.org');">
 <img src="/shared/img/button.download.png" alt="[Down Arrow]" id="downbutton" />
-Find Pidgin<br />
+<span class="download_header">Find Pidgin</span><br />
 <span class="number">for Mac OS X via Fink</span>
 </a></p>
 
============================================================
--- htdocs/download/source/index.php	0a3a8068c0758bba4cd303122425c3b078aee8d8
+++ htdocs/download/source/index.php	c58976bda19262568f76f06bfe529b7e13728d56
@@ -1,8 +1,9 @@
 <?
   // Update these to match the current page.
-  $page['title'] =   "Source | Download";
+  $page['title'] =   "Download Pidgin Source";
   $page['section'] = "Download";
   $page['subsect'] = "Source";
+  $page['description'] = "Download the source code for the free Pidgin universal chat client";
 
   include($_SERVER['DOCUMENT_ROOT'] . "/../inc/header.inc");
   include($_SERVER['DOCUMENT_ROOT'] . "/../inc/version.inc");
@@ -23,7 +24,7 @@ onclick="javascript:pageTracker._trackPa
 onclick="javascript:pageTracker._trackPageview('/goals/downloads/source');"
 >
 <img src="/shared/img/button.download.png" alt="[Down Arrow]" id="downbutton" />
-Download Pidgin<br />
+<span class="download_header">Download Pidgin</span><br />
 <span class="number"><? echo $pidgin_version; ?> Source</span>
 </a></p>
 
============================================================
--- htdocs/download/windows/index.php	19301fa1b40cb81abe2d873d13a803a92f9e7a9b
+++ htdocs/download/windows/index.php	7410e3f22b42e76766a9dfe642fab39c0d55d4e8
@@ -24,7 +24,7 @@ onclick="javascript:pageTracker._trackPa
 onclick="javascript:pageTracker._trackPageview('/goals/downloads/win');"
 >
 <img src="/shared/img/button.download.png" alt="[Down Arrow]" id="downbutton" />
-Download Pidgin<br />
+<span class="download_header">Download Pidgin</span><br />
 <span class="number"><? echo $pidgin_version; ?> for Windows</span>
 </a></p>
 
============================================================
--- htdocs/shared/css/main.css	c106a36def1f3cd5b4341b8c0803ddb7d8fdee23
+++ htdocs/shared/css/main.css	320e3f0aad64fd011a18bd4b697e748dfbdfeaba
@@ -338,7 +338,7 @@ DIV.linkbar {
   background: url('/shared/img/balloon.middle.gif') no-repeat left 17px;
 }
 
-#download, .box_download p:first-child {
+#download, .download_header {
   font-size: 1.2em;
   font-weight: bold;
 }
============================================================
--- inc/blurb.downloaddetect.inc	b7d33307f05b04069e3a033bcdfe008a08147f12
+++ inc/blurb.downloaddetect.inc	92da5fa84a2322faa253f0d33dcdce27c956b8c6
@@ -15,7 +15,7 @@
   } else if (strstr($useragent, "Ubuntu")) {
     // Once the PPA is ready to go public, we'll have a separate Ubuntu page.
     $download_os = "for Ubuntu";
-    $download_link = "/download/source/";
+    $download_link = "/download/ubuntu/";
   } else if (strstr($useragent, 'CentOS') ||
              strstr($useragent, 'RHEL')) {
     $download_os = "for CentOS / RHEL";
============================================================
--- inc/section.download.inc	7a3679f6a78392363393ae50450cf3fe8bdfc32e
+++ inc/section.download.inc	7fcd536cbaf096465300caa0798cfda0a463f83c
@@ -3,9 +3,10 @@ $sub_sections['Source']        = "/downl
 // Define Sub Sections
 $sub_sections['Windows']       = "/download/windows/";
 $sub_sections['Source']        = "/download/source/";
+$sub_sections['CentOS / RHEL'] = "/download/centos_rhel/";
 $sub_sections['Fedora Core']   = "/download/fedora_core/";
-$sub_sections['CentOS / RHEL'] = "/download/centos_rhel/";
 $sub_sections['Mac OS X']      = "/download/mac/";
+$sub_sections['Ubuntu']        = "/download/ubuntu/";
 
 include("section.inc");
 


More information about the Commits mailing list