aboutsummaryrefslogtreecommitdiffstats
path: root/template/add-alias.html
diff options
context:
space:
mode:
Diffstat (limited to 'template/add-alias.html')
-rw-r--r--template/add-alias.html62
1 files changed, 28 insertions, 34 deletions
diff --git a/template/add-alias.html b/template/add-alias.html
index 385060e..7ceb4cf 100644
--- a/template/add-alias.html
+++ b/template/add-alias.html
@@ -20,59 +20,52 @@
</div>
<hr/>
- <h1>Add alias under <tt><TMPL_VAR NAME=domain></tt></h1>
+ <div id="content">
+ <h1>Add alias under <span class="domain"><TMPL_VAR NAME=domain></span></h1>
<TMPL_IF NAME=error>
<div class="fail">Error: <TMPL_VAR NAME=error></div>
<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="add" />
- <input type="hidden" name="t" value="alias" />
+ <input type="hidden" name="a" value="add" />
+ <input type="hidden" name="t" value="alias" />
- <p>
- <h4 class="label">Alias name</h4>
- <input type="text" name="alias" size="15" value="<TMPL_VAR NAME=alias>"/>@<TMPL_VAR NAME=domain>
- </p>
+ <h4 class="label">Alias name</h4>
+ <input type="text" name="alias" size="15" value="<TMPL_VAR NAME=alias>"/>@<TMPL_VAR NAME=domain>
<hr/>
- <p>
- <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 inactive entries.
- </div>
- </p>
+ <h4 class="label">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 inactive entries.
+ </div>
<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>
+ <h4 class="label">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>
- <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 for this alias.
- </div>
- </p>
+ <h4 class="label">Destination(s)</h4>
+ <textarea name="maildrop" cols="50" rows="10" ><TMPL_VAR NAME=maildrop></textarea>
+ <div class="help">
+ The list of destinations (one e-mail address per line) that
+ will receive mail for this alias.
+ </div>
<hr/>
<br/>
@@ -81,5 +74,6 @@
<input type="submit" name="submit" value="Submit" />
</div>
</form>
+ </div>
</body>
</html>