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" %> |
1027 | dev | 8 | <%@ taglib uri="/WEB-INF/hostadmiral-list.tld" prefix="list" %> |
9 | <backpath:init backPathIgnore="pg" /> |
||
920 | dev | 10 | <html> |
11 | |||
12 | <head> |
||
13 | <meta http-equiv="expires" content="0"> |
||
924 | dev | 14 | <title><bean:message key="ak.hostadmiral.page.mail.box.list.title" /></title> |
958 | dev | 15 | <link rel="stylesheet" type="text/css" href="<strutsx:root />/style/general.css"> |
920 | dev | 16 | </head> |
17 | |||
18 | <body> |
||
19 | |||
924 | dev | 20 | <h1><bean:message key="ak.hostadmiral.page.mail.box.list.title" /></h1> |
920 | dev | 21 | |
958 | dev | 22 | <strutsx:errorsIterator id="errors" /> |
23 | <strutsx:notEmpty name="errors"> |
||
24 | <div class="error"><bean:message key="ak.hostadmiral.page.general.errors" />: |
||
25 | <ul> |
||
26 | <logic:iterate name="errors" id="error"> |
||
27 | <li><strutsx:message name="error" property="key" valuesProperty="values" /></li> |
||
28 | </logic:iterate> |
||
29 | </ul> |
||
30 | </div> |
||
31 | </strutsx:notEmpty> |
||
920 | dev | 32 | |
33 | <table border=1> |
||
34 | <tr> |
||
924 | dev | 35 | <th><bean:message key="ak.hostadmiral.page.mail.box.list.login" /></th> |
36 | <th><bean:message key="ak.hostadmiral.page.mail.box.list.domain" /></th> |
||
37 | <th><bean:message key="ak.hostadmiral.page.mail.box.list.owner" /></th> |
||
38 | <th><bean:message key="ak.hostadmiral.page.mail.box.list.enabled" /></th> |
||
920 | dev | 39 | <th> </th> |
40 | <th> </th> |
||
41 | </tr> |
||
42 | |||
43 | <logic:iterate name="mailboxes" id="mailbox"> |
||
44 | <tr> |
||
45 | <td><bean:write name="mailbox" property="login" /></td> |
||
46 | <td><bean:write name="mailbox" property="domain.name" /></td> |
||
47 | <td><bean:write name="mailbox" property="owner.login" /></td> |
||
48 | <td> |
||
49 | <logic:equal name="mailbox" property="enabled" value="true">x</logic:equal> |
||
50 | <logic:notEqual name="mailbox" property="enabled" value="true"> </logic:notEqual> |
||
51 | </td> |
||
52 | <td> |
||
53 | <core:editable name="mailbox"> |
||
924 | dev | 54 | <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 | 55 | </core:editable> |
56 | <core:notEditable name="mailbox"> |
||
57 | <core:viewable name="mailbox"> |
||
924 | dev | 58 | <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 | 59 | </core:viewable> |
60 | <core:notViewable name="mailbox"> |
||
61 | |
||
62 | </core:notViewable> |
||
63 | </core:notEditable> |
||
64 | </td> |
||
65 | <td> |
||
66 | <core:deleteable name="mailbox"> |
||
1012 | dev | 67 | <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 | 68 | </core:deleteable> |
69 | <core:notDeleteable name="mailbox"> |
||
70 | |
||
71 | </core:notDeleteable> |
||
72 | </td> |
||
73 | </tr> |
||
74 | </logic:iterate> |
||
75 | </table> |
||
76 | |||
1021 | dev | 77 | <p> |
78 | List size: <bean:write name="listInfo" property="size" /> |
||
1027 | dev | 79 | Page: <list:currentpage infoBean="listInfo" /> of <bean:write name="listInfo" property="totalPages" /> |
1021 | dev | 80 | </p> |
1027 | dev | 81 | <p> |
82 | <list:hasfirst infoBean="listInfo"><list:firstpage infoBean="listInfo"><<</list:firstpage></list:hasfirst> |
||
83 | <list:nofirst infoBean="listInfo"><<</list:nofirst> |
||
1021 | dev | 84 | |
1027 | dev | 85 | <list:hasprev infoBean="listInfo"><list:prevpage infoBean="listInfo"><</list:prevpage></list:hasprev> |
86 | <list:noprev infoBean="listInfo"><</list:noprev> |
||
87 | |||
1028 | dev | 88 | <list:iterate infoBean="listInfo" max="20"> |
1027 | dev | 89 | <list:iscurrent> |
1028 | dev | 90 | <list:displaypage /> |
1027 | dev | 91 | </list:iscurrent> |
92 | <list:notcurrent> |
||
93 | <list:pagelink><list:displaypage /></list:pagelink> |
||
94 | </list:notcurrent> |
||
95 | </list:iterate> |
||
96 | |||
97 | <list:hasnext infoBean="listInfo"><list:nextpage infoBean="listInfo">></list:nextpage></list:hasnext> |
||
98 | <list:nonext infoBean="listInfo">></list:nonext> |
||
99 | |||
100 | <list:haslast infoBean="listInfo"><list:lastpage infoBean="listInfo">>></list:lastpage></list:haslast> |
||
101 | <list:nolast infoBean="listInfo">>></list:nolast> |
||
102 | </p> |
||
103 | |||
920 | dev | 104 | <logic:equal name="allowedToCreate" value="true"> |
924 | dev | 105 | <backpath:link action="/mail/box/edit"><bean:message key="ak.hostadmiral.page.mail.box.list.add" /></backpath:link> |
920 | dev | 106 | </logic:equal> |
107 | |||
108 | <br> |
||
924 | dev | 109 | <backpath:backlink><bean:message key="ak.hostadmiral.page.mail.box.list.back" /></backpath:backlink> |
920 | dev | 110 | |
1021 | dev | 111 | <p> |
1014 | dev | 112 | <bean:message key="ak.hostadmiral.page.general.version" />: |
113 | <bean:write name="projectVersion" /> |
||
114 | </p> |
||
115 | |||
920 | dev | 116 | </body> |
117 | |||
118 | </html> |