{icon name="user"}
|
{trans("First name:")}
|
{$userinfo.firstname|escape}
|
{icon name="user"}
|
{trans("Last name:")}
|
{$userinfo.lastname|escape}
|
{if $userinfo.issuer}
{icon name="document"}
|
{trans("Issuer")}
|
{$userinfo.issuer|escape}
|
{/if}
{if $userinfo.position}
{icon name="info"}
|
{trans("Position:")}
|
{$userinfo.position}
|
{/if}
{if $userinfo.email}
{icon name="mail"}
|
{trans("E-mail:")}
|
{$userinfo.email}
|
{/if}
{if $userinfo.phone}
{icon name="sms"}
|
{trans("Phone:")}
|
{$userinfo.phone}
|
{/if}
{icon name="options"}
|
{trans("Notification:")}
|
{if !$userinfo.ntype}{trans("none")}{else}{$userinfo.ntype}{/if}
|
{if $userinfo.access}
{icon name="connected"}
{else}
{icon name="disconnected"}
{/if}
|
{trans("Account active:")}
|
{if $userinfo.access}{icon name="checked" tip="yes"}{else}-{/if}
|
{if $userinfo.accessfrom || $userinfo.accessto}
{icon name="calendar"}
|
{trans("Account active:")}
|
{if $userinfo.accessfrom}{trans("from")}: {$userinfo.accessfrom}{/if}
{if $userinfo.accessto}{trans("to")}: {$userinfo.accessto}{/if}
|
{/if}
{if $userinfo.passwdforcechange}
{icon name="password"}
|
{trans("Force password change:")}
|
{trans("yes")}
|
{/if}
{icon name="password"}
|
{trans("Two factor authentication:")}
|
{if $userinfo.twofactorauth}
{trans("yes")}
{if ConfigHelper::checkPrivilege('user_management')}
{button icon="password" id="secretkey-show-button" label="Show secret key"}
{button icon="password" id="secretkey-hide-button" label="Hide secret key" visible=false}
{/if}
{else}
{trans("no")}
{/if}
|
{if ConfigHelper::checkPrivilege('user_management') && $userinfo.twofactorauth}
|
{$userinfo.twofactorauthsecretkey}
|
{/if}
{icon name="ipnetwork"}
|
{trans("Allowed hosts:")}
|
{if $userinfo.hosts}{$userinfo.hosts}{else}{trans("all")}{/if}
|
{icon name="password"}
|
{trans("Password expiration:")}
|
{$_PASSWDEXPIRATIONS[$userinfo.passwdexpiration]}
|
{icon name="password"}
|
{trans("Last password change:")}
|
{$userinfo.passwdlastchange}
|
{icon name="permissions"}
|
{trans("Access rights:")}
|
{foreach $accesslist as $access}
{if $access.enabled}
- {$access.name}
{/if}
{/foreach}
|
{icon name="usergroup"}
|
{trans("User groups:")}
|
{foreach $userinfo.usergroups as $item}
{if $item@first}{/if}
{/foreach}
|
{icon name="customergroup"}
|
{trans("Excluded groups:")}
|
{foreach $excludedgroups as $item}
{if $item@first}{/if}
- 10} style="display: none;"{/if}>{$item.name}
{if $item@last}
{if $item@iteration > 10}
{button icon="more" tip="Show more/less" id="show-more-less"}
{/if}
{/if}
{foreachelse}
-
{/foreach}
|
{icon name="division"}
|
{trans("Divisions:")}
|
{foreach $user_divisions as $item}
{if $item@first}{/if}
{/foreach}
|
|
{trans("Last login:")}
|
{$userinfo.lastlogin}, {$userinfo.lastloginip} {if $userinfo.lastloginip != $userinfo.lastloginhost}({$userinfo.lastloginhost}){/if}
|
|
{trans("Last failed login:")}
|
{$userinfo.faillogin}, {$userinfo.failedloginip} {if $userinfo.failedloginip != $userinfo.failedloginhost}({$userinfo.failedloginhost}){/if}
|
{block name="other-information"}
{/block}
{if $layout.logid ne $userinfo.id}
{if !$userinfo.access}
{button label="Connect" icon="disconnected" href="?m=useraccess&id={$userinfo.id}&access=1"}
{else}
{button label="Disconnect" icon="connected" href="?m=useraccess&id={$userinfo.id}&access=0"}
{/if}
{/if}
{button type="link-button" label="Edit" icon="edit" href="?m=useredit&id={$userinfo.id}"}
{button label="Delete" icon="delete" id="delete-user" data_href="?m=userdel&id={$userinfo.id}"}
{if $layout.logid ne $userinfo.id}
{if ConfigHelper::checkPrivilege('superuser')}
{button label="Switch to" icon="login" href="?m=userswitch&id={$userinfo.id}"}
{/if}
{button label="Force password change" icon="password" href="?m=useredit&id={$userinfo.id}&forcepasswdchange=1"}
{/if}
{button type="link-button" label="Change password" icon="password" href="?m=userpasswd&id={$userinfo.id}"}
{button type="link-button" label="Change network password" icon="password" href="?m=userpasswd&id={$userinfo.id}&net=1"}
{button type="link-button" label="User list" icon="list" href="?m=userlist"}
|