Rev 961 | Rev 1021 | Go to most recent revision | Only display areas with differences | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 961 | Rev 1012 | ||
---|---|---|---|
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/ak-strutsx.tld" prefix="strutsx" %> |
7 | <%@ taglib uri="/WEB-INF/hostadmiral-core.tld" prefix="core" %> |
7 | <%@ taglib uri="/WEB-INF/hostadmiral-core.tld" prefix="core" %> |
8 | <html> |
8 | <html> |
9 | 9 | ||
10 | <head> |
10 | <head> |
11 | <meta http-equiv="expires" content="0"> |
11 | <meta http-equiv="expires" content="0"> |
12 | <title><bean:message key="ak.hostadmiral.page.mail.box.list.title" /></title> |
12 | <title><bean:message key="ak.hostadmiral.page.mail.box.list.title" /></title> |
13 | <link rel="stylesheet" type="text/css" href="<strutsx:root />/style/general.css"> |
13 | <link rel="stylesheet" type="text/css" href="<strutsx:root />/style/general.css"> |
14 | </head> |
14 | </head> |
15 | 15 | ||
16 | <body> |
16 | <body> |
17 | 17 | ||
18 | <h1><bean:message key="ak.hostadmiral.page.mail.box.list.title" /></h1> |
18 | <h1><bean:message key="ak.hostadmiral.page.mail.box.list.title" /></h1> |
19 | 19 | ||
20 | <strutsx:errorsIterator id="errors" /> |
20 | <strutsx:errorsIterator id="errors" /> |
21 | <strutsx:notEmpty name="errors"> |
21 | <strutsx:notEmpty name="errors"> |
22 | <div class="error"><bean:message key="ak.hostadmiral.page.general.errors" />: |
22 | <div class="error"><bean:message key="ak.hostadmiral.page.general.errors" />: |
23 | <ul> |
23 | <ul> |
24 | <logic:iterate name="errors" id="error"> |
24 | <logic:iterate name="errors" id="error"> |
25 | <li><strutsx:message name="error" property="key" valuesProperty="values" /></li> |
25 | <li><strutsx:message name="error" property="key" valuesProperty="values" /></li> |
26 | </logic:iterate> |
26 | </logic:iterate> |
27 | </ul> |
27 | </ul> |
28 | </div> |
28 | </div> |
29 | </strutsx:notEmpty> |
29 | </strutsx:notEmpty> |
30 | 30 | ||
31 | <table border=1> |
31 | <table border=1> |
32 | <tr> |
32 | <tr> |
33 | <th><bean:message key="ak.hostadmiral.page.mail.box.list.login" /></th> |
33 | <th><bean:message key="ak.hostadmiral.page.mail.box.list.login" /></th> |
34 | <th><bean:message key="ak.hostadmiral.page.mail.box.list.domain" /></th> |
34 | <th><bean:message key="ak.hostadmiral.page.mail.box.list.domain" /></th> |
35 | <th><bean:message key="ak.hostadmiral.page.mail.box.list.owner" /></th> |
35 | <th><bean:message key="ak.hostadmiral.page.mail.box.list.owner" /></th> |
36 | <th><bean:message key="ak.hostadmiral.page.mail.box.list.enabled" /></th> |
36 | <th><bean:message key="ak.hostadmiral.page.mail.box.list.enabled" /></th> |
37 | <th> </th> |
37 | <th> </th> |
38 | <th> </th> |
38 | <th> </th> |
39 | </tr> |
39 | </tr> |
40 | 40 | ||
41 | <logic:iterate name="mailboxes" id="mailbox"> |
41 | <logic:iterate name="mailboxes" id="mailbox"> |
42 | <tr> |
42 | <tr> |
43 | <td><bean:write name="mailbox" property="login" /></td> |
43 | <td><bean:write name="mailbox" property="login" /></td> |
44 | <td><bean:write name="mailbox" property="domain.name" /></td> |
44 | <td><bean:write name="mailbox" property="domain.name" /></td> |
45 | <td><bean:write name="mailbox" property="owner.login" /></td> |
45 | <td><bean:write name="mailbox" property="owner.login" /></td> |
46 | <td> |
46 | <td> |
47 | <logic:equal name="mailbox" property="enabled" value="true">x</logic:equal> |
47 | <logic:equal name="mailbox" property="enabled" value="true">x</logic:equal> |
48 | <logic:notEqual name="mailbox" property="enabled" value="true"> </logic:notEqual> |
48 | <logic:notEqual name="mailbox" property="enabled" value="true"> </logic:notEqual> |
49 | </td> |
49 | </td> |
50 | <td> |
50 | <td> |
51 | <core:editable name="mailbox"> |
51 | <core:editable name="mailbox"> |
52 | <backpath:link action="/mail/box/edit" paramId="id" paramName="mailbox" paramProperty="id"><bean:message key="ak.hostadmiral.page.mail.box.list.edit" /></backpath:link> |
52 | <backpath:link action="/mail/box/edit" paramId="id" paramName="mailbox" paramProperty="id"><bean:message key="ak.hostadmiral.page.mail.box.list.edit" /></backpath:link> |
53 | </core:editable> |
53 | </core:editable> |
54 | <core:notEditable name="mailbox"> |
54 | <core:notEditable name="mailbox"> |
55 | <core:viewable name="mailbox"> |
55 | <core:viewable name="mailbox"> |
56 | <backpath:link action="/mail/box/edit" paramId="id" paramName="mailbox" paramProperty="id"><bean:message key="ak.hostadmiral.page.mail.box.list.view" /></backpath:link> |
56 | <backpath:link action="/mail/box/edit" paramId="id" paramName="mailbox" paramProperty="id"><bean:message key="ak.hostadmiral.page.mail.box.list.view" /></backpath:link> |
57 | </core:viewable> |
57 | </core:viewable> |
58 | <core:notViewable name="mailbox"> |
58 | <core:notViewable name="mailbox"> |
59 | |
59 | |
60 | </core:notViewable> |
60 | </core:notViewable> |
61 | </core:notEditable> |
61 | </core:notEditable> |
62 | </td> |
62 | </td> |
63 | <td> |
63 | <td> |
64 | <core:deleteable name="mailbox"> |
64 | <core:deleteable name="mailbox"> |
65 | <backpath:link action="/mail/box/delete" paramId="id" paramName="mailbox" paramProperty="id"><bean:message key="ak.hostadmiral.page.mail.box.list.delete" /></backpath:link> |
65 | <backpath:link action="/mail/box/deleting" paramId="id" paramName="mailbox" paramProperty="id"><bean:message key="ak.hostadmiral.page.mail.box.list.delete" /></backpath:link> |
66 | </core:deleteable> |
66 | </core:deleteable> |
67 | <core:notDeleteable name="mailbox"> |
67 | <core:notDeleteable name="mailbox"> |
68 | |
68 | |
69 | </core:notDeleteable> |
69 | </core:notDeleteable> |
70 | </td> |
70 | </td> |
71 | </tr> |
71 | </tr> |
72 | </logic:iterate> |
72 | </logic:iterate> |
73 | </table> |
73 | </table> |
74 | 74 | ||
75 | <logic:equal name="allowedToCreate" value="true"> |
75 | <logic:equal name="allowedToCreate" value="true"> |
76 | <backpath:link action="/mail/box/edit"><bean:message key="ak.hostadmiral.page.mail.box.list.add" /></backpath:link> |
76 | <backpath:link action="/mail/box/edit"><bean:message key="ak.hostadmiral.page.mail.box.list.add" /></backpath:link> |
77 | </logic:equal> |
77 | </logic:equal> |
78 | 78 | ||
79 | <br> |
79 | <br> |
80 | <backpath:backlink><bean:message key="ak.hostadmiral.page.mail.box.list.back" /></backpath:backlink> |
80 | <backpath:backlink><bean:message key="ak.hostadmiral.page.mail.box.list.back" /></backpath:backlink> |
81 | 81 | ||
82 | </body> |
82 | </body> |
83 | 83 | ||
84 | </html> |
84 | </html> |