forked from ZwiiCMS-Team/ZwiiCMS
Constante data directory par défaut
This commit is contained in:
parent
b5d31033ff
commit
95c269873f
@ -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';
|
||||
|
@ -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,
|
||||
|
@ -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';
|
||||
|
@ -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,
|
||||
|
@ -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,
|
||||
|
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user