com web/php: added 2013 archive page (bug #63973): archive/2013.php
| From: | Peter Cowburn | Date: | Fri, 11 Jan 2013 20:57:58 +0000 |
| Subject: | com web/php: added 2013 archive page (bug #63973): archive/2013.php | ||
| Groups: | php.webmaster | ||
| Request: | Send a blank email to php-webmaster+get-15286@lists.php.net to get a copy of this message | ||
Commit: 83e2b161da5f10c634a581f775f3c7cb63cd891f
Author: Peter Cowburn <salathe@php.net> Fri, 11 Jan 2013 20:57:58 +0000
Parents: ae8aa85575ef55096e1e9831d6a0d65b93d42d8c
Branches: master
Link: http://git.php.net/?p=web/php.git;a=commitdiff;h=83e2b161da5f10c634a581f775f3c7cb63cd891f
Log:
added 2013 archive page (bug #63973)
Bugs:
https://bugs.php.net/63973
Changed paths:
A archive/2013.php
Diff:
diff --git a/archive/2013.php b/archive/2013.php
new file mode 100644
index 0000000..faf855a
--- /dev/null
+++ b/archive/2013.php
@@ -0,0 +1,23 @@
+<?php
+
+$_SERVER['BASE_PAGE'] = 'archive/2013.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 - 2013");
+?>
+
+<h1>News Archive - 2013</h1>
+
+<p>
+ Here are the most important news items we have published in 2013 on PHP.net.
+</p>
+
+<hr />
+
+<?php
+
+print_news($NEWS_ENTRIES, array("conferences", "cfp", "frontpage"),
50, 2013);
+
+site_footer();
+