mirror of
https://github.com/Fluffy-Bean/image-gallery.git
synced 2025-05-28 14:23:11 +00:00
Show crown next to Admins' names
This commit is contained in:
parent
dec15d7b63
commit
248154f37d
2 changed files with 6 additions and 1 deletions
|
@ -173,7 +173,11 @@
|
|||
<div>
|
||||
<?php
|
||||
// User
|
||||
echo "<p>Author: ".$image_author."</p>";
|
||||
if ($user_info->is_admin($image['author'])) {
|
||||
echo "<p>Author: ".$image_author."<img class='svg' style='margin: 0 0 0.1rem 0.2rem;' src='assets/icons/crown-simple.svg'></p>";
|
||||
} else {
|
||||
echo "<p>Author: ".$image_author."</p>";
|
||||
}
|
||||
|
||||
// Image ID
|
||||
echo "<p>ID: ".$image['id']."</p>";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue