aboutsummaryrefslogtreecommitdiffstats
path: root/template/add-mailbox.html
diff options
context:
space:
mode:
authorGuilhem Moulin <guilhem.moulin@fripost.org>2012-09-09 18:14:46 +0200
committerGuilhem Moulin <guilhem.moulin@fripost.org>2012-09-09 18:14:46 +0200
commit740b76159edede54d04100b3168e43975c34b5e0 (patch)
treea4788ec709eb5c61940d17a20d5b2b484e9f8a21 /template/add-mailbox.html
parent398823dc33e19608b7561f641a0156a8d1ffdca1 (diff)
W3C Validator (HTML 5 + XHTML 1.1 + CSS level 3)
Diffstat (limited to 'template/add-mailbox.html')
-rw-r--r--template/add-mailbox.html84
1 files changed, 38 insertions, 46 deletions
diff --git a/template/add-mailbox.html b/template/add-mailbox.html
index 5966b5f..d82af0e 100644
--- a/template/add-mailbox.html
+++ b/template/add-mailbox.html
@@ -20,76 +20,67 @@
</div>
<hr/>
- <h1>Add mailbox under <tt><TMPL_VAR NAME=domain></tt></h1>
+ <div id="content">
+ <h1>Add mailbox 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="mailbox" />
- <p>
- <h4 class="label">User name</h4>
- <input type="text" name="user" size="15" value="<TMPL_VAR NAME=user>"/>@<TMPL_VAR NAME=domain>
- </p>
+ <h4 class="label">User name</h4>
+ <input type="text" name="user" size="15" value="<TMPL_VAR NAME=user>"/>@<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">Password</h4>
-
- <table class="loginform">
- <tr>
- <td class="label">Password</td>
- <td><input type="password" name="password" size="20" /></td>
- </tr>
- <tr>
- <td class="label">Repeat password</td>
- <td><input type="password" name="password2" size="20" /></td>
- </tr>
- </table>
- </p>
+ <h4 class="label">Password</h4>
+
+ <table class="loginform">
+ <tr>
+ <td class="label">Password</td>
+ <td><input type="password" name="password" size="20" /></td>
+ </tr>
+ <tr>
+ <td class="label">Repeat password</td>
+ <td><input type="password" name="password2" size="20" /></td>
+ </tr>
+ </table>
<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">Mail forwarding</h4>
- <textarea type="text" name="forwards" cols="50" rows="10" wrap="hard" ><TMPL_VAR NAME=forwards></textarea>
- <div class="help">
- An optional list of destinations (one e-mail address per line) that
- will <i>also</i> receive mail delivered to this mailbox.
- </div>
- </p>
+ <h4 class="label">Mail forwarding</h4>
+ <textarea name="forwards" cols="50" rows="10" ><TMPL_VAR NAME=forwards></textarea>
+ <div class="help">
+ An optional list of destinations (one e-mail address per line) that
+ will <i>also</i> receive mail delivered to this mailbox.
+ </div>
<hr/>
<br/>
@@ -98,5 +89,6 @@
<input type="submit" name="submit" value="Submit" />
</div>
</form>
+ </div>
</body>
</html>