Subversion Repositories general

Rev

Rev 912 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 912 Rev 913
Line 1... Line 1...
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/hostcaptain-core.tld" prefix="core"     %>
6
<html>
7
<html>
7
 
8
 
8
<head>
9
<head>
9
	<meta http-equiv="expires" content="0">
10
	<meta http-equiv="expires" content="0">
10
	<title><bean:message key="ak.hostcaptain.page.user.edit.title" /></title>
11
	<title><bean:message key="ak.hostcaptain.page.user.edit.title" /></title>
Line 18... Line 19...
18
 
19
 
19
<html:form action="/user/submit">
20
<html:form action="/user/submit">
20
<backpath:current />
21
<backpath:current />
21
<html:hidden property="id" />
22
<html:hidden property="id" />
22
 
23
 
23
<bean:message key="ak.hostcaptain.page.user.edit.login" />:
24
	<bean:message key="ak.hostcaptain.page.user.edit.login" />:
24
	<html:text property="login" />
25
		<html:text property="login" />
25
    <br>
26
    <br>
26
 
27
 
27
<bean:message key="ak.hostcaptain.page.user.edit.password" />:
28
	<bean:message key="ak.hostcaptain.page.user.edit.password" />:
28
	<html:password property="password" redisplay="false" />
29
		<html:password property="password" redisplay="false" />
29
    <br>
30
    <br>
30
 
31
 
31
<bean:message key="ak.hostcaptain.page.user.edit.password_again" />:
32
	<bean:message key="ak.hostcaptain.page.user.edit.password_again" />:
32
	<html:password property="password2" redisplay="false" />
33
		<html:password property="password2" redisplay="false" />
33
    <br>
34
    <br>
34
 
35
 
35
<bean:message key="ak.hostcaptain.page.user.edit.boss" />:
36
	<bean:message key="ak.hostcaptain.page.user.edit.boss" />:
36
	<html:select property="boss">
37
		<html:select property="boss">
37
		<html:option value="" key="ak.hostcaptain.page.user.edit.boss.empty"/>
38
			<html:option value="" key="ak.hostcaptain.page.user.edit.boss.empty"/>
38
		<html:options collection="users" property="id" labelProperty="login" />
39
			<core:options collection="users" property="id" />
39
	</html:select>
40
		</html:select>
40
	<br>
41
	<br>
41
 
42
 
42
<html:checkbox property="superuser" />
43
	<html:checkbox property="superuser" />
43
	<bean:message key="ak.hostcaptain.page.user.edit.superuser" />
44
		<bean:message key="ak.hostcaptain.page.user.edit.superuser" />
-
 
45
		FIXME: don't show this checkbox for editor itself
44
	<br>
46
	<br>
45
 
47
 
-
 
48
	<html:checkbox property="enabled" />
-
 
49
		<bean:message key="ak.hostcaptain.page.user.edit.enabled" />
-
 
50
	<br>
-
 
51
 
-
 
52
	<bean:message key="ak.hostcaptain.page.user.edit.comment" />:
-
 
53
		<html:textarea property="comment" />
-
 
54
    <br>
-
 
55
 
46
	<html:submit><bean:message key="ak.hostcaptain.page.user.edit.submit" /></html:submit>
56
	<html:submit><bean:message key="ak.hostcaptain.page.user.edit.submit" /></html:submit>
47
 
57
 
48
<backpath:backlink><bean:message key="ak.hostcaptain.page.user.edit.back" /></backpath:backlink>
58
<backpath:backlink><bean:message key="ak.hostcaptain.page.user.edit.back" /></backpath:backlink>
49
</html:form>
59
</html:form>
50
 
60