Skip to content

Commit

Permalink
✅ Added tooltip to profile
Browse files Browse the repository at this point in the history
  • Loading branch information
anditv21 committed Sep 26, 2023
1 parent c6017f2 commit 451c8dc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/user/profile.php
Original file line number Diff line number Diff line change
Expand Up @@ -116,10 +116,10 @@
endif; ?>
<center>
<?php if (Util::getavatar($uid) == false) : ?>
<a href=<?php Util::display(SITE_URL . SUB_DIR . "/viewprofile.php?uid=$uid"); ?>><img width="120" height="120" class="border rounded-circle img-profile" src="../assets/img/avatars/Portrait_Placeholder.png" style="border-color: rgb(255,255,255)!important;"></a>
<a href=<?php Util::display(SITE_URL . SUB_DIR . "/viewprofile.php?uid=$uid"); ?>><img title='Click to view public profile' data-toggle='tooltip' data-placement='top' width="120" height="120" class="border rounded-circle img-profile" src="../assets/img/avatars/Portrait_Placeholder.png" style="border-color: rgb(255,255,255)!important;"></a>
<?php
else : ?>
<a href=<?php Util::display(SITE_URL . SUB_DIR . "/viewprofile.php?uid=$uid"); ?>><img width="120" height="120" class="rounded-circle img-profile" src="<?php Util::display(Util::getavatar($uid)); ?>" style="border-color: rgb(255,255,255)!important;"></a>
<a href=<?php Util::display(SITE_URL . SUB_DIR . "/viewprofile.php?uid=$uid"); ?>><img title='Click to view public profile' data-toggle='tooltip' data-placement='top' width="120" height="120" class="rounded-circle img-profile" src="<?php Util::display(Util::getavatar($uid)); ?>" style="border-color: rgb(255,255,255)!important;"></a>
<?php
endif; ?>
</center>
Expand Down

0 comments on commit 451c8dc

Please sign in to comment.