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