0
0
mirror of https://github.com/postfixadmin/postfixadmin.git synced 2024-09-20 03:36:20 +02:00
postfixadmin/templates/adminlistadmin.tpl
Christian Boltz 4be543e313 adminlistadmin.tpl, adminlistdomain.tpl:
- fix undefined variables (by using $PALANG.* instead)

footer.tpl:
- remove undefined variable because the correct one is already included


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@963 a1433add-5e2c-0410-b055-b7f2511e0802
2011-02-14 18:30:13 +00:00

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.pAdminMenu_create_admin}</a></p>
{/if}