{strip} {$_user_id = $wa->user("id")} {$_is_admin = $wa->user()->isAdmin($wa->app())} {$_is_my_profile= ( !empty($user.id) && $user.id == $_user_id )} {$_can_edit = ($_is_admin || $_is_my_profile)}
{if $user.jobtitle} {$user.jobtitle|escape} {/if} {if $user.jobtitle && $user.company} [`@`] {/if} {if $user.company} {$user.company|escape} {/if}
{/if} {if $user.is_user > 0}{if $groups} {$_g = []} {foreach $groups as $_id=>$_name} {$_g[] = "`$_name|escape`"} {/foreach} {join(', ', $_g)} {else} [`This user does not belong to any group.`] {if $wa->user()->isAdmin()} [`Edit groups`] {/if} {/if}
{else if $user.is_user < 0}[`Access is switched off`]
{else if $invite}[`User invitation was sent.`]
{/if} {* Used for trigger event in ProfileAccess.html *} {* @event backend_customer.%plugin_id%.before_top *} {foreach $backend_profile as $_}{ifset($_.before_top)}{/foreach} {if $user_events}