From 95c269873febef0d950ae89feb2536d0c5be1bf6 Mon Sep 17 00:00:00 2001 From: fredtempez Date: Fri, 19 Feb 2021 09:08:56 +0100 Subject: [PATCH] =?UTF-8?q?Constante=20data=20directory=20par=20d=C3=A9fau?= =?UTF-8?q?t?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- module/blog/blog.php | 4 +--- module/form/form.php | 4 +--- module/gallery/gallery.php | 4 +--- module/news/news.php | 4 +--- module/redirection/redirection.php | 4 +--- module/search/search.php | 4 +--- 6 files changed, 6 insertions(+), 18 deletions(-) diff --git a/module/blog/blog.php b/module/blog/blog.php index 2e7e0538..646e6310 100755 --- a/module/blog/blog.php +++ b/module/blog/blog.php @@ -18,9 +18,7 @@ class blog extends common { const REALNAME = 'Blog'; const DELETE = true; const UPDATE = true; - const DATADIRECTORY = [ - 'fr/module.json' - ]; + const DATADIRECTORY = []; // Contenu localisé inclus par défaut (page.json et module.json) const EDIT_OWNER = 'owner'; const EDIT_GROUP = 'group'; diff --git a/module/form/form.php b/module/form/form.php index 597a0323..841977e2 100755 --- a/module/form/form.php +++ b/module/form/form.php @@ -20,9 +20,7 @@ class form extends common { const REALNAME = 'Formulaire'; const DELETE = true; const UPDATE = true; - const DATADIRECTORY = [ - 'fr/module.json' - ]; + const DATADIRECTORY = []; // Contenu localisé inclus par défaut (page.json et module.json) public static $actions = [ 'config' => self::GROUP_MODERATOR, diff --git a/module/gallery/gallery.php b/module/gallery/gallery.php index a3bb4618..bc6e4b04 100755 --- a/module/gallery/gallery.php +++ b/module/gallery/gallery.php @@ -21,9 +21,7 @@ class gallery extends common { const REALNAME = 'Galerie'; const DELETE = true; const UPDATE = true; - const DATADIRECTORY = [ - 'fr/module.json' - ]; + const DATADIRECTORY = []; // Contenu localisé inclus par défaut (page.json et module.json) const SORT_ASC = 'SORT_ASC'; const SORT_DSC = 'SORT_DSC'; diff --git a/module/news/news.php b/module/news/news.php index 89eb1aca..ce975f71 100755 --- a/module/news/news.php +++ b/module/news/news.php @@ -18,9 +18,7 @@ class news extends common { const REALNAME = 'Actualités'; const DELETE = true; const UPDATE = true; - const DATADIRECTORY = [ - 'fr/module.json' - ]; + const DATADIRECTORY = []; // Contenu localisé inclus par défaut (page.json et module.json) public static $actions = [ 'add' => self::GROUP_MODERATOR, diff --git a/module/redirection/redirection.php b/module/redirection/redirection.php index e39d70d4..3051ee56 100755 --- a/module/redirection/redirection.php +++ b/module/redirection/redirection.php @@ -18,9 +18,7 @@ class redirection extends common { const REALNAME = 'Redirection'; const DELETE = true; const UPDATE = true; - const DATADIRECTORY = [ - 'fr/module.json' - ]; + const DATADIRECTORY = []; // Contenu localisé inclus par défaut (page.json et module.json) public static $actions = [ 'config' => self::GROUP_MODERATOR, diff --git a/module/search/search.php b/module/search/search.php index 56e71f05..f07a2200 100755 --- a/module/search/search.php +++ b/module/search/search.php @@ -22,9 +22,7 @@ class search extends common { const REALNAME = 'Recherche'; const DELETE = true; const UPDATE = true; - const DATADIRECTORY = [ - 'fr/module.json' - ]; + const DATADIRECTORY = []; // Contenu localisé inclus par défaut (page.json et module.json) public static $actions = [ 'index' => self::GROUP_VISITOR,