Go to most recent revision | Details | 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" %> |
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.alias.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.alias.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.alias.list.alias" /></th> |
36 | <th><bean:message key="ak.hostadmiral.page.mail.alias.list.domain" /></th> |
||
37 | <th><bean:message key="ak.hostadmiral.page.mail.alias.list.owner" /></th> |
||
38 | <th><bean:message key="ak.hostadmiral.page.mail.alias.list.enabled" /></th> |
||
920 | dev | 39 | <th> </th> |
40 | <th> </th> |
||
41 | </tr> |
||
42 | |||
43 | <logic:iterate name="aliases" id="alias"> |
||
44 | <tr> |
||
45 | <td><bean:write name="alias" property="address" /></td> |
||
46 | <td><bean:write name="alias" property="domain.name" /></td> |
||
47 | <td><bean:write name="alias" property="owner.login" /></td> |
||
48 | <td> |
||
49 | <logic:equal name="alias" property="enabled" value="true">x</logic:equal> |
||
50 | <logic:notEqual name="alias" property="enabled" value="true"> </logic:notEqual> |
||
51 | </td> |
||
52 | <td> |
||
53 | <core:editable name="alias"> |
||
924 | dev | 54 | <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 | 55 | </core:editable> |
56 | <core:notEditable name="alias"> |
||
923 | dev | 57 | <core:rights name="alias" method="mayChangeDestinations"> |
924 | dev | 58 | <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 | 59 | </core:rights> |
60 | <core:noRights name="alias" method="mayChangeDestinations"> |
||
61 | <core:viewable name="alias"> |
||
924 | dev | 62 | <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 | 63 | </core:viewable> |
64 | <core:notViewable name="alias"> |
||
65 | |
||
66 | </core:notViewable> |
||
67 | </core:noRights> |
||
920 | dev | 68 | </core:notEditable> |
69 | </td> |
||
70 | <td> |
||
71 | <core:deleteable name="alias"> |
||
1012 | dev | 72 | <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 | 73 | </core:deleteable> |
74 | <core:notDeleteable name="alias"> |
||
75 | |
||
76 | </core:notDeleteable> |
||
77 | </td> |
||
78 | </tr> |
||
79 | </logic:iterate> |
||
80 | </table> |
||
81 | |||
1028 | dev | 82 | <p> |
83 | List size: <bean:write name="listInfo" property="size" /> |
||
84 | Page: <list:currentpage infoBean="listInfo" /> of <bean:write name="listInfo" property="totalPages" /> |
||
85 | </p> |
||
86 | <p> |
||
87 | <list:hasfirst infoBean="listInfo"><list:firstpage infoBean="listInfo"><<</list:firstpage></list:hasfirst> |
||
88 | <list:nofirst infoBean="listInfo"><<</list:nofirst> |
||
89 | |||
90 | <list:hasprev infoBean="listInfo"><list:prevpage infoBean="listInfo"><</list:prevpage></list:hasprev> |
||
91 | <list:noprev infoBean="listInfo"><</list:noprev> |
||
92 | |||
93 | <list:iterate infoBean="listInfo" max="20"> |
||
94 | <list:iscurrent> |
||
95 | <list:displaypage /> |
||
96 | </list:iscurrent> |
||
97 | <list:notcurrent> |
||
98 | <list:pagelink><list:displaypage /></list:pagelink> |
||
99 | </list:notcurrent> |
||
100 | </list:iterate> |
||
101 | |||
102 | <list:hasnext infoBean="listInfo"><list:nextpage infoBean="listInfo">></list:nextpage></list:hasnext> |
||
103 | <list:nonext infoBean="listInfo">></list:nonext> |
||
104 | |||
105 | <list:haslast infoBean="listInfo"><list:lastpage infoBean="listInfo">>></list:lastpage></list:haslast> |
||
106 | <list:nolast infoBean="listInfo">>></list:nolast> |
||
107 | </p> |
||
108 | |||
920 | dev | 109 | <logic:equal name="allowedToCreate" value="true"> |
924 | dev | 110 | <backpath:link action="/mail/alias/edit"><bean:message key="ak.hostadmiral.page.mail.alias.list.add" /></backpath:link> |
920 | dev | 111 | </logic:equal> |
112 | |||
113 | <br> |
||
924 | dev | 114 | <backpath:backlink><bean:message key="ak.hostadmiral.page.mail.alias.list.back" /></backpath:backlink> |
920 | dev | 115 | |
1028 | dev | 116 | <p> |
1014 | dev | 117 | <bean:message key="ak.hostadmiral.page.general.version" />: |
118 | <bean:write name="projectVersion" /> |
||
119 | </p> |
||
120 | |||
920 | dev | 121 | </body> |
122 | |||
123 | </html> |