2013-06-25 23:55:12 +03:00
|
|
|
{**
|
|
|
|
* Базовый шаблон профиля пользователя
|
|
|
|
*}
|
|
|
|
|
2013-06-26 00:04:23 +03:00
|
|
|
{extends file='layouts/layout.base.tpl'}
|
2013-06-25 23:55:12 +03:00
|
|
|
|
|
|
|
{block name='layout_content_begin'}
|
|
|
|
{**
|
|
|
|
* Шапка профиля
|
|
|
|
*}
|
|
|
|
|
|
|
|
{$oVote = $oUserProfile->getVote()}
|
|
|
|
|
|
|
|
<div class="profile">
|
|
|
|
{hook run='profile_top_begin' oUserProfile=$oUserProfile}
|
2014-04-08 14:43:35 +03:00
|
|
|
|
2013-06-25 23:55:12 +03:00
|
|
|
<a href="{$oUserProfile->getUserWebPath()}"><img src="{$oUserProfile->getProfileAvatarPath(48)}" alt="avatar" class="avatar" itemprop="photo" /></a>
|
2013-07-09 11:40:06 +03:00
|
|
|
|
2014-01-25 14:44:57 +02:00
|
|
|
{* Голосование *}
|
2014-04-08 14:43:35 +03:00
|
|
|
{include 'components/vote/vote.tpl'
|
|
|
|
sClasses = 'js-vote-user'
|
|
|
|
sMods = 'large'
|
|
|
|
oObject = $oUserProfile
|
|
|
|
bIsLocked = $oUserCurrent && $oUserCurrent->getId() == $oUserProfile->getId()
|
|
|
|
bShowLabel = true}
|
|
|
|
|
2013-10-23 10:02:40 +03:00
|
|
|
<h2 class="page-header user-login word-wrap {if !$oUserProfile->getProfileName()}no-user-name{/if}" itemprop="nickname">{$oUserProfile->getDisplayName()}</h2>
|
2014-04-08 14:43:35 +03:00
|
|
|
|
2013-06-25 23:55:12 +03:00
|
|
|
{if $oUserProfile->getProfileName()}
|
|
|
|
<p class="user-name" itemprop="name">{$oUserProfile->getProfileName()|escape:'html'}</p>
|
|
|
|
{/if}
|
2014-04-08 14:43:35 +03:00
|
|
|
|
2013-06-25 23:55:12 +03:00
|
|
|
{hook run='profile_top_end' oUserProfile=$oUserProfile}
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<h3 class="profile-page-header">{block name='layout_user_page_title'}{/block}</h3>
|
|
|
|
{/block}
|