com web/php: Prep for 2014: archive/2014.php
| From: | Hannes Magnusson | Date: | Mon, 30 Dec 2013 06:23:28 +0000 |
| Subject: | com web/php: Prep for 2014: archive/2014.php | ||
| Groups: | php.webmaster | ||
| Request: | Send a blank email to php-webmaster+get-17912@lists.php.net to get a copy of this message | ||
Commit: abbacca6515fef899725f8b86f107e6f5e03ab7f
Author: Hannes Magnusson <bjori@mongodb.com> Sun, 29 Dec 2013 22:23:28 -0800
Parents: 92338a02bc4366c42a64aed4b6cf714c6dfb9a0e
Branches: master
Link: http://git.php.net/?p=web/php.git;a=commitdiff;h=abbacca6515fef899725f8b86f107e6f5e03ab7f
Log:
Prep for 2014
Changed paths:
A archive/2014.php
Diff:
diff --git a/archive/2014.php b/archive/2014.php
new file mode 100644
index 0000000..d4278ad
--- /dev/null
+++ b/archive/2014.php
@@ -0,0 +1,25 @@
+<?php
+
+$_SERVER['BASE_PAGE'] = 'archive/2014.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 - 2014");
+//site_header("News Archive - 2014", array("cache" => true));
+?>
+
+<h1>News Archive - 2014</h1>
+
+<p>
+ Here are the most important news items we have published in 2014 on PHP.net.
+</p>
+
+<hr />
+
+<?php
+
+print_news($NEWS_ENTRIES, array("conferences", "cfp", "frontpage"),
500, 2014);
+
+/* %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));
+