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'}
|
2014-08-05 17:28:16 +03:00
|
|
|
{include 'components/user/actions.tpl' user=$oUserProfile}
|
2013-05-04 17:10:22 +03:00
|
|
|
{/block}
|