mirror of
https://github.com/Oreolek/ifhub.club.git
synced 2024-07-05 07:54:24 +03:00
Fixes #282: Добавить хук в профиль в whois.tpl
This commit is contained in:
parent
5ab0735774
commit
305f9bccbb
|
@ -17,6 +17,7 @@
|
|||
{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}
|
|
@ -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}
|
Loading…
Reference in a new issue