Hello everyone, after pushing a conference I figured out that the archive/2015.php is missing. Since I never added that kind of pages, can someone review the attached patch?
Thank you, Stelian
From 37e0ffae3c3d676d80e72cd0b30429a1bc06d4c1 Mon Sep 17 00:00:00 2001 From: Stelian Mocanita <[email protected]> Date: Tue, 6 Jan 2015 20:27:01 +0100 Subject: [PATCH] Added archive entry for 2015 --- archive/2015.php | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 archive/2015.php diff --git a/archive/2015.php b/archive/2015.php new file mode 100644 index 0000000..6f9dbf8 --- /dev/null +++ b/archive/2015.php @@ -0,0 +1,25 @@ +<?php + +$_SERVER['BASE_PAGE'] = 'archive/2015.php'; +include_once $_SERVER['DOCUMENT_ROOT'] . '/include/prepend.inc'; +include_once $_SERVER['DOCUMENT_ROOT'] . '/include/pregen-news.inc'; +news_archive_sidebar(); +site_header("News Archive - 2015"); +//site_header("News Archive - 2015", array("cache" => true)); +?> + +<h1>News Archive - 2015</h1> + +<p> + Here are the most important news items we have published in 2015 on PHP.net. +</p> + +<hr> + +<?php + +print_news($NEWS_ENTRIES, array("conferences", "cfp", "frontpage", "nofrontpage"), 500, 2015); + +/* %s/<a href="\(.*\)"><img src="\/images\/news\/\(.*\)" alt="\(.*\)" width.*><\/a>/<?php news_image("\1", "\2", "\3"); ?>/g */ +site_footer(array('elephpants' => true, 'sidebar' => $SIDEBAR_DATA)); + -- 1.9.1
-- PHP Webmaster List Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
