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> |
||
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> |
||
64 | </tr> |
||
65 | </table> |
||
899 | dev | 66 | |
67 | </html:form> |
||
68 | |||
69 | </body> |
||
70 | |||
71 | </html> |