Commit:    975426916bbdbad26bd6e67fff4c341fca58701f
Author:    Anatol Belski <[email protected]>         Thu, 4 Jan 2018 15:47:56 +0100
Parents:   8754d19f2f7f7a58aac52c6dd6a62e1fc109186a
Branches:  master

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

Log:
Add 2018 archive file and fix announce link

Changed paths:
  A  archive/2018.php
  M  archive/entries/2018-01-04-1.xml


Diff:
diff --git a/archive/2018.php b/archive/2018.php
new file mode 100644
index 0000000..660cc87
--- /dev/null
+++ b/archive/2018.php
@@ -0,0 +1,25 @@
+<?php
+
+$_SERVER['BASE_PAGE'] = 'archive/2018.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 - 2018");
+//site_header("News Archive - 2018", array("cache" => true));
+?>
+
+<h1>News Archive - 2018</h1>
+
+<p>
+ Here are the most important news items we have published in 2018 on PHP.net.
+</p>
+
+<hr>
+
+<?php
+
+print_news($NEWS_ENTRIES, null, 500, 2018);
+
+/* %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));
+
diff --git a/archive/entries/2018-01-04-1.xml b/archive/entries/2018-01-04-1.xml
index 715f8cf..d1ea988 100644
--- a/archive/entries/2018-01-04-1.xml
+++ b/archive/entries/2018-01-04-1.xml
@@ -1,13 +1,13 @@
 <?xml version="1.0" encoding="utf-8"?>
 <entry xmlns="http://www.w3.org/2005/Atom";>
   <title>PHP 7.0.27 Released</title>
-  <id>http://php.net/archive/2017.php#id2018-01-04-1</id>
+  <id>http://php.net/archive/2018.php#id2018-01-04-1</id>
   <published>2018-01-04T15:00:00+01:00</published>
   <updated>2018-01-04T15:00:00+01:00</updated>
   <category term="releases" label="New PHP release"/>
   <category term="frontpage" label="PHP.net frontpage news"/>
   <link href="http://php.net/index.php#id2018-01-04-1"; rel="alternate" 
type="text/html"/>
-  <link href="http://php.net/archive/2017.php#id2018-01-04-1"; rel="via" 
type="text/html"/>
+  <link href="http://php.net/archive/2018.php#id2018-01-04-1"; rel="via" 
type="text/html"/>
   <content type="xhtml">
     <div xmlns="http://www.w3.org/1999/xhtml";>
      <p>The PHP development team announces the immediate availability of PHP


--
PHP Webmaster List Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to