Go to most recent revision | Details | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
1023 | dev | 1 | <%@ page contentType="text/html;charset=UTF-8" language="java" %> |
920 | dev | 2 | <%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %> |
3 | <%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %> |
||
4 | <%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %> |
||
5 | <%@ taglib uri="/WEB-INF/ak-backpath.tld" prefix="backpath" %> |
||
958 | dev | 6 | <%@ taglib uri="/WEB-INF/ak-strutsx.tld" prefix="strutsx" %> |
924 | dev | 7 | <%@ taglib uri="/WEB-INF/hostadmiral-core.tld" prefix="core" %> |
920 | dev | 8 | <html> |
9 | |||
10 | <head> |
||
11 | <meta http-equiv="expires" content="0"> |
||
924 | dev | 12 | <title><bean:message key="ak.hostadmiral.page.mail.box.list.title" /></title> |
958 | dev | 13 | <link rel="stylesheet" type="text/css" href="<strutsx:root />/style/general.css"> |
920 | dev | 14 | </head> |
15 | |||
16 | <body> |
||
17 | |||
924 | dev | 18 | <h1><bean:message key="ak.hostadmiral.page.mail.box.list.title" /></h1> |
920 | dev | 19 | |
958 | dev | 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> |
||
29 | </strutsx:notEmpty> |
||
920 | dev | 30 | |
31 | <table border=1> |
||
32 | <tr> |
||
924 | dev | 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> |
||
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> |
||
920 | dev | 37 | <th> </th> |
38 | <th> </th> |
||
39 | </tr> |
||
40 | |||
41 | <logic:iterate name="mailboxes" id="mailbox"> |
||
42 | <tr> |
||
43 | <td><bean:write name="mailbox" property="login" /></td> |
||
44 | <td><bean:write name="mailbox" property="domain.name" /></td> |
||
45 | <td><bean:write name="mailbox" property="owner.login" /></td> |
||
46 | <td> |
||
47 | <logic:equal name="mailbox" property="enabled" value="true">x</logic:equal> |
||
48 | <logic:notEqual name="mailbox" property="enabled" value="true"> </logic:notEqual> |
||
49 | </td> |
||
50 | <td> |
||
51 | <core:editable name="mailbox"> |
||
924 | dev | 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> |
920 | dev | 53 | </core:editable> |
54 | <core:notEditable name="mailbox"> |
||
55 | <core:viewable name="mailbox"> |
||
924 | dev | 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> |
920 | dev | 57 | </core:viewable> |
58 | <core:notViewable name="mailbox"> |
||
59 | |
||
60 | </core:notViewable> |
||
61 | </core:notEditable> |
||
62 | </td> |
||
63 | <td> |
||
64 | <core:deleteable name="mailbox"> |
||
1012 | dev | 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> |
920 | dev | 66 | </core:deleteable> |
67 | <core:notDeleteable name="mailbox"> |
||
68 | |
||
69 | </core:notDeleteable> |
||
70 | </td> |
||
71 | </tr> |
||
72 | </logic:iterate> |
||
73 | </table> |
||
74 | |||
1021 | dev | 75 | <p> |
76 | List size: <bean:write name="listInfo" property="size" /> |
||
77 | </p> |
||
78 | |||
920 | dev | 79 | <logic:equal name="allowedToCreate" value="true"> |
924 | dev | 80 | <backpath:link action="/mail/box/edit"><bean:message key="ak.hostadmiral.page.mail.box.list.add" /></backpath:link> |
920 | dev | 81 | </logic:equal> |
82 | |||
83 | <br> |
||
924 | dev | 84 | <backpath:backlink><bean:message key="ak.hostadmiral.page.mail.box.list.back" /></backpath:backlink> |
920 | dev | 85 | |
1021 | dev | 86 | <p> |
1014 | dev | 87 | <bean:message key="ak.hostadmiral.page.general.version" />: |
88 | <bean:write name="projectVersion" /> |
||
89 | </p> |
||
90 | |||
920 | dev | 91 | </body> |
92 | |||
93 | </html> |