Subversion Repositories general

Rev

Rev 958 | Rev 1010 | Go to most recent revision | 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"     %>
920 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.edit.title" /></title>
958 dev 13
	<link rel="stylesheet" type="text/css" href="<strutsx:root />/style/general.css">
920 dev 14
</head>
15
 
16
<body>
17
 
924 dev 18
<h1><bean:message key="ak.hostadmiral.page.mail.box.edit.title" /></h1>
920 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>
920 dev 30
 
31
<html:form action="/mail/box/submit">
32
<backpath:current />
33
<html:hidden property="id" />
34
 
35
<table border=1>
36
	<tr>
924 dev 37
		<th><bean:message key="ak.hostadmiral.page.mail.box.edit.login" /></th>
920 dev 38
		<td><html:text property="login" /></td>
39
    </tr>
40
	<tr>
41
		<td colspan=2>FIXME: checkbox to get password from owner</td>
42
    </tr>
43
	<tr>
924 dev 44
		<th><bean:message key="ak.hostadmiral.page.mail.box.edit.password" /></th>
920 dev 45
		<td><html:password property="password" redisplay="false" /></td>
46
    </tr>
47
	<tr>
924 dev 48
		<th><bean:message key="ak.hostadmiral.page.mail.box.edit.password_again" /></th>
920 dev 49
		<td><html:password property="password2" redisplay="false" /></td>
50
    </tr>
51
	<tr>
924 dev 52
		<th><bean:message key="ak.hostadmiral.page.mail.box.edit.domain" /></th>
920 dev 53
		<td>
54
			<html:select property="domain">
924 dev 55
				<html:option value="" key="ak.hostadmiral.page.mail.box.edit.domain.empty"/>
920 dev 56
				<html:options collection="domains" property="id" labelProperty="name" />
57
			</html:select>
58
		</td>
59
    </tr>
60
	<tr>
924 dev 61
		<th><bean:message key="ak.hostadmiral.page.mail.box.edit.owner" /></th>
920 dev 62
		<td>
63
			<html:select property="owner">
924 dev 64
				<html:option value="" key="ak.hostadmiral.page.mail.box.edit.owner.empty"/>
920 dev 65
				<html:options collection="users" property="id" labelProperty="login" />
66
			</html:select>
67
		</td>
68
    </tr>
69
	<tr>
924 dev 70
		<th><bean:message key="ak.hostadmiral.page.mail.box.edit.systemuser" /></th>
920 dev 71
		<td>
72
			<html:select property="systemuser">
924 dev 73
				<html:option value="" key="ak.hostadmiral.page.mail.box.edit.systemuser.empty"/>
920 dev 74
				<core:options collection="systemusers" property="id" />
75
			</html:select>
76
		</td>
77
    </tr>
78
	<tr>
924 dev 79
		<th><bean:message key="ak.hostadmiral.page.mail.box.edit.viruscheck" /></th>
920 dev 80
		<td><html:checkbox property="viruscheck" /></td>
81
    </tr>
82
	<tr>
924 dev 83
		<th><bean:message key="ak.hostadmiral.page.mail.box.edit.spamcheck" /></th>
920 dev 84
		<td><html:checkbox property="spamcheck" /></td>
85
    </tr>
86
	<tr>
924 dev 87
		<th><bean:message key="ak.hostadmiral.page.mail.box.edit.enabled" /></th>
920 dev 88
		<td><html:checkbox property="enabled" /></td>
89
    </tr>
90
	<tr>
924 dev 91
		<th><bean:message key="ak.hostadmiral.page.mail.box.edit.comment" /></th>
920 dev 92
		<td><html:textarea property="comment" /></td>
93
    </tr>
94
	<tr>
95
		<td colspan=2>
924 dev 96
			<html:submit><bean:message key="ak.hostadmiral.page.mail.box.edit.submit" /></html:submit>
97
			<backpath:backlink><bean:message key="ak.hostadmiral.page.mail.box.edit.back" /></backpath:backlink>
920 dev 98
		</td>
99
    </tr>
100
</table>
101
 
102
</html:form>
103
 
104
</body>
105
 
106
</html>