Commit: 657a9f0b4c619bd4e16f0aee3a4071de9608bd67 Author: Sara Golemon <poll...@php.net> Thu, 10 Jan 2019 15:38:19 -0500 Parents: ca17ae50be45c8d0e3a22e93d07a8b54bd645051 Branches: master
Link: http://git.php.net/?p=web/php.git;a=commitdiff;h=657a9f0b4c619bd4e16f0aee3a4071de9608bd67 Log: Add 2019 news archive stub Changed paths: A archive/2019.php Diff: diff --git a/archive/2019.php b/archive/2019.php new file mode 100644 index 0000000..cd2700d --- /dev/null +++ b/archive/2019.php @@ -0,0 +1,24 @@ +<?php + +$_SERVER['BASE_PAGE'] = 'archive/2019.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 - 2019"); +//site_header("News Archive - 2019", array("cache" => true)); +?> + +<h1>News Archive - 2019</h1> + +<p> + Here are the most important news items we have published in 2019 on PHP.net. +</p> + +<hr> + +<?php + +print_news($NEWS_ENTRIES, null, 500, 2019); + +/* %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)); -- PHP Webmaster List Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php