diff --git a/config/global.ini b/config/global.ini index 12cd38ee..7755842a 100755 --- a/config/global.ini +++ b/config/global.ini @@ -14,18 +14,6 @@ headerTitle = "E59" headerSubtitle = "Club Réseaux" footerText = "© Jan BELLON - E59 v1.4" -[confidentialLevels] -0 = "E59i-P (Public)" -1 = "E59i-M (Membres)" -2 = "E59i-R (Responsables)" -3 = "E59i-D (Direction)" - -[userLevels] -0 = "Invité" -1 = "Membre" -2 = "Responsable" -3 = "Directeur" - [darkThemes] 0 = '.body {--text: hsl(0, 0%, 80%); --background: hsl(0, 0%, 15%); --panel-background: hsl(0, 0%, 10%); --buttons: hsl(0, 0%, 5%)}' 1 = '.body {--text: hsl(208, 100%, 96%); --background: hsl(215, 21%, 11%); --panel-background: hsl(216, 28%, 7%); --buttons: hsl(216, 28%, 7%)}' diff --git a/html/assets/pp/16.png b/html/assets/pp/16.png new file mode 100644 index 00000000..b9c88c4c Binary files /dev/null and b/html/assets/pp/16.png differ diff --git a/html/login/register.php b/html/login/register.php index 61c77ad6..16aef1d6 100755 --- a/html/login/register.php +++ b/html/login/register.php @@ -34,7 +34,7 @@ if (isset($_POST['username']) && isset($_POST['password1']) && isset($_POST['pas $status = "Le nom d'utilisateur existe déjà"; } else { - $request = $pdo->prepare("INSERT INTO users (username, password, email, display_name, level, accreditation) VALUES (:username, :password, :email, :display_name, 1, 1)"); + $request = $pdo->prepare("INSERT INTO users (username, password, email, display_name, role, accreditation) VALUES (:username, :password, :email, :display_name, 1, 1)"); $request->bindParam(':username', $userName); $request->bindParam(':password', md5($_POST['password1'])); $request->bindParam(':email', $userEmail); diff --git a/include/variables.php b/include/variables.php index b9ffaa6d..bc703ab4 100755 --- a/include/variables.php +++ b/include/variables.php @@ -15,10 +15,6 @@ $headerSubtitle = $globalConfig['main']['headerSubtitle']; $footerText = $globalConfig['main']['footerText']; - $confidentialLevels = $globalConfig['confidentialLevels']; - $userLevels = $globalConfig['userLevels']; - $badges = $globalConfig['badges']; - $darkThemes = $globalConfig['darkThemes']; $lightThemes = $globalConfig['lightThemes']; ?> \ No newline at end of file