{strip} {$module = waRequest::param('module')} {$action = waRequest::param('action')} {$_is_admin = $wa->user()->isAdmin($wa->app())} {$_has_rights = teamHelper::hasRights()} {$_can_sort = ( $_is_admin || $_has_rights)}
{* main nav *}
{* search *}
{* @event backend_sidebar.%plugin_id%.section *} {if !empty($backend_sidebar)}{foreach $backend_sidebar as $_}{ifset($_.section)}{/foreach}{/if} {* groups *}
{if teamHelper::hasRights('add_groups')}{/if}
[`Groups`]
{if $groups} {else}

[`No groups here`]

{/if}
{* locations *}
{if teamHelper::hasRights('add_groups')}{/if}
[`Locations`]
{if $locations} {else}

[`No locations here`]

{/if}
{* user status *}
{if teamHelper::hasRights()}
{/if} {* Initialization of the internal content of the sidebar *}
{/strip}