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.
58 lines
1.7 KiB
58 lines
1.7 KiB
<table class="title">
|
|
<tr>
|
|
<td class="header">
|
|
<img class="icon" src="images/user.png" alt="" />
|
|
{$lang_users} ({$users|@count})
|
|
</td>
|
|
<td align="right">
|
|
<a href="useradd.php"><img src="images/user_add.png" alt="{$lang_user_add}" /></a>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
|
|
<table class="info">
|
|
<tr>
|
|
<td class="header">
|
|
{$lang_user_name}
|
|
</td>
|
|
<td class="header">
|
|
{$lang_user_realm}
|
|
</td>
|
|
<td class="header">
|
|
{$lang_user_displayname}
|
|
</td>
|
|
<td class="header">
|
|
{$lang_user_roles}
|
|
</td>
|
|
</tr>
|
|
{foreach item=user from=$users}
|
|
<tr>
|
|
<td class="label">
|
|
<a href="userview.php?user_id={$user.id}">{$user.name}</a>
|
|
</td>
|
|
<td class="value">
|
|
{$user.realm}
|
|
</td>
|
|
<td class="value">
|
|
{$user.displayname}
|
|
</td>
|
|
<td class="value">
|
|
{if in_array('add', $user.role)}
|
|
<img src="images/page_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/page_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/page_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>
|
|
{/foreach}
|
|
</table>
|
|
|