mirror of
https://github.com/Fluffy-Bean/image-gallery.git
synced 2025-05-29 14:53:12 +00:00
Random fixes
This commit is contained in:
parent
0aed7f1cb9
commit
bc7dfb481a
7 changed files with 91 additions and 60 deletions
|
@ -184,8 +184,8 @@
|
|||
<div>
|
||||
<?php
|
||||
// User
|
||||
if ($user_info->is_admin($conn, $image['author'])) {
|
||||
echo "<p>Author: <a href='profile.php?user=".$image['author']."' class='link'>".$image_author."</a><img class='svg' style='margin: 0 0 0.1rem 0.2rem;' src='assets/icons/crown-simple.svg'></p>";
|
||||
if (empty($image['author'])) {
|
||||
echo "<p>Author: ".$image_author."</p>";
|
||||
} else {
|
||||
echo "<p>Author: <a href='profile.php?user=".$image['author']."' class='link'>".$image_author."</a></p>";
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue