User-Icon im Spielermenü zurücknehmen

This commit is contained in:
torsten 2026-11-10 14:06:54 +01:00
parent c7146f0fd2
commit 7e0c7828f2
4 changed files with 19 additions and 27 deletions

View file

@ -87,19 +87,8 @@ $styleVersion = @filemtime(__DIR__ . '/../../../public/css/style.css');
</span>
<span class="nav-user">
<?php if (App\Core\Auth::check()): ?>
<?php $navUserName = (string)App\Core\Auth::user()['name']; ?>
<span class="nav-dropdown">
<a href="#" onclick="return false;" class="nav-user-link"
aria-label="Benutzermenü von <?php echo htmlspecialchars($navUserName); ?>"
aria-haspopup="true"
title="<?php echo htmlspecialchars($navUserName); ?>">
<svg class="nav-user-icon" viewBox="0 0 24 24" fill="none" stroke="currentColor"
stroke-width="2" stroke-linecap="round" aria-hidden="true" focusable="false">
<circle cx="12" cy="8" r="4"></circle>
<path d="M4 21c0-4 3.6-7 8-7s8 3 8 7"></path>
</svg>
<span class="nav-user-name">( <?php echo htmlspecialchars($navUserName); ?> )</span>
</a>
<a href="#" onclick="return false;">( <?php echo htmlspecialchars(App\Core\Auth::user()['name']); ?> )</a>
<span class="nav-dropdown-content">
<a href="/index.php?page=tipps">Tipps</a>
<a href="/index.php?page=settings">Einstellungen</a>