{if $layout.logid ne $userinfo.id} {else} {/if} {if is_array($usergroups) && count($usergroups)} {/if} {if is_array($customergroups) && count($customergroups)} {/if} {if is_array($divisions) && count($divisions)} {/if}
{trans("Login:")} ({$userinfo.id|string_format:"%04d"})
{trans("First name:")}
{trans("Last name:")}
{trans("Position:")}
{trans("E-mail:")}
{trans("Phone:")}
{trans("Notification:")}
{trans("Account active:")}
{trans("Account active:")} {trans('from')}:  {trans('to')}:
{trans("Two factor authentication:")}
{trans("Allowed hosts:")}
{trans("Password expiration:")}
{trans("Access rights:")}
{button icon="clone" id="copy-rights" label="Copy rights"}
{include file="user/usercopypermissions.html" form_variable_prefix="userinfo" variables=$userinfo}
{foreach $accesslist as $name => $access} {if !empty($access.name)} {/if} {/foreach} {$name = ""}
{icon name="usergroup" class="fa-fw"} {trans("User groups:")}
{icon name="customergroup" class="fa-fw"} {trans("Customer groups:")}
{icon name="division" class="fa-fw"} {trans("Divisions:")}
{button type="submit" icon="save" label="Submit"} {button icon="cancel" label="Cancel" onclick="location.href = '?m=userinfo&id={$userinfo.id}';"}