www: 078616a5: Add a Linux download section that tells ...
markdoliner at pidgin.im
markdoliner at pidgin.im
Thu May 3 00:55:42 EDT 2012
----------------------------------------------------------------------
Revision: 078616a50e5fa03b9d95aea2135146700dfc1e45
Parent: f2cfaf9851aa7fa7ee3c1d95ac98e9ba2d002b34
Author: markdoliner at pidgin.im
Date: 05/01/12 03:33:04
Branch: im.pidgin.www
URL: http://d.pidgin.im/viewmtn/revision/info/078616a50e5fa03b9d95aea2135146700dfc1e45
Changelog:
Add a Linux download section that tells people to use their distribution's
packages. I feel like this might help some people?
Changes against parent f2cfaf9851aa7fa7ee3c1d95ac98e9ba2d002b34
added htdocs/download/linux
added htdocs/download/linux/index.php
patched inc/section.download.inc
-------------- next part --------------
============================================================
--- inc/section.download.inc b7111f953c74475e9419765fa7cf2bebb993bf85
+++ inc/section.download.inc a6653ad0bb4ac3ed7918abab5586b40b09c9aec3
@@ -2,9 +2,10 @@ $sub_sections['Windows'] = "/downl
// 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");
============================================================
--- /dev/null
+++ htdocs/download/linux/index.php bddda5c1910249e0bc3e53de0674c049756134eb
@@ -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"); ?>
More information about the Commits
mailing list