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