1
0
Fork 0
mirror of https://github.com/Oreolek/ifhub.club.git synced 2024-07-08 17:34:26 +03:00
ifhub.club/application/frontend/skin/developer/blocks/block.userActions.tpl

19 lines
487 B
Smarty
Raw Normal View History

2013-05-04 17:10:22 +03:00
{**
* Меню пользователя ("Добавить в друзья", "Написать письмо" и т.д.)
*
* @styles css/blocks.css
*}
2014-08-22 15:41:12 +03:00
{extends 'components/block/block.tpl'}
{block 'block_options' append}
{$mods = "{$mods} profile-actions"}
2013-05-04 17:10:22 +03:00
2013-06-10 13:10:15 +03:00
{if ! $oUserCurrent or ( $oUserCurrent and $oUserCurrent->getId() == $oUserProfile->getId() )}
2014-08-22 15:41:12 +03:00
{$show = false}
2013-06-10 13:10:15 +03:00
{/if}
{/block}
2014-08-22 15:41:12 +03:00
{block 'block_content'}
{include 'components/user/actions.tpl' user=$oUserProfile}
2013-05-04 17:10:22 +03:00
{/block}