DevHeads.net

com web/php: Add 2019 news archive stub: archive/2019.php

Link: <a href="http://git.php.net/?p=web/php.git;a=commitdiff;h=657a9f0b4c619bd4e16f0aee3a4071de9608bd67" title="http://git.php.net/?p=web/php.git;a=commitdiff;h=657a9f0b4c619bd4e16f0aee3a4071de9608bd67">http://git.php.net/?p=web/php.git;a=commitdiff;h=657a9f0b4c619bd4e16f0ae...</a>

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));