Subversion Repositories general

Rev

Rev 1014 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
923 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"     %>
923 dev 8
<html>
9
 
10
<head>
11
	<meta http-equiv="expires" content="0">
924 dev 12
	<title><bean:message key="ak.hostadmiral.page.mail.box.view.title" /></title>
958 dev 13
	<link rel="stylesheet" type="text/css" href="<strutsx:root />/style/general.css">
923 dev 14
</head>
15
 
16
<body>
17
 
924 dev 18
<h1><bean:message key="ak.hostadmiral.page.mail.box.view.title" /></h1>
923 dev 19
 
958 dev 20
<strutsx:errorsIterator id="errors" />
21
<strutsx:notEmpty name="errors">
22
	<div class="error"><bean:message key="ak.hostadmiral.page.general.errors" />:
23
		<ul>
24
		<logic:iterate name="errors" id="error">
25
			<li><strutsx:message name="error" property="key" valuesProperty="values" /></li>
26
		</logic:iterate>
27
		</ul>
28
	</div>
29
</strutsx:notEmpty>
923 dev 30
 
31
<table border=1>
32
	<tr>
924 dev 33
		<th><bean:message key="ak.hostadmiral.page.mail.box.view.login" /></th>
923 dev 34
		<td><bean:write name="mailbox" property="login" /></td>
35
    </tr>
36
	<tr>
37
		<td colspan=2>FIXME: show if password is get from owner</td>
38
    </tr>
39
	<tr>
924 dev 40
		<th><bean:message key="ak.hostadmiral.page.mail.box.view.domain" /></th>
923 dev 41
		<td><bean:write name="mailbox" property="domain.name" /></td>
42
    </tr>
43
	<tr>
924 dev 44
		<th><bean:message key="ak.hostadmiral.page.mail.box.view.owner" /></th>
923 dev 45
		<td><bean:write name="mailbox" property="owner.login" /></td>
46
    </tr>
47
	<tr>
924 dev 48
		<th><bean:message key="ak.hostadmiral.page.mail.box.view.systemuser" /></th>
923 dev 49
		<td>
50
			<logic:present name="mailbox" property="systemUser">
51
				<bean:write name="mailbox" property="systemUser.name" /> (<bean:write name="mailbox" property="systemUser.uid" />)
52
			</logic:present>
53
			<logic:notPresent name="mailbox" property="systemUser">
924 dev 54
				<bean:message key="ak.hostadmiral.page.mail.box.view.systemuser.empty" />
923 dev 55
			</logic:notPresent>
56
		</td>
57
    </tr>
58
	<tr>
924 dev 59
		<th><bean:message key="ak.hostadmiral.page.mail.box.view.viruscheck" /></th>
923 dev 60
		<td>
61
			<logic:equal name="mailbox" property="virusCheck" value="true">
924 dev 62
				<bean:message key="ak.hostadmiral.page.mail.box.view.viruscheck.true" />
923 dev 63
			</logic:equal>
64
			<logic:notEqual name="mailbox" property="virusCheck" value="true">
924 dev 65
			  	<bean:message key="ak.hostadmiral.page.mail.box.view.viruscheck.false" />
923 dev 66
			</logic:notEqual>
67
		</td>
68
    </tr>
69
	<tr>
924 dev 70
		<th><bean:message key="ak.hostadmiral.page.mail.box.view.spamcheck" /></th>
923 dev 71
		<td>
72
			<logic:equal name="mailbox" property="spamCheck" value="true">
924 dev 73
				<bean:message key="ak.hostadmiral.page.mail.box.view.spamcheck.true" />
923 dev 74
			</logic:equal>
75
			<logic:notEqual name="mailbox" property="spamCheck" value="true">
924 dev 76
			  	<bean:message key="ak.hostadmiral.page.mail.box.view.spamcheck.false" />
923 dev 77
			</logic:notEqual>
78
		</td>
79
    </tr>
80
	<tr>
924 dev 81
		<th><bean:message key="ak.hostadmiral.page.mail.box.view.enabled" /></th>
923 dev 82
		<td>
83
			<logic:equal name="mailbox" property="enabled" value="true">
924 dev 84
				<bean:message key="ak.hostadmiral.page.mail.box.view.enabled.true" />
923 dev 85
			</logic:equal>
86
			<logic:notEqual name="mailbox" property="enabled" value="true">
924 dev 87
			  	<bean:message key="ak.hostadmiral.page.mail.box.view.enabled.false" />
923 dev 88
			</logic:notEqual>
89
		</td>
90
    </tr>
91
	<tr>
924 dev 92
		<th><bean:message key="ak.hostadmiral.page.mail.box.view.comment" /></th>
923 dev 93
		<td><bean:write name="mailbox" property="comment" />&nbsp;</td>
94
    </tr>
95
	<tr>
96
		<td colspan=2>
924 dev 97
			<backpath:backlink><bean:message key="ak.hostadmiral.page.mail.box.view.back" /></backpath:backlink>
923 dev 98
		</td>
99
    </tr>
100
</table>
101
 
1014 dev 102
<p>	
103
	<bean:message key="ak.hostadmiral.page.general.version" />:
104
	<bean:write name="projectVersion" />
105
</p>
106
 
923 dev 107
</body>
108
 
109
</html>