Update 1.4
This commit is contained in:
parent
a1009bc9fc
commit
7a7b49b492
@ -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%)}'
|
||||
|
BIN
html/assets/pp/16.png
Normal file
BIN
html/assets/pp/16.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 12 KiB |
@ -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);
|
||||
|
@ -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'];
|
||||
?>
|
Loading…
x
Reference in New Issue
Block a user