Subversion Repositories general

Rev

Details | 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" %>
924 dev 6
<%@ taglib uri="/WEB-INF/hostadmiral-core.tld" prefix="core"     %>
920 dev 7
<html>
8
 
9
<head>
10
	<meta http-equiv="expires" content="0">
924 dev 11
	<title><bean:message key="ak.hostadmiral.page.user.edit.title" /></title>
920 dev 12
</head>
13
 
14
<body>
15
 
924 dev 16
<h1><bean:message key="ak.hostadmiral.page.user.edit.title" /></h1>
920 dev 17
 
18
<html:errors/>
19
 
20
<html:form action="/user/submit">
21
<backpath:current />
22
<html:hidden property="id" />
23
 
24
<table border=1>
25
	<tr>
924 dev 26
		<th><bean:message key="ak.hostadmiral.page.user.edit.login" /></th>
920 dev 27
		<td><html:text property="login" /></td>
28
    </tr>
29
	<tr>
924 dev 30
		<th><bean:message key="ak.hostadmiral.page.user.edit.password" /></th>
920 dev 31
		<td><html:password property="password" redisplay="false" /></td>
32
    </tr>
33
	<tr>
924 dev 34
		<th><bean:message key="ak.hostadmiral.page.user.edit.password_again" /></th>
920 dev 35
		<td><html:password property="password2" redisplay="false" /></td>
36
    </tr>
37
	<tr>
924 dev 38
		<th><bean:message key="ak.hostadmiral.page.user.edit.boss" /></th>
920 dev 39
		<td>
915 dev 40
			<html:select property="boss">
924 dev 41
				<html:option value="" key="ak.hostadmiral.page.user.edit.boss.empty"/>
915 dev 42
				<core:options collection="users" property="id" />
920 dev 43
			</html:select>
915 dev 44
		</td>
920 dev 45
    </tr>
46
	<tr>
924 dev 47
		<th><bean:message key="ak.hostadmiral.page.user.edit.superuser" /></th>
920 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">
924 dev 54
					<bean:message key="ak.hostadmiral.page.user.edit.superuser.true" />
920 dev 55
				</logic:equal>
56
				<logic:notEqual name="u" property="superuser" value="true">
924 dev 57
				  	<bean:message key="ak.hostadmiral.page.user.edit.superuser.false" />
920 dev 58
				</logic:notEqual>
59
			</core:noRights>
918 dev 60
		</td>
920 dev 61
    </tr>
62
	<tr>
950 dev 63
		<th><bean:message key="ak.hostadmiral.page.user.edit.locale" /></th>
64
		<td>
65
			<html:select property="locale">
66
				<core:localeOptions />
67
			</html:select>
68
		</td>
69
    </tr>
70
	<tr>
924 dev 71
		<th><bean:message key="ak.hostadmiral.page.user.edit.enabled" /></th>
920 dev 72
		<td><html:checkbox property="enabled" /></td>
73
    </tr>
74
	<tr>
924 dev 75
		<th><bean:message key="ak.hostadmiral.page.user.edit.comment" /></th>
920 dev 76
		<td><html:textarea property="comment" /></td>
77
    </tr>
78
	<tr>
79
		<td colspan=2>
924 dev 80
			<html:submit><bean:message key="ak.hostadmiral.page.user.edit.submit" /></html:submit>
81
			<backpath:backlink><bean:message key="ak.hostadmiral.page.user.edit.back" /></backpath:backlink>
920 dev 82
		</td>
83
    </tr>
84
</table>
85
 
86
</html:form>
87
 
949 dev 88
<p>
89
<backpath:link action="/user/logins" paramId="id" paramName="u" paramProperty="id"><bean:message key="ak.hostadmiral.page.user.edit.logins" /></backpath:link>
90
</p>
91
 
920 dev 92
</body>
93
 
94
</html>