Subversion Repositories general

Rev

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