mirror of
https://github.com/YGGverse/YGGtracker.git
synced 2026-04-01 01:25:39 +00:00
add multiple identicon drivers support, add icon field settings, make icons display optional
This commit is contained in:
parent
edf9149654
commit
6bffa1c6b9
3 changed files with 16 additions and 7 deletions
|
|
@ -418,11 +418,14 @@ echo '<?xml version="1.0" encoding="UTF-8"?>' . PHP_EOL ?>
|
|||
<div class="margin-b-16">
|
||||
<?php echo nl2br(htmlentities($magnetComment->value)) ?>
|
||||
</div>
|
||||
<img class="float-left margin-r-4"
|
||||
alt=""
|
||||
src="<?php echo sprintf('%s/action.php?target=profile&toggle=identicon&userId=%s&size=16',
|
||||
WEBSITE_URL,
|
||||
$magnetComment->userId) ?>" />
|
||||
<?php if (USER_DEFAULT_IDENTICON) { ?>
|
||||
<img class="float-left margin-r-4"
|
||||
alt=""
|
||||
src="<?php echo sprintf('%s/action.php?target=profile&toggle=%s&userId=%s&size=16',
|
||||
WEBSITE_URL,
|
||||
USER_DEFAULT_IDENTICON,
|
||||
$magnetComment->userId) ?>" />
|
||||
<?php } ?>
|
||||
<sup>
|
||||
<?php echo Time::ago((int) $magnetComment->timeAdded) ?>
|
||||
</sup>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue