Добавляем иконки в информацию о пользователе (off)

Skaiman

Заблокирован
Сообщения
17,572
Решения
199
Реакции
32,857
Баллы
18,475
А icon-large и icon-fixed-width
Код:
<xen:if is="@messageShowRegisterDate">
                    <dl class="pairsInline">
                        <dt><i class="fa fa-calendar fa-lg fa-fw" style="padding-right:7px;"></i>{xen:phrase member_since}:</dt>
                        <dd>{xen:date $user.register_date}</dd>
                    </dl>
                </xen:if>
           
                <xen:if is="@messageShowMessageCount AND {$user.user_id}">
                    <dl class="pairsInline">
                        <dt><i class="fa fa-comments fa-lg fa-fw" style="padding-right:7px;"></i>{xen:phrase message_count}:</dt>
                        <dd><a href="{xen:link search/member, '', 'user_id={$user.user_id}'}" class="concealed">{xen:number $user.message_count}</a></dd>
                    </dl>
                </xen:if>
           
                <xen:if is="@messageShowTotalLikes AND {$user.user_id}">
                    <dl class="pairsInline">
                        <dt><i class="fa fa-thumbs-up fa-lg fa-fw" style="padding-right:7px;"></i>{xen:phrase likes_received}:</dt>
                        <dd>{xen:number $user.like_count}</dd>
                    </dl>
                </xen:if>
           
                <xen:if is="@messageShowTrophyPoints AND {$user.user_id}">
                    <dl class="pairsInline">
                        <dt><i class="fa fa-trophy fa-lg fa-fw" style="padding-right:7px;"></i>{xen:phrase trophy_points}:</dt>
                        <dd><a href="{xen:link 'members/trophies', $user}" class="OverlayTrigger concealed">{xen:number $user.trophy_points}</a></dd>
                    </dl>
                </xen:if>
       
                <xen:if is="@messageShowGender AND {$user.gender}">
                    <dl class="pairsInline">
                        <dt><i class="fa fa-user fa-lg fa-fw" style="padding-right:7px;"></i>{xen:phrase gender}:</dt>
                        <dd itemprop="gender"><xen:if is="{$user.gender} == 'male'">{xen:phrase male}<xen:else />{xen:phrase female}</xen:if></dd>
                    </dl>
                </xen:if>
           
                <xen:if is="@messageShowOccupation AND {$user.occupation}">
                    <dl class="pairsInline">
                        <dt><i class="fa fa-pencil fa-lg fa-fw" style="padding-right:7px;"></i>{xen:phrase occupation}:</dt>
                        <dd itemprop="role">{xen:string censor, $user.occupation}</dd>
                    </dl>
                </xen:if>
           
                <xen:if is="@messageShowLocation AND {$user.location}">
                    <dl class="pairsInline">
                        <dt><i class="fa fa-map-marker fa-lg fa-fw" style="padding-right:7px;"></i>{xen:phrase location}:</dt>
                        <dd><a href="{xen:link 'misc/location-info', '', 'location={xen:string censor, $user.location, '-'}'}" target="_blank" rel="nofollow" itemprop="address" class="concealed">{xen:string censor, $user.location}</a></dd>
                    </dl>
                </xen:if>
       
                <xen:if is="@messageShowHomepage AND {$user.homepage}">
                    <dl class="pairsInline">
                        <dt><i class="fa fa-home fa-lg fa-fw" style="padding-right:7px;"></i>{xen:phrase home_page}:</dt>
                        <dd><a href="{xen:string censor, $user.homepage, '-'}" rel="nofollow" target="_blank" itemprop="url">{xen:string censor, $user.homepage}</a></dd>
                    </dl>
</xen:if>
 
  • Мне нравится
Реакции: Hope
Да, я что-то про них и забыл. Спасибо. Ман подправил.
 
Современный облачный хостинг провайдер | Aéza
Назад
Сверху Снизу