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