You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
87 lines
2.3 KiB
87 lines
2.3 KiB
<table class="title">
|
|
<tr>
|
|
<td class="header">
|
|
<img class="icon" src="images/user.png" alt="" />
|
|
{$user->name}
|
|
</td>
|
|
<td align="right">
|
|
<a href="user.php?f=edit&id={$user->id}"><img src="images/user_edit.png" alt="{$lang_user_edit}"{if $suser_tooltips} title="{$lang_user_edit}"{/if}></a>
|
|
<a href="user.php?f=del&id={$user->id}"><img src="images/user_delete.png" alt="{$lang_user_del}"{if $suser_tooltips} title="{$lang_user_del}"{/if}></a>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
|
|
<table class="info">
|
|
<tr>
|
|
<td class="header">
|
|
{$lang_user}
|
|
</td>
|
|
<td class="header_right">
|
|
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="label">
|
|
{$lang_user_name}
|
|
</td>
|
|
<td class="value">
|
|
<b>{$user->name}</b>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="label">
|
|
{$lang_user_displayname}
|
|
</td>
|
|
<td class="value">
|
|
{$user->displayname}
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="label">
|
|
{$lang_user_realm}
|
|
</td>
|
|
<td class="value">
|
|
{$user->realm}
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="label">
|
|
{$lang_user_roles}
|
|
</td>
|
|
<td class="value">
|
|
{if in_array('add', $user->role)}
|
|
<img src="images/add.png" alt="{$lang_user_role_add}"{if $suser_tooltips} title="{$lang_user_role_add}"{/if} />
|
|
{/if}
|
|
{if in_array('edit', $user->role)}
|
|
<img src="images/edit.png" alt="{$lang_user_role_edit}"{if $suser_tooltips} title="{$lang_user_role_edit}"{/if} />
|
|
{/if}
|
|
{if in_array('delete', $user->role)}
|
|
<img src="images/delete.png" alt="{$lang_user_role_delete}"{if $suser_tooltips} title="{$lang_user_role_delete}"{/if} />
|
|
{/if}
|
|
{if in_array('manage', $user->role)}
|
|
<img src="images/manage.png" alt="{$lang_user_role_manage}"{if $suser_tooltips} title="{$lang_user_role_manage}"{/if} />
|
|
{/if}
|
|
{if in_array('admin', $user->role)}
|
|
<img src="images/admin.png" alt="{$lang_user_role_admin}"{if $suser_tooltips} title="{$lang_user_role_admin}"{/if} />
|
|
{/if}
|
|
</td>
|
|
</tr>
|
|
{if $suser_manage}
|
|
<tr>
|
|
<td class="label">
|
|
{if $newpass}
|
|
{$lang_options_newpassword1}
|
|
{else}
|
|
{$lang_pass_set}
|
|
{/if}
|
|
</td>
|
|
<td class="value">
|
|
{if $newpass}
|
|
{$newpass}
|
|
{else}
|
|
<a href="{$g_scriptname}?f=pass&id={$user->id}"><img src="images/key_add.png" alt="{$lang_reset}"{if $suser_tooltips} title="{$lang_pass_set}"{/if} /></a>
|
|
{/if}
|
|
</td>
|
|
</tr>
|
|
{/if}
|
|
</table>
|
|
|