From 8023df17e6713b00a1c246a2b461b0027c520594 Mon Sep 17 00:00:00 2001 From: Fred Tempez Date: Tue, 17 Nov 2020 10:16:50 +0100 Subject: [PATCH] =?UTF-8?q?Num=C3=A9ros=20de=20version?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CHANGES.md | 2 ++ module/blog/blog.php | 5 +---- module/news/news.php | 2 +- 3 files changed, 4 insertions(+), 5 deletions(-) diff --git a/CHANGES.md b/CHANGES.md index c0cef218..14a63e4c 100755 --- a/CHANGES.md +++ b/CHANGES.md @@ -3,6 +3,8 @@ ## version 10.3.06 - Correction : - Edition de page avec module, le changement de mise en page désactive le bouton d'option du module. +- Modification : + - Modules News et Blog : ajout de flux RSS. ## version 10.3.05 - Correction : diff --git a/module/blog/blog.php b/module/blog/blog.php index 930ecf81..9ef5409a 100644 --- a/module/blog/blog.php +++ b/module/blog/blog.php @@ -56,14 +56,12 @@ class blog extends common { public static $users = []; - const BLOG_VERSION = '2.99'; + const BLOG_VERSION = '2.10'; /** * Flux RSS */ public function rss() { - - // Inclure les classes include_once 'module/news/vendor/FeedWriter/Item.php'; include_once 'module/news/vendor/FeedWriter/Feed.php'; @@ -71,7 +69,6 @@ class blog extends common { include_once 'module/news/vendor/FeedWriter/InvalidOperationException.php'; date_default_timezone_set('UTC'); - $feeds = new \FeedWriter\RSS2(); // En-tête diff --git a/module/news/news.php b/module/news/news.php index 395cacb4..30e1a5c8 100644 --- a/module/news/news.php +++ b/module/news/news.php @@ -37,7 +37,7 @@ class news extends common { false => 'Brouillon', true => 'Publié' ]; - const NEWS_VERSION = '1.99'; + const NEWS_VERSION = '1.3'; public static $users = [];