aboutsummaryrefslogtreecommitdiffstats
path: root/template/edit-domain.html
diff options
context:
space:
mode:
Diffstat (limited to 'template/edit-domain.html')
-rw-r--r--template/edit-domain.html65
1 files changed, 29 insertions, 36 deletions
diff --git a/template/edit-domain.html b/template/edit-domain.html
index fa3d8e3..e6373e8 100644
--- a/template/edit-domain.html
+++ b/template/edit-domain.html
@@ -20,7 +20,8 @@
</div>
<hr/>
- <h1>Edit domain <tt><TMPL_VAR NAME=domain></tt></h1>
+ <div id="content">
+ <h1>Edit domain <span class="domain"><TMPL_VAR NAME=domain></span></h1>
<TMPL_IF NAME=newChanges>
<TMPL_IF NAME=error>
@@ -29,54 +30,45 @@
<div class="success">Your changes have succesfully been submitted.</div>
</TMPL_IF>
<TMPL_ELSE>
- </br>
+ <br/>
</TMPL_IF>
<br/>
- <form class="editform" name="editform" method="post">
+ <form class="editform" name="editform" method="post" action="?">
<div class="editform">
<input type="hidden" name="a" value="edit" />
- <p>
- <a name="status"></a>
- <h4 class="label">Status</h4>
- <select name="isactive">
- <option value="1" <TMPL_IF NAME=isactive>selected</TMPL_IF>>Active</option>
- <option value="0" <TMPL_UNLESS NAME=isactive>selected</TMPL_UNLESS>>Inactive</option>
- </select>
- <div class="help">
- <b>Warning</b>: emails are <i>not</i> delivered to mailboxes,
- aliases or lists of inactive domains.
- </div>
- </p>
+ <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 mailboxes,
+ aliases or lists of inactive domains.
+ </div>
<hr/>
- <p>
- <a name="description"></a>
- <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>
+ <h4 class="label" id="description">Description</h4>
+ <textarea name="description" cols="50" rows="3" ><TMPL_VAR NAME=description></textarea>
+ <div class="help">
+ An optional description. (HTML tags are allowed.)
+ </div>
<hr/>
- <p>
- <a name="catch-all"></a>
- <h4 class="label">Catch-All aliases</h4>
- <textarea type="text" name="catchalls" cols="50" rows="10" wrap="hard" ><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 <tt>@example.org</tt>: email
- to <tt>inexisting@<TMPL_VAR NAME=domain></tt>
- will then be sent to <tt>inexisting@example.org</tt>.
- </div>
- </p>
+ <h4 class="label" id="catch-all">Catch-All aliases</h4>
+ <textarea name="catchalls" cols="50" rows="10" ><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>
<hr/>
<br/>
@@ -85,5 +77,6 @@
<input type="submit" name="submit" value="Submit" />
</div>
</form>
+ </div>
</body>
</html>