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.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"> |
|
12 | </head> |
14 | </head> |
13 | 15 | ||
14 | <body> |
16 | <body> |
15 | 17 | ||
16 | <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> |
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.list.login" /></th> |
33 | <th><bean:message key="ak.hostadmiral.page.mail.box.list.login" /></th> |
23 | <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> |
24 | <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> |
25 | <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> |
26 | <th> </th> |
37 | <th> </th> |
27 | <th> </th> |
38 | <th> </th> |
28 | </tr> |
39 | </tr> |
29 | 40 | ||
30 | <logic:iterate name="mailboxes" id="mailbox"> |
41 | <logic:iterate name="mailboxes" id="mailbox"> |
31 | <tr> |
42 | <tr> |
32 | <td><bean:write name="mailbox" property="login" /></td> |
43 | <td><bean:write name="mailbox" property="login" /></td> |
33 | <td><bean:write name="mailbox" property="domain.name" /></td> |
44 | <td><bean:write name="mailbox" property="domain.name" /></td> |
34 | <td><bean:write name="mailbox" property="owner.login" /></td> |
45 | <td><bean:write name="mailbox" property="owner.login" /></td> |
35 | <td> |
46 | <td> |
36 | <logic:equal name="mailbox" property="enabled" value="true">x</logic:equal> |
47 | <logic:equal name="mailbox" property="enabled" value="true">x</logic:equal> |
37 | <logic:notEqual name="mailbox" property="enabled" value="true"> </logic:notEqual> |
48 | <logic:notEqual name="mailbox" property="enabled" value="true"> </logic:notEqual> |
38 | </td> |
49 | </td> |
39 | <td> |
50 | <td> |
40 | <core:editable name="mailbox"> |
51 | <core:editable name="mailbox"> |
41 | <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> |
42 | </core:editable> |
53 | </core:editable> |
43 | <core:notEditable name="mailbox"> |
54 | <core:notEditable name="mailbox"> |
44 | <core:viewable name="mailbox"> |
55 | <core:viewable name="mailbox"> |
45 | <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> |
46 | </core:viewable> |
57 | </core:viewable> |
47 | <core:notViewable name="mailbox"> |
58 | <core:notViewable name="mailbox"> |
48 | |
59 | |
49 | </core:notViewable> |
60 | </core:notViewable> |
50 | </core:notEditable> |
61 | </core:notEditable> |
51 | </td> |
62 | </td> |
52 | <td> |
63 | <td> |
53 | <core:deleteable name="mailbox"> |
64 | <core:deleteable name="mailbox"> |
54 | <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/delete" paramId="id" paramName="mailbox" paramProperty="id"><bean:message key="ak.hostadmiral.page.mail.box.list.delete" /></backpath:link> |
55 | </core:deleteable> |
66 | </core:deleteable> |
56 | <core:notDeleteable name="mailbox"> |
67 | <core:notDeleteable name="mailbox"> |
57 | |
68 | |
58 | </core:notDeleteable> |
69 | </core:notDeleteable> |
59 | </td> |
70 | </td> |
60 | </tr> |
71 | </tr> |
61 | </logic:iterate> |
72 | </logic:iterate> |
62 | </table> |
73 | </table> |
63 | 74 | ||
64 | <logic:equal name="allowedToCreate" value="true"> |
75 | <logic:equal name="allowedToCreate" value="true"> |
65 | <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> |
66 | </logic:equal> |
77 | </logic:equal> |
67 | 78 | ||
68 | <br> |
79 | <br> |
69 | <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> |
70 | 81 | ||
71 | </body> |
82 | </body> |
72 | 83 | ||
73 | </html> |
84 | </html> |