12400 group WIP

This commit is contained in:
Fred Tempez 2023-03-01 16:11:36 +01:00
parent 1d158a3fde
commit 15d98f43a7
4 changed files with 18 additions and 1 deletions

View File

@ -232,6 +232,7 @@ class common
'theme' => '',
'user' => '',
'language' => '',
'group'=> '',
];
public static $fontsWebSafe = [

View File

@ -334,6 +334,7 @@ class init extends common
],
'blacklist' => [],
'language'=> [],
'group' => [],
];
public static $defaultDataI18n = [
'en_EN' => [

View File

@ -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() {
}
}

View File

@ -15,13 +15,20 @@
'help' => 'Consulter l\'aide en ligne'
]);*/ ?>
</div>
<div class="col1 offset8">
<div class="col1 offset7">
<?php echo template::button('userImport', [
'href' => helper::baseUrl() . 'user/import',
'value' => template::ico('upload'),
'help' => 'Importer des utilisateurs en masse'
]); ?>
</div>
<div class="col1">
<?php echo template::button('userGroup', [
'href' => helper::baseUrl() . 'user/group',
'value' => template::ico('users'),
'help' => 'Gestion des groupes'
]); ?>
</div>
<div class="col1">
<?php echo template::button('userAdd', [
'href' => helper::baseUrl() . 'user/add',