kanv1s отреагировал на пост
Respected в Цвет ника конкретного пользователя
30 сентября, 2015
Шаблон forums > topics > postContainer
Было:
<h3 class='ipsType_sectionHead cAuthorPane_author ipsType_blendLinks ipsType_break' itemprop="creator" itemscope itemtype="http://schema.org/Person"><strong itemprop="name">{$comment->author()->link( $comment->warningRef() )|raw}</strong> <span class='ipsResponsive_showPhone ipsResponsive_inline'> {template="reputationBadge" group="global" app="core" params="$comment->author()"}</span></h3>
Стало:
<h3 class='ipsType_sectionHead cAuthorPane_author ipsType_blendLinks ipsType_break' itemprop="creator" itemscope itemtype="http://schema.org/Person">{{if $comment->author()->member_id == "81"}}<span style='color:#61D4C5'>{{endif}}<strong itemprop="name">{$comment->author()->link( $comment->warningRef() )|raw}</strong> {{if $comment->author()->member_id == "81"}}</span>{{endif}}<span class='ipsResponsive_showPhone ipsResponsive_inline'> {template="reputationBadge" group="global" app="core" params="$comment->author()"}</span></h3>