- v 0.3.2 : can hide or show admin menu

This commit is contained in:
asus
2024-03-17 23:00:39 +01:00
parent fcb15c97d1
commit 82b6593dd9
8 changed files with 285 additions and 13 deletions

View File

@@ -107,6 +107,9 @@ class PLGNTLS_class {
const USER_INFO_DATE_FORMAT = 'd/m/Y'; // for user_infos.php (date format : https://www.php.net/manual/fr/datetime.format.php)
const ADMIN_VALIDATE_PROF_FIELD = 'admin_activate_prof_cipf'; // for admin_modif_prof.php
// MENU
const SLUG_TOOGLE_ADMIN_MENU = ['_name'=>'toogle_admin_menu_url_cipf', 'toggle'=>'toggle', 'show'=>'show', 'hide'=>'hide'];
const TOGGLE_ADMIN_MENU = ['_name'=>'toggle_admin_menu_option_cipf', 'show'=>'show', 'hide'=>'hide'];
private static $_DEBUG_INFOS = false;