Skip to content

Commit

Permalink
UserCore::getProfileLink() returns the url, so need {% % } to echo it
Browse files Browse the repository at this point in the history
  • Loading branch information
pH-7 committed Jun 3, 2017
1 parent 1b5dd0e commit 2033cd5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/themes/base/tpl/browse_user.inc.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@

{{ $avatarDesign->get($user->username, $user->firstName, $user->sex, 64, true) }}
<p class="cy_ico">
<a href="{{ (new UserCore)->getProfileLink($user->username) }}" title="{lang 'First name: %0%', $user->firstName}<br> {lang 'Sex: %0% %1%', t($user->sex), $sex_ico}<br> {lang 'Seeking %0%', t($user->matchSex)}<br> {lang 'Age: %0%', $age}<br> {lang 'From %0%', $country_name}<br> {lang 'City %0%', $this->str->upperFirst($user->city)}<br> {lang 'State %0%', $this->str->upperFirst($user->state)}">
<a href="{% (new UserCore)->getProfileLink($user->username) %}" title="{lang 'First name: %0%', $user->firstName}<br> {lang 'Sex: %0% %1%', t($user->sex), $sex_ico}<br> {lang 'Seeking %0%', t($user->matchSex)}<br> {lang 'Age: %0%', $age}<br> {lang 'From %0%', $country_name}<br> {lang 'City %0%', $this->str->upperFirst($user->city)}<br> {lang 'State %0%', $this->str->upperFirst($user->state)}">
<strong>{% $this->str->extract($user->username,0,PH7_MAX_USERNAME_LENGTH_SHOWN, '...') %}</strong>
</a> <img src="{{ $design->getSmallFlagIcon($user->country) }}" alt="{country_name}" title="{lang 'From %0%', $country_name}" />
</p>
Expand Down

0 comments on commit 2033cd5

Please sign in to comment.