Compare commits

..

3 Commits

Author SHA1 Message Date
fredtempez
d8d0d68f47 Merge branch '10500' of https://forge.chapril.org/ZwiiCMS-Team/ZwiiCMS into 10500 2021-02-19 09:13:26 +01:00
fredtempez
98a3a67478 Merge branch 'master' into 10500 2021-02-19 09:13:22 +01:00
fredtempez
95c269873f Constante data directory par défaut 2021-02-19 09:08:56 +01:00
6 changed files with 6 additions and 18 deletions

View File

@ -19,9 +19,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';

View File

@ -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,

View File

@ -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';

View File

@ -19,9 +19,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,

View File

@ -19,9 +19,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,

View File

@ -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,