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