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