Details | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
920 | dev | 1 | <%@ page contentType="text/html;charset=UTF-8" language="java" %> |
2 | <%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %> |
||
3 | <%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %> |
||
4 | <%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %> |
||
5 | <%@ taglib uri="/WEB-INF/ak-backpath.tld" prefix="backpath" %> |
||
6 | <%@ taglib uri="/WEB-INF/hostcaptain-core.tld" prefix="core" %> |
||
7 | <html> |
||
8 | |||
9 | <head> |
||
10 | <meta http-equiv="expires" content="0"> |
||
11 | <title><bean:message key="ak.hostcaptain.page.mail.box.edit.title" /></title> |
||
12 | </head> |
||
13 | |||
14 | <body> |
||
15 | |||
16 | <h1><bean:message key="ak.hostcaptain.page.mail.box.edit.title" /></h1> |
||
17 | |||
18 | <html:errors/> |
||
19 | |||
20 | <html:form action="/mail/box/submit"> |
||
21 | <backpath:current /> |
||
22 | <html:hidden property="id" /> |
||
23 | |||
24 | <table border=1> |
||
25 | <tr> |
||
26 | <th><bean:message key="ak.hostcaptain.page.mail.box.edit.login" /></th> |
||
27 | <td><html:text property="login" /></td> |
||
28 | </tr> |
||
29 | <tr> |
||
30 | <td colspan=2>FIXME: checkbox to get password from owner</td> |
||
31 | </tr> |
||
32 | <tr> |
||
33 | <th><bean:message key="ak.hostcaptain.page.mail.box.edit.password" /></th> |
||
34 | <td><html:password property="password" redisplay="false" /></td> |
||
35 | </tr> |
||
36 | <tr> |
||
37 | <th><bean:message key="ak.hostcaptain.page.mail.box.edit.password_again" /></th> |
||
38 | <td><html:password property="password2" redisplay="false" /></td> |
||
39 | </tr> |
||
40 | <tr> |
||
41 | <th><bean:message key="ak.hostcaptain.page.mail.box.edit.domain" /></th> |
||
42 | <td> |
||
43 | <html:select property="domain"> |
||
44 | <html:option value="" key="ak.hostcaptain.page.mail.box.edit.domain.empty"/> |
||
45 | <html:options collection="domains" property="id" labelProperty="name" /> |
||
46 | </html:select> |
||
47 | </td> |
||
48 | </tr> |
||
49 | <tr> |
||
50 | <th><bean:message key="ak.hostcaptain.page.mail.box.edit.owner" /></th> |
||
51 | <td> |
||
52 | <html:select property="owner"> |
||
53 | <html:option value="" key="ak.hostcaptain.page.mail.box.edit.owner.empty"/> |
||
54 | <html:options collection="users" property="id" labelProperty="login" /> |
||
55 | </html:select> |
||
56 | </td> |
||
57 | </tr> |
||
58 | <tr> |
||
59 | <th><bean:message key="ak.hostcaptain.page.mail.box.edit.systemuser" /></th> |
||
60 | <td> |
||
61 | <html:select property="systemuser"> |
||
62 | <html:option value="" key="ak.hostcaptain.page.mail.box.edit.systemuser.empty"/> |
||
63 | <core:options collection="systemusers" property="id" /> |
||
64 | </html:select> |
||
65 | </td> |
||
66 | </tr> |
||
67 | <tr> |
||
68 | <th><bean:message key="ak.hostcaptain.page.mail.box.edit.viruscheck" /></th> |
||
69 | <td><html:checkbox property="viruscheck" /></td> |
||
70 | </tr> |
||
71 | <tr> |
||
72 | <th><bean:message key="ak.hostcaptain.page.mail.box.edit.spamcheck" /></th> |
||
73 | <td><html:checkbox property="spamcheck" /></td> |
||
74 | </tr> |
||
75 | <tr> |
||
76 | <th><bean:message key="ak.hostcaptain.page.mail.box.edit.enabled" /></th> |
||
77 | <td><html:checkbox property="enabled" /></td> |
||
78 | </tr> |
||
79 | <tr> |
||
80 | <th><bean:message key="ak.hostcaptain.page.mail.box.edit.comment" /></th> |
||
81 | <td><html:textarea property="comment" /></td> |
||
82 | </tr> |
||
83 | <tr> |
||
84 | <td colspan=2> |
||
85 | <html:submit><bean:message key="ak.hostcaptain.page.mail.box.edit.submit" /></html:submit> |
||
86 | <backpath:backlink><bean:message key="ak.hostcaptain.page.mail.box.edit.back" /></backpath:backlink> |
||
87 | </td> |
||
88 | </tr> |
||
89 | </table> |
||
90 | |||
91 | </html:form> |
||
92 | |||
93 | </body> |
||
94 | |||
95 | </html> |