[web-php] master: Add 2023 archive (#745)
| From: | Sergey Panteleev via GitHub | Date: | Fri, 06 Jan 2023 10:22:04 +0000 |
| Subject: | [web-php] master: Add 2023 archive (#745) | ||
| Groups: | php.webmaster | ||
| Request: | Send a blank email to php-webmaster+get-30735@lists.php.net to get a copy of this message | ||
Author: Sergey Panteleev (saundefined)
Committer: GitHub (web-flow)
Pusher: saundefined
Date: 2023-01-06T13:09:49+03:00
Commit: https://github.com/php/web-php/commit/d4c58109c276844327b74fd3c63e8528de81d589
Raw diff: https://github.com/php/web-php/commit/d4c58109c276844327b74fd3c63e8528de81d589.diff
Add 2023 archive (#745)
Changed paths:
A archive/2023.php
Diff:
diff --git a/archive/2023.php b/archive/2023.php
new file mode 100644
index 000000000..706530a7c
--- /dev/null
+++ b/archive/2023.php
@@ -0,0 +1,21 @@
+<?php
+
+$_SERVER['BASE_PAGE'] = 'archive/2023.php';
+include_once __DIR__ . '/../include/prepend.inc';
+include_once __DIR__ . '/../include/pregen-news.inc';
+news_archive_sidebar();
+site_header("News Archive - 2023");
+?>
+
+<h1>News Archive - 2023</h1>
+
+<p>
+ Here are the most important news items we have published in 2023 on PHP.net.
+</p>
+
+<hr>
+
+<?php
+
+print_news($NEWS_ENTRIES, null, 500, 2023);
+site_footer(['elephpants' => true, 'sidebar' => $SIDEBAR_DATA]);