Subversion Repositories general

Rev

Rev 1028 | Only display areas with differences | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

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