cvs: phpweb / index.php /conferences index.php /include layout.inc

From: Date: Wed, 14 Feb 2007 14:52:00 +0000
Subject: cvs: phpweb / index.php /conferences index.php /include layout.inc
Groups: php.mirrors 
Request: Send a blank email to php-mirrors+get-34306@lists.php.net to get a copy of this message
bjori Wed Feb 14 14:52:00 2007 UTC Modified files: /phpweb/include layout.inc /phpweb index.php /phpweb/conferences index.php Log: Add RSS link at the bottom of /index.php and /conferences/index.php http://cvs.php.net/viewvc.cgi/phpweb/include/layout.inc?r1=1.259&r2=1.260&diff_format=u Index: phpweb/include/layout.inc diff -u phpweb/include/layout.inc:1.259 phpweb/include/layout.inc:1.260 --- phpweb/include/layout.inc:1.259 Sun Feb 11 14:38:45 2007 +++ phpweb/include/layout.inc Wed Feb 14 14:52:00 2007 @@ -1,5 +1,5 @@ <?php -/* $Id: layout.inc,v 1.259 2007/02/11 14:38:45 bjori Exp $ */ +/* $Id: layout.inc,v 1.260 2007/02/14 14:52:00 bjori Exp $ */ // Set the static content root differently on php.net $_SERVER['STATIC_ROOT'] = ($MYSITE == 'http://www.php.net/') ? @@ -225,6 +225,9 @@ global $LAST_UPDATED, $PAGE_COLUMNS; $stats = (have_stats() ? "\n <a href=\"/stats/\">stats</a> |" : ""); + $rsslink = (isset($config["rss"]) ? + "<a href=\"{$config["rss"]}\">RSS</a> |" : + ""); $viewsource = (isset($_SERVER['BASE_PAGE']) ? "<a href=\"/source.php?url=/{$_SERVER['BASE_PAGE']}\">show source</a> |" : ""); @@ -244,7 +247,7 @@ {$layout_helper}</div> <div id="footnav"> - $viewsource + $rsslink $viewsource <a href="/credits.php">credits</a> |$stats <a href="/sitemap.php">sitemap</a> | <a href="/contact.php">contact</a> | http://cvs.php.net/viewvc.cgi/phpweb/index.php?r1=1.860&r2=1.861&diff_format=u Index: phpweb/index.php diff -u phpweb/index.php:1.860 phpweb/index.php:1.861 --- phpweb/index.php:1.860 Mon Feb 12 14:52:02 2007 +++ phpweb/index.php Wed Feb 14 14:52:00 2007 @@ -262,4 +262,8 @@ <p class="center"><a href="/archive/index.php">News Archive</a></p> -<?php site_footer(); +<?php +site_footer( + array("rss" => "/news.rss") // Add a link to the feed at the bottom +); + http://cvs.php.net/viewvc.cgi/phpweb/conferences/index.php?r1=1.7&r2=1.8&diff_format=u Index: phpweb/conferences/index.php diff -u phpweb/conferences/index.php:1.7 phpweb/conferences/index.php:1.8 --- phpweb/conferences/index.php:1.7 Sun Feb 11 23:31:16 2007 +++ phpweb/conferences/index.php Wed Feb 14 14:52:00 2007 @@ -1,5 +1,5 @@ <?php -// $Id: index.php,v 1.7 2007/02/11 23:31:16 bjori Exp $ +// $Id: index.php,v 1.8 2007/02/14 14:52:00 bjori Exp $ $_SERVER['BASE_PAGE'] = 'conferences/index.php'; include_once $_SERVER['DOCUMENT_ROOT'] . '/include/prepend.inc'; include_once $_SERVER['DOCUMENT_ROOT'] . '/include/pregen-events.inc'; @@ -119,5 +119,7 @@ <?php // NO MORE NEWS TO PARSE -site_footer(); +site_footer( + array("rss" => "/conferences/news.rss") // Add a link to the feed +);

« previous php.mirrors (#34306) next »