|
{trans("First name:")}
|
{$userinfo.firstname}
|
|
{trans("Last name:")}
|
{$userinfo.lastname}
|
{if $userinfo.position}
|
{trans("Position:")} |
{$userinfo.position}
|
{/if}
{if $userinfo.email}
|
{trans("E-mail:")} |
{$userinfo.email}
|
{/if}
{if $userinfo.phone}
|
{trans("Phone:")} |
{$userinfo.phone}
|
{/if}
|
{trans("Notification:")} |
{if !$userinfo.ntype}{trans("none")}{else}{$userinfo.ntype}{/if}
|
|
{trans("Account active:")} |
{if !$userinfo.access}{trans("no")}{else}{trans("yes")}{/if}
|
{if $userinfo.accessfrom || $userinfo.accessto}
|
{trans("Account active:")} |
{if $userinfo.accessfrom}{trans("from")}: {$userinfo.accessfrom}{/if}
{if $userinfo.accessto} {trans("to")}: {$userinfo.accessto}{/if}
|
{/if}
{if $userinfo.passwdforcechange}
|
{trans("Force password change:")}
|
{trans("yes")}
|
{/if}
|
{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}
|
{trans("Allowed hosts:")}
|
{if $userinfo.hosts}{$userinfo.hosts}{else}{trans("all")}{/if}
|
|
{trans("Password expiration:")}
|
{$_PASSWDEXPIRATIONS[$userinfo.passwdexpiration]}
|
|
{trans("Last password change:")}
|
{$userinfo.passwdlastchange}
|
|
{trans("Access rights:")} |
{foreach $accesslist as $access}
{if $access.enabled}
- {$access.name}
{/if}
{/foreach}
|
|
{trans("Excluded groups:")} |
{foreach from=$excludedgroups item=item}
{if $item@first}{/if}
{foreachelse}
-
{/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" onclick="location.href = '?m=useraccess&id={$userinfo.id}&access=1';"}
{else}
{button label="Disconnect" icon="connected" onclick="location.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" href="?m=userdel&id={$userinfo.id}"}
{if $layout.logid ne $userinfo.id}
{button label="Force password change" icon="password" onclick="location.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="User list" icon="list" href="?m=userlist"}
|