mirror of
https://github.com/openvk/openvk
synced 2024-11-11 01:19:53 +03:00
Improve and slightly fix the last commit
This commit is contained in:
parent
3bbdb3c85b
commit
9826296256
1 changed files with 2 additions and 2 deletions
|
@ -74,8 +74,8 @@
|
||||||
<a href="{$comment->getUser()->getURL()}">
|
<a href="{$comment->getUser()->getURL()}">
|
||||||
<span class="nobold">
|
<span class="nobold">
|
||||||
{var lastName = $comment->getUser()->getLastName()}
|
{var lastName = $comment->getUser()->getLastName()}
|
||||||
{if empty($lastName)}
|
{if empty($lastName) || $lastName == " "}
|
||||||
{$comment->getUser()->getFirstName()}
|
({$comment->getUser()->getFirstName()})
|
||||||
{else}
|
{else}
|
||||||
({$comment->getUser()->getFirstName()} {iconv_substr($lastName, 0, 1)}.)
|
({$comment->getUser()->getFirstName()} {iconv_substr($lastName, 0, 1)}.)
|
||||||
{/if}
|
{/if}
|
||||||
|
|
Loading…
Reference in a new issue