aboutsummaryrefslogtreecommitdiffstats
path: root/templates/add-domain-1.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/add-domain-1.html')
-rw-r--r--templates/add-domain-1.html91
1 files changed, 91 insertions, 0 deletions
diff --git a/templates/add-domain-1.html b/templates/add-domain-1.html
new file mode 100644
index 0000000..df6ac65
--- /dev/null
+++ b/templates/add-domain-1.html
@@ -0,0 +1,91 @@
+<!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>Add 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> /
+ </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>Add domain</h1>
+
+ <TMPL_IF NAME=error>
+ <div class="fail">Error: <TMPL_VAR NAME=error></div>
+ <TMPL_ELSE>
+ <br/>
+ </TMPL_IF>
+
+ <br/>
+
+ <form class="editform" name="editform" method="post" action="?">
+ <div class="editform">
+ <input type="hidden" name="a" value="add" />
+
+ <h4 class="label" id="domain">Domain name</h4>
+ <input type="text" name="domain" size="15" value="<TMPL_VAR NAME=domain>" />
+ <div class="help">
+ The domain name to be added.
+
+ If you want to transfer an existing domain do use our MX'es, we
+ will ask you to an e-mail where to send a confirmation token
+ token proving you indeed own the domain.
+
+ Buying new domains from this interface will be feasible in the
+ future, but it has not been implemented yet.
+ </div>
+
+ <hr/>
+
+ <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@this-new-domain.org</span>
+ will then be sent to <span class="email">inexisting@example.org</span>.
+ </div>
+ <hr/>
+ <br/>
+
+ <input type="submit" name="submit" value="Submit" />
+ <input type="submit" name="cancel" value="Cancel" />
+ </div>
+ </form>
+ </div>
+ </body>
+</html>