pidgin/old.pidgin.im

Parents f90720a1f400
Children 64dd2e7033f4
Add a Linux download section that tells people to use their distribution's
packages. I feel like this might help some people?
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/htdocs/download/linux/index.php Tue May 01 07:33:04 2012 +0000
@@ -0,0 +1,34 @@
+<?php
+ // Update these to match the current page.
+ $page['title'] = "Download Pidgin for Linux";
+ $page['section'] = "Download";
+ $page['subsect'] = "Linux";
+ $page['description'] = "Download the free Pidgin universal chat client for Linux";
+
+ include($_SERVER['DOCUMENT_ROOT'] . "/../inc/header.inc");
+ include($_SERVER['DOCUMENT_ROOT'] . "/../inc/version.inc");
+?>
+
+<div id="content">
+
+<?php include($_SERVER['DOCUMENT_ROOT'] . "/../inc/section.download.inc"); ?>
+
+<div class="box_right">
+<div id="main">
+
+<h1><?php echo $page['subsect']; ?></h1>
+
+<div class="box_download">
+
+<p>We do not provide pre-built packages for most Linux and Unix distributions. We recommend installing Pidgin using your operating system's standard package management tool.</p>
+
+<p>If your operating system doesn't provide a pre-built package, or if their pre-built package is out of date and you want to upgrade, then you can try <a href="/download/source/">building from source</a>.</p>
+
+</div>
+
+</div>
+</div>
+
+</div>
+
+<?php include($_SERVER['DOCUMENT_ROOT'] . "/../inc/footer.inc"); ?>
--- a/inc/section.download.inc Tue May 01 07:29:00 2012 +0000
+++ b/inc/section.download.inc Tue May 01 07:33:04 2012 +0000
@@ -2,9 +2,10 @@
// Define Sub Sections
$sub_sections['Windows'] = "/download/windows/";
-$sub_sections['Source'] = "/download/source/";
+$sub_sections['Ubuntu'] = "/download/ubuntu/";
+$sub_sections['Other Linux'] = "/download/linux/";
$sub_sections['Mac OS X'] = "/download/mac/";
-$sub_sections['Ubuntu'] = "/download/ubuntu/";
+$sub_sections['Source'] = "/download/source/";
include("section.inc");