aboutsummaryrefslogtreecommitdiffstats
path: root/template/edit-mailbox.html
diff options
context:
space:
mode:
Diffstat (limited to 'template/edit-mailbox.html')
-rw-r--r--template/edit-mailbox.html6
1 files changed, 4 insertions, 2 deletions
diff --git a/template/edit-mailbox.html b/template/edit-mailbox.html
index 5b8ff99..4ce6837 100644
--- a/template/edit-mailbox.html
+++ b/template/edit-mailbox.html
@@ -22,7 +22,10 @@
<hr/>
<div id="content">
- <h1>Edit mailbox <span class="mailbox"><TMPL_VAR NAME=user>@<TMPL_VAR NAME=domain></span></h1>
+ <h1>Edit mailbox <span class="mailbox"><TMPL_VAR NAME=user>@<TMPL_VAR NAME=domain></span><TMPL_IF NAME=canDelete
+ ><span class="action">[<a href="<TMPL_VAR NAME=url>/<TMPL_VAR NAME=domain>/<TMPL_VAR NAME=user>/?a=delete">delete</a>]</span
+ ></TMPL_IF></h1>
+
<TMPL_IF NAME=newChanges>
<TMPL_IF NAME=error>
@@ -39,7 +42,6 @@
<form class="editform" name="editform" method="post" action="?">
<div class="editform">
<input type="hidden" name="a" value="edit" />
- <input type="hidden" name="t" value="mailbox" />
<h4 class="label" id="status">Status</h4>
<select name="isactive">