You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
postfixadmin/templates/admin_list-admin.tpl

23 lines
1.0 KiB
Smarty

{if $admin_properties}
<table id="admin_table">
{#tr_header#}
<td>{$PALANG.pAdminList_admin_username}</td>
<td>{$PALANG.pAdminList_admin_count}</td>
<td>{$PALANG.pAdminList_admin_modified}</td>
<td>{$PALANG.pAdminList_admin_active}</td>
<td colspan="2">&nbsp;</td>
</tr>
{foreach from=$admin_properties item=admin}
{#tr_hilightoff#}
<td><a href="list-domain.php?username={$admin.name|escape:"url"}">{$admin.name}</a></td>
<td>{$admin.domain_count}</td>
<td>{$admin.modified}</td>
<td><a href="{#url_edit_active_admin#}?username={$admin.name|escape:"url"}">{$admin.active}</a></td>
<td><a href="{#url_edit_admin#}?username={$admin.name|escape:"url"}">{$PALANG.edit}</a></td>
<td><a href="{#url_delete#}?table=admin&amp;delete={$admin.name|escape:"url"}" onclick="return confirm ('{$PALANG.confirm}{$PALANG.pAdminList_admin_username}: {$admin.name}');">{$PALANG.del}</a></td>
</tr>
{/foreach}
</table>
<p><a href="{#url_create_admin#}">{$PALANG[$smarty.config.txt_create_admin]}</a></p>
{/if}