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 REALNAME = 'Blog';
|
||||||
const DELETE = true;
|
const DELETE = true;
|
||||||
const UPDATE = true;
|
const UPDATE = true;
|
||||||
const DATADIRECTORY = [
|
const DATADIRECTORY = []; // Contenu localisé inclus par défaut (page.json et module.json)
|
||||||
'fr/module.json'
|
|
||||||
];
|
|
||||||
|
|
||||||
const EDIT_OWNER = 'owner';
|
const EDIT_OWNER = 'owner';
|
||||||
const EDIT_GROUP = 'group';
|
const EDIT_GROUP = 'group';
|
||||||
|
@ -20,9 +20,7 @@ class form extends common {
|
|||||||
const REALNAME = 'Formulaire';
|
const REALNAME = 'Formulaire';
|
||||||
const DELETE = true;
|
const DELETE = true;
|
||||||
const UPDATE = true;
|
const UPDATE = true;
|
||||||
const DATADIRECTORY = [
|
const DATADIRECTORY = []; // Contenu localisé inclus par défaut (page.json et module.json)
|
||||||
'fr/module.json'
|
|
||||||
];
|
|
||||||
|
|
||||||
public static $actions = [
|
public static $actions = [
|
||||||
'config' => self::GROUP_MODERATOR,
|
'config' => self::GROUP_MODERATOR,
|
||||||
|
@ -21,9 +21,7 @@ class gallery extends common {
|
|||||||
const REALNAME = 'Galerie';
|
const REALNAME = 'Galerie';
|
||||||
const DELETE = true;
|
const DELETE = true;
|
||||||
const UPDATE = true;
|
const UPDATE = true;
|
||||||
const DATADIRECTORY = [
|
const DATADIRECTORY = []; // Contenu localisé inclus par défaut (page.json et module.json)
|
||||||
'fr/module.json'
|
|
||||||
];
|
|
||||||
|
|
||||||
const SORT_ASC = 'SORT_ASC';
|
const SORT_ASC = 'SORT_ASC';
|
||||||
const SORT_DSC = 'SORT_DSC';
|
const SORT_DSC = 'SORT_DSC';
|
||||||
|
@ -18,9 +18,7 @@ class news extends common {
|
|||||||
const REALNAME = 'Actualités';
|
const REALNAME = 'Actualités';
|
||||||
const DELETE = true;
|
const DELETE = true;
|
||||||
const UPDATE = true;
|
const UPDATE = true;
|
||||||
const DATADIRECTORY = [
|
const DATADIRECTORY = []; // Contenu localisé inclus par défaut (page.json et module.json)
|
||||||
'fr/module.json'
|
|
||||||
];
|
|
||||||
|
|
||||||
public static $actions = [
|
public static $actions = [
|
||||||
'add' => self::GROUP_MODERATOR,
|
'add' => self::GROUP_MODERATOR,
|
||||||
|
@ -18,9 +18,7 @@ class redirection extends common {
|
|||||||
const REALNAME = 'Redirection';
|
const REALNAME = 'Redirection';
|
||||||
const DELETE = true;
|
const DELETE = true;
|
||||||
const UPDATE = true;
|
const UPDATE = true;
|
||||||
const DATADIRECTORY = [
|
const DATADIRECTORY = []; // Contenu localisé inclus par défaut (page.json et module.json)
|
||||||
'fr/module.json'
|
|
||||||
];
|
|
||||||
|
|
||||||
public static $actions = [
|
public static $actions = [
|
||||||
'config' => self::GROUP_MODERATOR,
|
'config' => self::GROUP_MODERATOR,
|
||||||
|
@ -22,9 +22,7 @@ class search extends common {
|
|||||||
const REALNAME = 'Recherche';
|
const REALNAME = 'Recherche';
|
||||||
const DELETE = true;
|
const DELETE = true;
|
||||||
const UPDATE = true;
|
const UPDATE = true;
|
||||||
const DATADIRECTORY = [
|
const DATADIRECTORY = []; // Contenu localisé inclus par défaut (page.json et module.json)
|
||||||
'fr/module.json'
|
|
||||||
];
|
|
||||||
|
|
||||||
public static $actions = [
|
public static $actions = [
|
||||||
'index' => self::GROUP_VISITOR,
|
'index' => self::GROUP_VISITOR,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user