Add HTML link to profile to account name

- Normalize white space in HTML
This commit is contained in:
Hypolite Petovan 2022-04-25 21:39:38 -04:00
parent 2e84f5aa7b
commit 2aba91d42c
1 changed files with 21 additions and 14 deletions

View File

@ -31,7 +31,14 @@ if (!empty($profile['country'])) {
<i class="fa fa-external-link-alt"></i> <?php echo $this->p__('verb', 'Follow')?>
</a>
<?php endif; ?>
<?php if ($profile['follow']): ?>
<a href="<?php echo $this->escapeHtmlAttr($profile['follow']); ?>" class="card-link btn btn-primary float-right" target="_blank" rel="noopener noreferrer">
<i class="fa fa-external-link-alt"></i> <?php echo $this->p__('verb', 'Follow')?>
</a>
<?php endif; ?>
<a href="<?php echo $this->escapeHtmlAttr($profile['profile_url']) ?>">
<?php echo $this->escapeHtml($profile['name']) ?>
</a>
</h5>
<p class="url">
<a href="<?php echo $this->escapeHtmlAttr($this->u($profile['profile_url'])) ?>">