Rev 913 | Only display areas with differences | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 913 | Rev 915 | ||
---|---|---|---|
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 | <%@ taglib uri="/WEB-INF/hostcaptain-core.tld" prefix="core" %> |
7 | <html> |
7 | <html> |
8 | 8 | ||
9 | <head> |
9 | <head> |
10 | <meta http-equiv="expires" content="0"> |
10 | <meta http-equiv="expires" content="0"> |
11 | <title><bean:message key="ak.hostcaptain.page.user.edit.title" /></title> |
11 | <title><bean:message key="ak.hostcaptain.page.user.edit.title" /></title> |
12 | </head> |
12 | </head> |
13 | 13 | ||
14 | <body> |
14 | <body> |
15 | 15 | ||
16 | <h1><bean:message key="ak.hostcaptain.page.user.edit.title" /></h1> |
16 | <h1><bean:message key="ak.hostcaptain.page.user.edit.title" /></h1> |
17 | 17 | ||
18 | <html:errors/> |
18 | <html:errors/> |
19 | 19 | ||
20 | <html:form action="/user/submit"> |
20 | <html:form action="/user/submit"> |
21 | <backpath:current /> |
21 | <backpath:current /> |
22 | <html:hidden property="id" /> |
22 | <html:hidden property="id" /> |
23 | 23 | ||
- | 24 | <table border=1> |
|
- | 25 | <tr> |
|
24 | <bean:message key="ak.hostcaptain.page.user.edit.login" />: |
26 | <th><bean:message key="ak.hostcaptain.page.user.edit.login" /></th> |
25 | <html:text property="login" /> |
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> |
|
- | 48 | <td><html:checkbox property="superuser" /> |
|
- | 49 | FIXME: don't show this checkbox for editor itself</td> |
|
- | 50 | </tr> |
|
- | 51 | <tr> |
|
- | 52 | <th><bean:message key="ak.hostcaptain.page.user.edit.enabled" /></th> |
|
- | 53 | <td><html:checkbox property="enabled" /></td> |
|
- | 54 | </tr> |
|
- | 55 | <tr> |
|
- | 56 | <th><bean:message key="ak.hostcaptain.page.user.edit.comment" /></th> |
|
- | 57 | <td><html:textarea property="comment" /></td> |
|
- | 58 | </tr> |
|
- | 59 | <tr> |
|
- | 60 | <td colspan=2> |
|
- | 61 | <html:submit><bean:message key="ak.hostcaptain.page.user.edit.submit" /></html:submit> |
|
- | 62 | <backpath:backlink><bean:message key="ak.hostcaptain.page.user.edit.back" /></backpath:backlink> |
|
- | 63 | </td> |
|
26 | <br> |
64 | </tr> |
- | 65 | </table> |
|
27 | 66 | ||
28 | <bean:message key="ak.hostcaptain.page.user.edit.password" />: |
- | |
29 | <html:password property="password" redisplay="false" /> |
- | |
30 | <br> |
- | |
31 | - | ||
32 | <bean:message key="ak.hostcaptain.page.user.edit.password_again" />: |
- | |
33 | <html:password property="password2" redisplay="false" /> |
- | |
34 | <br> |
- | |
35 | - | ||
36 | <bean:message key="ak.hostcaptain.page.user.edit.boss" />: |
- | |
37 | <html:select property="boss"> |
- | |
38 | <html:option value="" key="ak.hostcaptain.page.user.edit.boss.empty"/> |
- | |
39 | <core:options collection="users" property="id" /> |
- | |
40 | </html:select> |
- | |
41 | <br> |
- | |
42 | - | ||
43 | <html:checkbox property="superuser" /> |
- | |
44 | <bean:message key="ak.hostcaptain.page.user.edit.superuser" /> |
- | |
45 | FIXME: don't show this checkbox for editor itself |
- | |
46 | <br> |
- | |
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 | - | ||
56 | <html:submit><bean:message key="ak.hostcaptain.page.user.edit.submit" /></html:submit> |
- | |
57 | - | ||
58 | <backpath:backlink><bean:message key="ak.hostcaptain.page.user.edit.back" /></backpath:backlink> |
- | |
59 | </html:form> |
67 | </html:form> |
60 | 68 | ||
61 | </body> |
69 | </body> |
62 | 70 | ||
63 | </html> |
71 | </html> |