diff --git a/core/core.php b/core/core.php index 99fa6090..8d24da4b 100644 --- a/core/core.php +++ b/core/core.php @@ -232,6 +232,7 @@ class common 'theme' => '', 'user' => '', 'language' => '', + 'group'=> '', ]; public static $fontsWebSafe = [ diff --git a/core/module/install/ressource/defaultdata.php b/core/module/install/ressource/defaultdata.php index 0397fad4..df2d1f75 100644 --- a/core/module/install/ressource/defaultdata.php +++ b/core/module/install/ressource/defaultdata.php @@ -334,6 +334,7 @@ class init extends common ], 'blacklist' => [], 'language'=> [], + 'group' => [], ]; public static $defaultDataI18n = [ 'en_EN' => [ diff --git a/core/module/user/user.php b/core/module/user/user.php index b87c05dd..09094bde 100644 --- a/core/module/user/user.php +++ b/core/module/user/user.php @@ -27,6 +27,7 @@ class user extends common 'forgot' => self::GROUP_VISITOR, 'login' => self::GROUP_VISITOR, 'reset' => self::GROUP_VISITOR, + 'group' => self::GROUP_ADMIN, ]; public static $users = []; @@ -766,4 +767,11 @@ class user extends common readfile($path . $file); exit(); } + + /** + * Table des groupes + */ + public function group() { + + } } diff --git a/core/module/user/view/index/index.php b/core/module/user/view/index/index.php index 836a9e62..4c73c28d 100644 --- a/core/module/user/view/index/index.php +++ b/core/module/user/view/index/index.php @@ -15,13 +15,20 @@ 'help' => 'Consulter l\'aide en ligne' ]);*/ ?> -