Weitere Reviewänderungen

This commit is contained in:
2026-05-31 22:34:11 +02:00
parent c82378baa8
commit 55e9fa6a20
2 changed files with 26 additions and 13 deletions
+7 -13
View File
@@ -6,7 +6,8 @@ $user = $user ?? null;
<!--
Content: Profil
Inhalt: Das eigene Profil, wenn man angemeldet ist. Dort hat man die Möglichkeit seine Angaben zu ändern.
Inhalt: Das eigene Profil, wenn man angemeldet ist.
Dort werden die aktuellen Profildaten angezeigt.
-->
<main class="form-page">
@@ -15,35 +16,28 @@ $user = $user ?? null;
<h1>Mein Profil</h1>
<form method="post" action="index.php?pfad=profile">
<form>
<label class="input-label">Name</label>
<input type="text"
name="username"
class="login-input"
required
placeholder="Name"
readonly
value="<?php echo htmlspecialchars($user["username"] ?? ""); ?>">
<label class="input-label">Email-Adresse</label>
<input type="email"
name="email"
class="login-input"
required
placeholder="mustermann@web.de"
readonly
value="<?php echo htmlspecialchars($user["email"] ?? ""); ?>">
<label class="input-label">Passwort</label>
<input type="password"
name="password"
class="login-input"
placeholder="Neues Passwort eingeben">
<br>
<button type="submit" class="login-button">
Speichern
</button>
readonly
value="********">
</form>