1
0
Fork 0
mirror of https://github.com/Oreolek/ifhub.club.git synced 2024-07-02 22:45:02 +03:00

Fixes #282: Добавить хук в профиль в whois.tpl

This commit is contained in:
Denis Shakhov 2013-07-02 11:47:09 +07:00
parent 5ab0735774
commit 305f9bccbb
2 changed files with 10 additions and 1 deletions

View file

@ -16,7 +16,8 @@
{block name='layout_content'}
{include file='navs/nav.user.info.tpl'}
{hook run='user_info_begin' oUserProfile=$oUserProfile}
{if $oUserProfile->getProfileAbout()}
<div class="profile-info-about">
@ -28,6 +29,8 @@
</div>
{/if}
{hook run='user_info_about_after' oUserProfile=$oUserProfile}
{$aUserFieldValues = $oUserProfile->getUserFieldValues(true,array(''))}
@ -223,4 +226,6 @@
{/if}
{hook run='profile_whois_item_end' oUserProfile=$oUserProfile}
{hook run='user_info_end' oUserProfile=$oUserProfile}
{/block}

View file

@ -15,6 +15,7 @@
{block name='layout_content'}
{include file='navs/nav.user.info.tpl'}
{hook run='user_info_begin' oUserProfile=$oUserProfile}
<div class="profile-info-about">
<a href="{$oUserProfile->getUserWebPath()}" class="avatar">
@ -36,6 +37,7 @@
{/if}
</div>
{hook run='user_info_about_after' oUserProfile=$oUserProfile}
<div class="clearfix">
<div class="profile-left">
@ -236,4 +238,6 @@
{hook run='profile_whois_item' oUserProfile=$oUserProfile}
</div>
</div>
{hook run='user_info_end' oUserProfile=$oUserProfile}
{/block}