aboutsummaryrefslogtreecommitdiffstats
path: root/template/edit-domain.html
diff options
context:
space:
mode:
authorGuilhem Moulin <guilhem.moulin@fripost.org>2013-01-18 21:05:05 +0100
committerGuilhem Moulin <guilhem.moulin@fripost.org>2013-01-18 21:07:07 +0100
commitbbf7a4b561414d43bedde682c9f7b041c6de88ad (patch)
tree6cf07611b0cfeca6c2297792347b916a6c0ff5ef /template/edit-domain.html
parent58bf9c43bf20c060a9e0623cb9f032b63889b384 (diff)
Amavis attributes and templates.
Diffstat (limited to 'template/edit-domain.html')
-rw-r--r--template/edit-domain.html120
1 files changed, 0 insertions, 120 deletions
diff --git a/template/edit-domain.html b/template/edit-domain.html
deleted file mode 100644
index dbbdf3c..0000000
--- a/template/edit-domain.html
+++ /dev/null
@@ -1,120 +0,0 @@
-<!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 domain <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="../">Root</a> /
- <a href="./"><TMPL_VAR NAME=domain></a> /
- </div>
- <div class="right column">
- Logged as <a href="<TMPL_VAR NAME=userURI>/?a=edit"
- ><TMPL_VAR NAME=user_localpart>@<TMPL_VAR NAME=user_domainpart></a>
- | <a href="../?a=logout">Log out</a>
- </div>
- <br/>
- </div>
- <hr/>
-
- <div id="content">
- <h1>Edit domain <span class="domain"><TMPL_VAR NAME=domain></span></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" action="?">
- <div class="editform">
- <input type="hidden" name="a" value="edit" />
-
- <h4 class="label" id="status">Status</h4>
- <select name="isactive">
- <option value="1" <TMPL_IF NAME=isactive>selected="selected"</TMPL_IF>>Active</option>
- <option value="0" <TMPL_UNLESS NAME=isactive>selected="selected"</TMPL_UNLESS>>Inactive</option>
- </select>
- <div class="help">
- <b>Warning</b>: emails are <i>not</i> delivered to users,
- aliases or lists under inactive domains.
- </div>
-
- <hr/>
-
- <h4 class="label" id="description">Description</h4>
- <textarea name="description" cols="50" rows="5" ><TMPL_VAR NAME=description></textarea>
- <div class="help">
- An optional description. (HTML tags are allowed.)
- </div>
-
- <hr/>
-
- <h4 class="label" id="catch-all">Catch-All aliases</h4>
- <textarea name="catchalls" cols="50" rows="5" ><TMPL_VAR NAME=catchalls></textarea>
- <div class="help">
- An optional list of destinations (one e-mail address per line) that
- will receive mail sent to <i>non existing</i> recipients.
- Domain aliases can be defined by leaving the local part of
- the destination empty, like in <span class="email">@example.org</span>:
- email to <span class="email">inexisting@<TMPL_VAR NAME=domain></span>
- will then be sent to <span class="email">inexisting@example.org</span>.
- </div>
-
- <TMPL_IF NAME=isPostmaster>
- <hr/>
-
- <h4 class="label" id="canCreateAlias">Grant right to create aliases</h4>
- <textarea name="canCreateAlias" cols="50" rows="5" ><TMPL_VAR NAME=canCreateAlias></textarea>
- <div class="help">
- An optional list of e-mails (one address per line) that are
- allowed to create aliases under your domain
- <span class="domain"><TMPL_VAR NAME=domain></span>.
- It is possible to grant right for a whole domain by leaving out
- the local part: For instance, listing
- <span class="email">@example.org</span> here will give every user
- under <span class="domain">example.org</span> the right to
- create aliases under
- <span class="domain"><TMPL_VAR NAME=domain></span>.
- <i>Note</i>: You already have this right, so there is no need to
- list your e-mail here.
- </div>
-
- <hr/>
-
- <h4 class="label" id="canCreateList">Grant right to create lists</h4>
- <textarea name="canCreateList" cols="50" rows="5" ><TMPL_VAR NAME=canCreateList></textarea>
- <div class="help">
- An optional list of e-mails (one address per line) that are
- allowed to create mailing lists under your domain
- <span class="domain"><TMPL_VAR NAME=domain></span>.
- It is possible to grant right for a whole domain by leaving out
- the local part: For instance, listing
- <span class="email">@example.org</span> here will give every user
- under <span class="domain">example.org</span> the right to
- create mailing lists under
- <span class="domain"><TMPL_VAR NAME=domain></span>.
- <i>Note</i>: You already have this right, so there is no need to
- list your e-mail here.
- </div>
-
- </TMPL_IF>
- <hr/>
- <br/>
-
- <input type="submit" name="cancel" value="Cancel" />
- <input type="submit" name="submit" value="Submit" />
- </div>
- </form>
- </div>
- </body>
-</html>