Subversion Repositories general

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
899 dev 1
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
913 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" %>
6
<%@ taglib uri="/WEB-INF/hostcaptain-core.tld" prefix="core"     %>
899 dev 7
<html>
8
 
9
<head>
10
	<meta http-equiv="expires" content="0">
905 dev 11
	<title><bean:message key="ak.hostcaptain.page.user.edit.title" /></title>
899 dev 12
</head>
13
 
14
<body>
15
 
905 dev 16
<h1><bean:message key="ak.hostcaptain.page.user.edit.title" /></h1>
899 dev 17
 
18
<html:errors/>
19
 
20
<html:form action="/user/submit">
21
<backpath:current />
22
<html:hidden property="id" />
23
 
915 dev 24
<table border=1>
25
	<tr>
26
		<th><bean:message key="ak.hostcaptain.page.user.edit.login" /></th>
27
		<td><html:text property="login" /></td>
28
    </tr>
29
	<tr>
30
		<th><bean:message key="ak.hostcaptain.page.user.edit.password" /></th>
31
		<td><html:password property="password" redisplay="false" /></td>
32
    </tr>
33
	<tr>
34
		<th><bean:message key="ak.hostcaptain.page.user.edit.password_again" /></th>
35
		<td><html:password property="password2" redisplay="false" /></td>
36
    </tr>
37
	<tr>
38
		<th><bean:message key="ak.hostcaptain.page.user.edit.boss" /></th>
39
		<td>
40
			<html:select property="boss">
41
				<html:option value="" key="ak.hostcaptain.page.user.edit.boss.empty"/>
42
				<core:options collection="users" property="id" />
43
			</html:select>
44
		</td>
45
    </tr>
46
	<tr>
47
		<th><bean:message key="ak.hostcaptain.page.user.edit.superuser" /></th>
918 dev 48
		<td>
49
			<core:rights name="u" method="mayChangeSuperuser">
50
				<html:checkbox property="superuser" />
51
			</core:rights>
52
			<core:noRights name="u" method="mayChangeSuperuser">
53
				<logic:equal name="u" property="superuser" value="true">
54
					<bean:message key="ak.hostcaptain.page.user.edit.superuser.true" />
55
				</logic:equal>
56
				<logic:notEqual name="u" property="superuser" value="true">
57
				  	<bean:message key="ak.hostcaptain.page.user.edit.superuser.false" />
58
				</logic:notEqual>
59
			</core:noRights>
60
		</td>
915 dev 61
    </tr>
62
	<tr>
63
		<th><bean:message key="ak.hostcaptain.page.user.edit.enabled" /></th>
64
		<td><html:checkbox property="enabled" /></td>
65
    </tr>
66
	<tr>
67
		<th><bean:message key="ak.hostcaptain.page.user.edit.comment" /></th>
68
		<td><html:textarea property="comment" /></td>
69
    </tr>
70
	<tr>
71
		<td colspan=2>
72
			<html:submit><bean:message key="ak.hostcaptain.page.user.edit.submit" /></html:submit>
73
			<backpath:backlink><bean:message key="ak.hostcaptain.page.user.edit.back" /></backpath:backlink>
74
		</td>
75
    </tr>
76
</table>
899 dev 77
 
78
</html:form>
79
 
80
</body>
81
 
82
</html>