Rev 1014 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
950 | 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" %> |
||
958 | dev | 6 | <%@ taglib uri="/WEB-INF/ak-strutsx.tld" prefix="strutsx" %> |
950 | dev | 7 | <%@ taglib uri="/WEB-INF/hostadmiral-core.tld" prefix="core" %> |
8 | <html> |
||
9 | |||
10 | <head> |
||
11 | <meta http-equiv="expires" content="0"> |
||
12 | <title><bean:message key="ak.hostadmiral.page.user.partedit.title" /></title> |
||
958 | dev | 13 | <link rel="stylesheet" type="text/css" href="<strutsx:root />/style/general.css"> |
950 | dev | 14 | </head> |
15 | |||
16 | <body> |
||
17 | |||
18 | <h1><bean:message key="ak.hostadmiral.page.user.partedit.title" /></h1> |
||
19 | |||
958 | dev | 20 | <strutsx:errorsIterator id="errors" /> |
21 | <strutsx:notEmpty name="errors"> |
||
22 | <div class="error"><bean:message key="ak.hostadmiral.page.general.errors" />: |
||
23 | <ul> |
||
24 | <logic:iterate name="errors" id="error"> |
||
25 | <li><strutsx:message name="error" property="key" valuesProperty="values" /></li> |
||
26 | </logic:iterate> |
||
27 | </ul> |
||
28 | </div> |
||
29 | </strutsx:notEmpty> |
||
950 | dev | 30 | |
31 | <html:form action="/user/partsubmit"> |
||
32 | <backpath:current /> |
||
33 | <html:hidden property="id" /> |
||
34 | |||
35 | <table border=1> |
||
36 | <tr> |
||
37 | <th><bean:message key="ak.hostadmiral.page.user.partedit.login" /></th> |
||
38 | <td><bean:write name="u" property="login" /></td> |
||
39 | </tr> |
||
40 | <tr> |
||
41 | <th><bean:message key="ak.hostadmiral.page.user.partedit.boss" /></th> |
||
42 | <td> |
||
43 | <logic:present name="u" property="boss"> |
||
44 | <bean:write name="u" property="boss.login" /> |
||
45 | </logic:present> |
||
46 | <logic:notPresent name="u" property="boss"> |
||
47 | <bean:message key="ak.hostadmiral.page.user.partedit.boss.empty" /> |
||
48 | </logic:notPresent> |
||
49 | </td> |
||
50 | </tr> |
||
51 | <tr> |
||
52 | <th><bean:message key="ak.hostadmiral.page.user.partedit.superuser" /></th> |
||
53 | <td> |
||
54 | <logic:equal name="u" property="superuser" value="true"> |
||
55 | <bean:message key="ak.hostadmiral.page.user.partedit.superuser.true" /> |
||
56 | </logic:equal> |
||
57 | <logic:notEqual name="u" property="superuser" value="true"> |
||
58 | <bean:message key="ak.hostadmiral.page.user.partedit.superuser.false" /> |
||
59 | </logic:notEqual> |
||
60 | </td> |
||
61 | </tr> |
||
62 | <tr> |
||
63 | <th><bean:message key="ak.hostadmiral.page.user.partedit.locale" /></th> |
||
64 | <td> |
||
65 | <html:select property="locale"> |
||
66 | <core:localeOptions /> |
||
67 | </html:select> |
||
68 | </td> |
||
69 | </tr> |
||
70 | <tr> |
||
71 | <th><bean:message key="ak.hostadmiral.page.user.partedit.enabled" /></th> |
||
72 | <td> |
||
73 | <logic:equal name="u" property="enabled" value="true"> |
||
74 | <bean:message key="ak.hostadmiral.page.user.partedit.enabled.true" /> |
||
75 | </logic:equal> |
||
76 | <logic:notEqual name="u" property="enabled" value="true"> |
||
77 | <bean:message key="ak.hostadmiral.page.user.partedit.enabled.false" /> |
||
78 | </logic:notEqual> |
||
79 | </td> |
||
80 | </tr> |
||
81 | <tr> |
||
82 | <th><bean:message key="ak.hostadmiral.page.user.partedit.comment" /></th> |
||
83 | <td><bean:write name="u" property="comment" /> </td> |
||
84 | </tr> |
||
85 | <tr> |
||
86 | <td colspan=2> |
||
87 | <html:submit><bean:message key="ak.hostadmiral.page.user.partedit.submit" /></html:submit> |
||
88 | <backpath:backlink><bean:message key="ak.hostadmiral.page.user.partedit.back" /></backpath:backlink> |
||
89 | </td> |
||
90 | </tr> |
||
91 | </table> |
||
92 | |||
93 | </html:form> |
||
94 | |||
95 | <p> |
||
96 | <backpath:link action="/user/logins" paramId="id" paramName="u" paramProperty="id"><bean:message key="ak.hostadmiral.page.user.partedit.logins" /></backpath:link> |
||
97 | </p> |
||
98 | |||
1014 | dev | 99 | <p> |
100 | <bean:message key="ak.hostadmiral.page.general.version" />: |
||
101 | <bean:write name="projectVersion" /> |
||
102 | </p> |
||
103 | |||
950 | dev | 104 | </body> |
105 | |||
106 | </html> |