www: e956dc68: disapproval of revision 'b1cadda28ca6387...
kstange at pidgin.im
kstange at pidgin.im
Sat Dec 27 01:46:08 EST 2008
-----------------------------------------------------------------
Revision: e956dc68eee363ad50a0afe3851f4029ce6ef328
Ancestor: b1cadda28ca638799ff58603b9783ab1a17f2827
Author: kstange at pidgin.im
Date: 2008-12-27T06:25:59
Branch: im.pidgin.www
URL: http://d.pidgin.im/viewmtn/revision/info/e956dc68eee363ad50a0afe3851f4029ce6ef328
Added files:
htdocs/news/blogs/index.php
Added directories:
htdocs/news/blogs
Modified files:
inc/section.inc inc/section.news.inc
ChangeLog:
disapproval of revision 'b1cadda28ca638799ff58603b9783ab1a17f2827'
-------------- next part --------------
============================================================
--- htdocs/news/blogs/index.php 77e7e4c4dce3482486994a86d5abbe8df3675a31
+++ htdocs/news/blogs/index.php 77e7e4c4dce3482486994a86d5abbe8df3675a31
@@ -0,0 +1,36 @@
+<?
+ // Update these to match the current page.
+ $page['title'] = "Blogs | News";
+ $page['section'] = "News";
+ $page['subsect'] = "Blogs";
+
+ include($_SERVER['DOCUMENT_ROOT'] . "/../inc/header.inc");
+?>
+
+<div id="content">
+
+<? include($_SERVER['DOCUMENT_ROOT'] . "/../inc/section.news.inc"); ?>
+
+<div class="box_right">
+<div id="main">
+
+<h1>Blogs</h1>
+
+<p>While most of our developers' blogs are syndicated on our news page, they
+also can be viewed directly at their respective sources.</p>
+
+<ul>
+ <li><a href="/~seanegan/blog/">Sean Egan</a></li>
+ <li><a href="/~elb/blog/">Ethan Blanton</a></li>
+ <li><a href="http://coderich.net/">Richard Laager</a></li>
+ <li><a href="http://www.schierer.org/~luke/log">Luke Schierer</a></li>
+ <li><a href="/~kstange/blog/">Kevin Stange</a> (Webmaster)</li>
+ <li><a href="http://faceprint.com/">Nathan Walp</a></li>
+</ul>
+
+</div>
+</div>
+
+</div>
+
+<?php include($_SERVER['DOCUMENT_ROOT'] . "/../inc/footer.inc"); ?>
============================================================
--- inc/section.inc cffa6f62a6d4adbec3b4d638e8a38097fce34058
+++ inc/section.inc 0abba62e841f02416306bbccade01e63b21d9d65
@@ -21,25 +21,10 @@ if (!array_key_exists('subsect', $page))
if ($page['abslink'] && !preg_match("%^[a-z]+:%", $link)) {
$link = $page['siteroot'] . $link;
}
-
- $external = 0;
- // An imperfect way of detecting external URLs. This works for our current urls.
- if (preg_match("/com/", $link)) {
- $external = 1;
- }
-
if ($page['subsect'] == $name) {
- echo ' <li class="active"><a ';
- if ($external > 0) {
- echo 'rel=nofollow ';
- }
- echo 'href="' . $link . '">' . $escaped . "</a></li>\n";
+ echo ' <li class="active"><a href="' . $link . '">' . $escaped . "</a></li>\n";
} else {
- echo ' <li><a ';
- if ($external > 0) {
- echo 'rel=nofollow ';
- }
- echo 'href="' . $link . '">' . $escaped . "</a></li>\n";
+ echo ' <li><a href="' . $link . '">' . $escaped . "</a></li>\n";
}
}
?>
============================================================
--- inc/section.news.inc 05b73594e5af4025a7558b1b32f71010c5aa66f3
+++ inc/section.news.inc f045a3d23845eb363de715ca82ee6e10bf3f03c6
@@ -3,7 +3,7 @@ $sub_sections['Security Advisories'] = "
// Define Sub Sections
$sub_sections['Latest News'] = "http://planet.pidgin.im/";
$sub_sections['Security Advisories'] = "/news/security/";
-$sub_sections['Developer Blogs (external)'] = "http://www.planet-im.com/";
+$sub_sections['Blogs'] = "/news/blogs/";
include("section.inc");
More information about the Commits
mailing list