Commit:    496b7de5af4110a48a680d26d916708e7e66b821
Author:    Gabriel Caruso <[email protected]>         Thu, 7 Jan 2021 
14:34:36 -0300
Parents:   511182cf7bc2cdb5ea89ad866e15a46c0bc231c1
Branches:  master

Link:       
http://git.php.net/?p=web/php.git;a=commitdiff;h=496b7de5af4110a48a680d26d916708e7e66b821

Log:
New year, new page. Welcome 2021

Changed paths:
  A  archive/2021.php


Diff:
diff --git a/archive/2021.php b/archive/2021.php
new file mode 100644
index 000000000..ed11b3c62
--- /dev/null
+++ b/archive/2021.php
@@ -0,0 +1,24 @@
+<?php
+
+$_SERVER['BASE_PAGE'] = 'archive/2021.php';
+include_once __DIR__ . '/../include/prepend.inc';
+include_once __DIR__ . '/../include/pregen-news.inc';
+news_archive_sidebar();
+site_header("News Archive - 2021");
+//site_header("News Archive - 2021", array("cache" => true));
+?>
+
+<h1>News Archive - 2021</h1>
+
+<p>
+ Here are the most important news items we have published in 2021 on PHP.net.
+</p>
+
+<hr>
+
+<?php
+
+print_news($NEWS_ENTRIES, null, 500, 2021);
+
+/* %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

Reply via email to