diff options
author | Guilhem Moulin <guilhem.moulin@fripost.org> | 2012-09-09 23:34:54 +0200 |
---|---|---|
committer | Guilhem Moulin <guilhem.moulin@fripost.org> | 2012-09-09 23:34:54 +0200 |
commit | 62f0ac114989808ebb84e7728b4b7e9f65d53c0e (patch) | |
tree | 52d70e2bbff7c37eaabe625186444e26dd0feadc /template | |
parent | ec17f0ce71a233025768a54b4a1beae34e2b8a45 (diff) |
Added delete links.
Diffstat (limited to 'template')
-rw-r--r-- | template/edit-alias.html | 5 | ||||
-rw-r--r-- | template/edit-list.html | 6 | ||||
-rw-r--r-- | template/edit-mailbox.html | 6 |
3 files changed, 11 insertions, 6 deletions
diff --git a/template/edit-alias.html b/template/edit-alias.html index ef7c553..85e2d5f 100644 --- a/template/edit-alias.html +++ b/template/edit-alias.html @@ -22,7 +22,9 @@ <hr/> <div id="content"> - <h1>Edit alias <span class="email"><TMPL_VAR NAME=alias>@<TMPL_VAR NAME=domain></span></h1> + <h1>Edit alias <span class="email"><TMPL_VAR NAME=alias>@<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=alias>/?a=delete">delete</a>]</span + ></TMPL_IF></h1> <TMPL_IF NAME=newChanges> <TMPL_IF NAME=error> @@ -39,7 +41,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="alias" /> <h4 class="label" id="status">Status</h4> <select name="isactive"> diff --git a/template/edit-list.html b/template/edit-list.html index 0a2b5e3..66e5d45 100644 --- a/template/edit-list.html +++ b/template/edit-list.html @@ -22,7 +22,10 @@ <hr/> <div id="content"> - <h1>Edit list <span class="email"><TMPL_VAR NAME=list>@<TMPL_VAR NAME=domain></span></h1> + <h1>Edit list <span class="email"><TMPL_VAR NAME=list>@<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=list>/?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="list" /> <h4 class="label" id="status">Status</h4> <select name="isactive"> 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"> |