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