{extends "../@listView.xml"} {var iterator = $user->getClubs($page, $admin)} {var count = $user->getClubCount($admin)} {block title} {_groups} {/block} {block header} {if !is_null($thisUser) && $user->getId() === $thisUser->getId()} {_my_groups} {else} {$user->getCanonicalName()} » {_groups} {/if} {/block} {* BEGIN ELEMENTS DESCRIPTION *} {block tabs} {if !is_null($thisUser) && $user->getId() === $thisUser->getId()}
{_groups}
{_managed}
{/if} {/block} {block size}
{if !is_null($thisUser) && $user->getId() === $thisUser->getId()} {tr("groups_list", $thisUser->getClubCount())} {else} {tr("groups", $user->getClubCount())} {/if}
{/block} {block link|strip|stripHtml} {$x->getURL()} {/block} {block preview} Фотография группы {/block} {block infoTable}
{_name}: {$x->getName()}
{_size}: {tr("participants", $x->getFollowersCount())}
{/block} {block description} {$x->getDescription()} {/block} {block actions} {var clubPinned = $thisUser->isClubPinned($x)} {if $x->canBeModifiedBy($thisUser ?? NULL) && ($clubPinned || $thisUser->getPinnedClubCount() <= 10)} {_check_community} {if $clubPinned} {_remove_from_left_menu} {else} {_add_to_left_menu} {/if}
{/if} {/block} {block bottom} {if !is_null($thisUser) && $user->getId() === $thisUser->getId()}

{_open_new_group}

{_open_group_desc}

{_search_group}

{_search_group_desc}
{/if} {/block}