Rev 925 | Rev 961 | Go to most recent revision | Only display areas with differences | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 925 | Rev 958 | ||
---|---|---|---|
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/ak-strutsx.tld" prefix="strutsx" %> |
|
6 | <%@ taglib uri="/WEB-INF/hostadmiral-core.tld" prefix="core" %> |
7 | <%@ taglib uri="/WEB-INF/hostadmiral-core.tld" prefix="core" %> |
7 | <html> |
8 | <html> |
8 | 9 | ||
9 | <head> |
10 | <head> |
10 | <meta http-equiv="expires" content="0"> |
11 | <meta http-equiv="expires" content="0"> |
11 | <title><bean:message key="ak.hostadmiral.page.mail.box.view.title" /></title> |
12 | <title><bean:message key="ak.hostadmiral.page.mail.box.view.title" /></title> |
- | 13 | <link rel="stylesheet" type="text/css" href="<strutsx:root />/style/general.css"> |
|
12 | </head> |
14 | </head> |
13 | 15 | ||
14 | <body> |
16 | <body> |
15 | 17 | ||
16 | <h1><bean:message key="ak.hostadmiral.page.mail.box.view.title" /></h1> |
18 | <h1><bean:message key="ak.hostadmiral.page.mail.box.view.title" /></h1> |
17 | 19 | ||
- | 20 | <strutsx:errorsIterator id="errors" /> |
|
- | 21 | <strutsx:notEmpty name="errors"> |
|
- | 22 | <div class="error"><bean:message key="ak.hostadmiral.page.general.errors" />: |
|
- | 23 | <ul> |
|
- | 24 | <logic:iterate name="errors" id="error"> |
|
- | 25 | <li><strutsx:message name="error" property="key" valuesProperty="values" /></li> |
|
- | 26 | </logic:iterate> |
|
- | 27 | </ul> |
|
- | 28 | </div> |
|
18 | <html:errors/> |
29 | </strutsx:notEmpty> |
19 | 30 | ||
20 | <table border=1> |
31 | <table border=1> |
21 | <tr> |
32 | <tr> |
22 | <th><bean:message key="ak.hostadmiral.page.mail.box.view.login" /></th> |
33 | <th><bean:message key="ak.hostadmiral.page.mail.box.view.login" /></th> |
23 | <td><bean:write name="mailbox" property="login" /></td> |
34 | <td><bean:write name="mailbox" property="login" /></td> |
24 | </tr> |
35 | </tr> |
25 | <tr> |
36 | <tr> |
26 | <td colspan=2>FIXME: show if password is get from owner</td> |
37 | <td colspan=2>FIXME: show if password is get from owner</td> |
27 | </tr> |
38 | </tr> |
28 | <tr> |
39 | <tr> |
29 | <th><bean:message key="ak.hostadmiral.page.mail.box.view.domain" /></th> |
40 | <th><bean:message key="ak.hostadmiral.page.mail.box.view.domain" /></th> |
30 | <td><bean:write name="mailbox" property="domain.name" /></td> |
41 | <td><bean:write name="mailbox" property="domain.name" /></td> |
31 | </tr> |
42 | </tr> |
32 | <tr> |
43 | <tr> |
33 | <th><bean:message key="ak.hostadmiral.page.mail.box.view.owner" /></th> |
44 | <th><bean:message key="ak.hostadmiral.page.mail.box.view.owner" /></th> |
34 | <td><bean:write name="mailbox" property="owner.login" /></td> |
45 | <td><bean:write name="mailbox" property="owner.login" /></td> |
35 | </tr> |
46 | </tr> |
36 | <tr> |
47 | <tr> |
37 | <th><bean:message key="ak.hostadmiral.page.mail.box.view.systemuser" /></th> |
48 | <th><bean:message key="ak.hostadmiral.page.mail.box.view.systemuser" /></th> |
38 | <td> |
49 | <td> |
39 | <logic:present name="mailbox" property="systemUser"> |
50 | <logic:present name="mailbox" property="systemUser"> |
40 | <bean:write name="mailbox" property="systemUser.name" /> (<bean:write name="mailbox" property="systemUser.uid" />) |
51 | <bean:write name="mailbox" property="systemUser.name" /> (<bean:write name="mailbox" property="systemUser.uid" />) |
41 | </logic:present> |
52 | </logic:present> |
42 | <logic:notPresent name="mailbox" property="systemUser"> |
53 | <logic:notPresent name="mailbox" property="systemUser"> |
43 | <bean:message key="ak.hostadmiral.page.mail.box.view.systemuser.empty" /> |
54 | <bean:message key="ak.hostadmiral.page.mail.box.view.systemuser.empty" /> |
44 | </logic:notPresent> |
55 | </logic:notPresent> |
45 | </td> |
56 | </td> |
46 | </tr> |
57 | </tr> |
47 | <tr> |
58 | <tr> |
48 | <th><bean:message key="ak.hostadmiral.page.mail.box.view.viruscheck" /></th> |
59 | <th><bean:message key="ak.hostadmiral.page.mail.box.view.viruscheck" /></th> |
49 | <td> |
60 | <td> |
50 | <logic:equal name="mailbox" property="virusCheck" value="true"> |
61 | <logic:equal name="mailbox" property="virusCheck" value="true"> |
51 | <bean:message key="ak.hostadmiral.page.mail.box.view.viruscheck.true" /> |
62 | <bean:message key="ak.hostadmiral.page.mail.box.view.viruscheck.true" /> |
52 | </logic:equal> |
63 | </logic:equal> |
53 | <logic:notEqual name="mailbox" property="virusCheck" value="true"> |
64 | <logic:notEqual name="mailbox" property="virusCheck" value="true"> |
54 | <bean:message key="ak.hostadmiral.page.mail.box.view.viruscheck.false" /> |
65 | <bean:message key="ak.hostadmiral.page.mail.box.view.viruscheck.false" /> |
55 | </logic:notEqual> |
66 | </logic:notEqual> |
56 | </td> |
67 | </td> |
57 | </tr> |
68 | </tr> |
58 | <tr> |
69 | <tr> |
59 | <th><bean:message key="ak.hostadmiral.page.mail.box.view.spamcheck" /></th> |
70 | <th><bean:message key="ak.hostadmiral.page.mail.box.view.spamcheck" /></th> |
60 | <td> |
71 | <td> |
61 | <logic:equal name="mailbox" property="spamCheck" value="true"> |
72 | <logic:equal name="mailbox" property="spamCheck" value="true"> |
62 | <bean:message key="ak.hostadmiral.page.mail.box.view.spamcheck.true" /> |
73 | <bean:message key="ak.hostadmiral.page.mail.box.view.spamcheck.true" /> |
63 | </logic:equal> |
74 | </logic:equal> |
64 | <logic:notEqual name="mailbox" property="spamCheck" value="true"> |
75 | <logic:notEqual name="mailbox" property="spamCheck" value="true"> |
65 | <bean:message key="ak.hostadmiral.page.mail.box.view.spamcheck.false" /> |
76 | <bean:message key="ak.hostadmiral.page.mail.box.view.spamcheck.false" /> |
66 | </logic:notEqual> |
77 | </logic:notEqual> |
67 | </td> |
78 | </td> |
68 | </tr> |
79 | </tr> |
69 | <tr> |
80 | <tr> |
70 | <th><bean:message key="ak.hostadmiral.page.mail.box.view.enabled" /></th> |
81 | <th><bean:message key="ak.hostadmiral.page.mail.box.view.enabled" /></th> |
71 | <td> |
82 | <td> |
72 | <logic:equal name="mailbox" property="enabled" value="true"> |
83 | <logic:equal name="mailbox" property="enabled" value="true"> |
73 | <bean:message key="ak.hostadmiral.page.mail.box.view.enabled.true" /> |
84 | <bean:message key="ak.hostadmiral.page.mail.box.view.enabled.true" /> |
74 | </logic:equal> |
85 | </logic:equal> |
75 | <logic:notEqual name="mailbox" property="enabled" value="true"> |
86 | <logic:notEqual name="mailbox" property="enabled" value="true"> |
76 | <bean:message key="ak.hostadmiral.page.mail.box.view.enabled.false" /> |
87 | <bean:message key="ak.hostadmiral.page.mail.box.view.enabled.false" /> |
77 | </logic:notEqual> |
88 | </logic:notEqual> |
78 | </td> |
89 | </td> |
79 | </tr> |
90 | </tr> |
80 | <tr> |
91 | <tr> |
81 | <th><bean:message key="ak.hostadmiral.page.mail.box.view.comment" /></th> |
92 | <th><bean:message key="ak.hostadmiral.page.mail.box.view.comment" /></th> |
82 | <td><bean:write name="mailbox" property="comment" /> </td> |
93 | <td><bean:write name="mailbox" property="comment" /> </td> |
83 | </tr> |
94 | </tr> |
84 | <tr> |
95 | <tr> |
85 | <td colspan=2> |
96 | <td colspan=2> |
86 | <backpath:backlink><bean:message key="ak.hostadmiral.page.mail.box.view.back" /></backpath:backlink> |
97 | <backpath:backlink><bean:message key="ak.hostadmiral.page.mail.box.view.back" /></backpath:backlink> |
87 | </td> |
98 | </td> |
88 | </tr> |
99 | </tr> |
89 | </table> |
100 | </table> |
90 | 101 | ||
91 | </body> |
102 | </body> |
92 | 103 | ||
93 | </html> |
104 | </html> |