[web-php] master: Add 2024 archive (#913)
| From: | Taichi Inaba via GitHub | Date: | Sat, 06 Jan 2024 13:16:38 +0000 |
| Subject: | [web-php] master: Add 2024 archive (#913) | ||
| Groups: | php.webmaster | ||
| Request: | Send a blank email to php-webmaster+get-31335@lists.php.net to get a copy of this message | ||
Author: Taichi Inaba (chatii)
Committer: GitHub (web-flow)
Pusher: saundefined
Date: 2024-01-06T16:02:55+03:00
Commit: https://github.com/php/web-php/commit/c98f8beb4f5b3d8b5800e69bfa0d1aac233478c6
Raw diff: https://github.com/php/web-php/commit/c98f8beb4f5b3d8b5800e69bfa0d1aac233478c6.diff
Add 2024 archive (#913)
Changed paths:
A archive/2024.php
Diff:
diff --git a/archive/2024.php b/archive/2024.php
new file mode 100644
index 0000000000..43a145ae57
--- /dev/null
+++ b/archive/2024.php
@@ -0,0 +1,21 @@
+<?php
+
+$_SERVER['BASE_PAGE'] = 'archive/2024.php';
+include_once __DIR__ . '/../include/prepend.inc';
+include_once __DIR__ . '/../include/pregen-news.inc';
+news_archive_sidebar();
+site_header("News Archive - 2024");
+?>
+
+<h1>News Archive - 2024</h1>
+
+<p>
+ Here are the most important news items we have published in 2024 on PHP.net.
+</p>
+
+<hr>
+
+<?php
+
+print_news($NEWS_ENTRIES, null, 500, 2024);
+site_footer(['elephpants' => true, 'sidebar' => $SIDEBAR_DATA]);