💄 (admin): show connected user avatar

This commit is contained in:
Kazhnuz 2025-01-18 17:31:40 +01:00
parent e84397962a
commit 1c7ea1fe4d

View file

@ -93,7 +93,8 @@
</div>
</li>
<li class="nav-item dropdown ms-1">
<a class="nav-link dropdown-toggle" href="#" role="button" data-bs-toggle="dropdown" aria-expanded="false">
<a class="nav-link dropdown-toggle p-1" href="#" role="button" data-bs-toggle="dropdown" aria-expanded="false">
<?php echo '<img class="profilePicture me-1" alt="" src="'.(Sanitize::pathFile(PATH_UPLOADS_PROFILES.$login->getUserData()->username().'.png')?DOMAIN_UPLOADS_PROFILES.$login->getUserData()->username().'.png':HTML_PATH_CORE_IMG.'default.svg').'" />'; ?>
<?php echo $login->getUserData()->displayName(); ?>
</a>
<ul class="dropdown-menu dropdown-menu-end">