Update 1.4

This commit is contained in:
cbo 2024-03-17 15:18:40 +00:00
parent a1009bc9fc
commit 7a7b49b492
4 changed files with 1 additions and 17 deletions

View File

@ -14,18 +14,6 @@ headerTitle = "E59"
headerSubtitle = "Club Réseaux" headerSubtitle = "Club Réseaux"
footerText = "© Jan BELLON - E59 v1.4" 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] [darkThemes]
0 = '.body {--text: hsl(0, 0%, 80%); --background: hsl(0, 0%, 15%); --panel-background: hsl(0, 0%, 10%); --buttons: hsl(0, 0%, 5%)}' 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%)}' 1 = '.body {--text: hsl(208, 100%, 96%); --background: hsl(215, 21%, 11%); --panel-background: hsl(216, 28%, 7%); --buttons: hsl(216, 28%, 7%)}'

BIN
html/assets/pp/16.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

View File

@ -34,7 +34,7 @@ if (isset($_POST['username']) && isset($_POST['password1']) && isset($_POST['pas
$status = "Le nom d'utilisateur existe déjà"; $status = "Le nom d'utilisateur existe déjà";
} else { } 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(':username', $userName);
$request->bindParam(':password', md5($_POST['password1'])); $request->bindParam(':password', md5($_POST['password1']));
$request->bindParam(':email', $userEmail); $request->bindParam(':email', $userEmail);

View File

@ -15,10 +15,6 @@
$headerSubtitle = $globalConfig['main']['headerSubtitle']; $headerSubtitle = $globalConfig['main']['headerSubtitle'];
$footerText = $globalConfig['main']['footerText']; $footerText = $globalConfig['main']['footerText'];
$confidentialLevels = $globalConfig['confidentialLevels'];
$userLevels = $globalConfig['userLevels'];
$badges = $globalConfig['badges'];
$darkThemes = $globalConfig['darkThemes']; $darkThemes = $globalConfig['darkThemes'];
$lightThemes = $globalConfig['lightThemes']; $lightThemes = $globalConfig['lightThemes'];
?> ?>