com web/php: Added archive entry for 2015: archive/2015.php
| From: | Paul Dragoonis | Date: | Tue, 06 Jan 2015 19:27:01 +0000 |
| Subject: | com web/php: Added archive entry for 2015: archive/2015.php | ||
| Groups: | php.webmaster | ||
| Request: | Send a blank email to php-webmaster+get-21769@lists.php.net to get a copy of this message | ||
Commit: 795fe5747032898e32e2368220451f18196715f6
Author: Stelian Mocanita <stelianm@php.net> Tue, 6 Jan 2015 20:27:01 +0100
Parents: e50261e5d2564a1f19b2b7b4dd45d426b69d68c2
Branches: master
Link: http://git.php.net/?p=web/php.git;a=commitdiff;h=795fe5747032898e32e2368220451f18196715f6
Log:
Added archive entry for 2015
Changed paths:
A archive/2015.php
Diff:
diff --git a/archive/2015.php b/archive/2015.php
new file mode 100644
index 0000000..6f9dbf8
--- /dev/null
+++ b/archive/2015.php
@@ -0,0 +1,25 @@
+<?php
+
+$_SERVER['BASE_PAGE'] = 'archive/2015.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 - 2015");
+//site_header("News Archive - 2015", array("cache" => true));
+?>
+
+<h1>News Archive - 2015</h1>
+
+<p>
+ Here are the most important news items we have published in 2015 on PHP.net.
+</p>
+
+<hr>
+
+<?php
+
+print_news($NEWS_ENTRIES, array("conferences", "cfp", "frontpage",
"nofrontpage"), 500, 2015);
+
+/* %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));
+