Weitere Reviewänderungen

This commit is contained in:
2026-05-31 22:42:16 +02:00
parent 02551049e0
commit 2ce13cef72
+6 -18
View File
@@ -7,8 +7,7 @@ $user = $user ?? null;
<!-- <!--
Content: Profil Content: Profil
Inhalt: Das eigene Profil, wenn man angemeldet ist. Inhalt: Das eigene Profil, wenn man angemeldet ist.
Dort hat man die Möglichkeit seine Angaben zu sehen Dort werden die aktuellen Profildaten angezeigt.
und später zu bearbeiten.
--> -->
<main class="form-page"> <main class="form-page">
@@ -17,36 +16,25 @@ $user = $user ?? null;
<h1>Mein Profil</h1> <h1>Mein Profil</h1>
<form method="post" action="index.php?pfad=profile"> <form>
<label class="input-label">Name</label> <label class="input-label">Name</label>
<input type="text" <input type="text"
name="username"
class="login-input" class="login-input"
required readonly
placeholder="Name"
value="<?php echo htmlspecialchars($user["username"] ?? ""); ?>"> value="<?php echo htmlspecialchars($user["username"] ?? ""); ?>">
<label class="input-label">Email-Adresse</label> <label class="input-label">Email-Adresse</label>
<input type="email" <input type="email"
name="email"
class="login-input" class="login-input"
required readonly
placeholder="mustermann@web.de"
value="<?php echo htmlspecialchars($user["email"] ?? ""); ?>"> value="<?php echo htmlspecialchars($user["email"] ?? ""); ?>">
<label class="input-label">Passwort</label> <label class="input-label">Passwort</label>
<input type="password" <input type="password"
name="password"
class="login-input" class="login-input"
value="12345678" readonly
readonly> value="********">
<br>
<button type="submit" class="login-button">
Speichern
</button>
</form> </form>