diff options
Diffstat (limited to 'template/edit-alias.html')
-rw-r--r-- | template/edit-alias.html | 83 |
1 files changed, 83 insertions, 0 deletions
diff --git a/template/edit-alias.html b/template/edit-alias.html new file mode 100644 index 0000000..dc046cd --- /dev/null +++ b/template/edit-alias.html @@ -0,0 +1,83 @@ +<!DOCTYPE html> +<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> + <head> + <meta http-equiv="Content-Type" content="text/html;charset=utf-8" /> + <title>Edit alias <TMPL_VAR NAME=ALIAS>@<TMPL_VAR NAME=DOMAIN></title> + <link href="/css/style.css" media="all" rel="stylesheet" type="text/css" /> + </head> + <body> + <div id="header"> + <div class="left column"> + <a href="<TMPL_VAR NAME=URL>/">Root</a> / + <a href="<TMPL_VAR NAME=URL>/<TMPL_VAR NAME=DOMAIN>/"><TMPL_VAR NAME=DOMAIN></a> / + <TMPL_VAR NAME=ALIAS> / + </div> + <div class="right column"> + Logged as <a href="<TMPL_VAR NAME=URL>/<TMPL_VAR NAME=USER_DOMAINPART>/<TMPL_VAR NAME=USER_LOCALPART>/?a=edit" + ><TMPL_VAR NAME=USER_LOCALPART>@<TMPL_VAR NAME=USER_DOMAINPART></a> + | <a href="<TMPL_VAR NAME=URL>/?a=logout">Log out</a> + </div> + <br/> + </div> + <hr/> + + <h1>Edit alias <tt><TMPL_VAR NAME=ALIAS>@<TMPL_VAR NAME=DOMAIN></tt></h1> + + <TMPL_IF NAME=NEWCHANGES> + <TMPL_IF NAME=ERROR> + <div class="fail">Error: <TMPL_VAR NAME=ERROR></div> + <TMPL_ELSE> + <div class="success">Your changes have succesfully been submitted.</div> + </TMPL_IF> + <TMPL_ELSE> + </br> + </TMPL_IF> + + <br/> + + <form class="editform" name="editform" method="post"> + <div class="editform"> + <input type="hidden" name="a" value="edit" /> + <input type="hidden" name="t" value="alias" /> + + <p> + <h4 class="label">Status</h4> + <select name="status"> + <option value="active" <TMPL_IF NAME=ISACTIVE>selected</TMPL_IF>>Active</option> + <option value="inactive" <TMPL_UNLESS NAME=ISACTIVE>selected</TMPL_UNLESS>>Inactive</option> + </select> + <div class="help"> + <b>Warning</b>: emails are <i>not</i> delivered to inactive entries. + </div> + </p> + + <hr/> + + <p> + <h4 class="label">Description</h4> + <textarea type="text" name="description" cols="50" rows="3" wrap="soft"><TMPL_VAR NAME=DESCRIPTION></textarea> + <div class="help"> + An optional description. (HTML tags are allowed.) + </div> + </p> + + <hr/> + + <p> + <h4 class="label">Destination(s)</h4> + <textarea type="text" name="maildrop" cols="50" rows="10" wrap="hard" ><TMPL_VAR NAME=MAILDROP></textarea> + <div class="help"> + The list of destinations (one e-mail address per line) that + will receive mail sent to + <tt><TMPL_VAR NAME=ALIAS>@<TMPL_VAR NAME=DOMAIN><tt>. + </div> + </p> + + <hr/> + + <input type="hidden" name="destination" value="<TMPL_VAR NAME=DESTINATION>" /> + <input type="submit" name="submit" value="Submit Changes" /> + </div> + </form> + </body> +</html> |