Warning: Attempt to read property "date" on null in /home/www/websvn.26th.net/html/blame.php on line 247

Warning: Attempt to read property "msg" on null in /home/www/websvn.26th.net/html/blame.php on line 247

Deprecated: preg_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /home/www/websvn.26th.net/html/blame.php on line 247

Warning: Attempt to read property "date" on null in /home/www/websvn.26th.net/html/blame.php on line 247

Warning: Attempt to read property "msg" on null in /home/www/websvn.26th.net/html/blame.php on line 247

Deprecated: preg_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /home/www/websvn.26th.net/html/blame.php on line 247

Warning: Attempt to read property "date" on null in /home/www/websvn.26th.net/html/blame.php on line 247

Warning: Attempt to read property "msg" on null in /home/www/websvn.26th.net/html/blame.php on line 247

Deprecated: preg_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /home/www/websvn.26th.net/html/blame.php on line 247

Warning: Attempt to read property "date" on null in /home/www/websvn.26th.net/html/blame.php on line 247

Warning: Attempt to read property "msg" on null in /home/www/websvn.26th.net/html/blame.php on line 247

Deprecated: preg_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /home/www/websvn.26th.net/html/blame.php on line 247

Warning: Attempt to read property "date" on null in /home/www/websvn.26th.net/html/blame.php on line 247

Warning: Attempt to read property "msg" on null in /home/www/websvn.26th.net/html/blame.php on line 247

Deprecated: preg_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /home/www/websvn.26th.net/html/blame.php on line 247

Warning: Attempt to read property "date" on null in /home/www/websvn.26th.net/html/blame.php on line 247

Warning: Attempt to read property "msg" on null in /home/www/websvn.26th.net/html/blame.php on line 247

Deprecated: preg_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /home/www/websvn.26th.net/html/blame.php on line 247

Warning: Attempt to read property "date" on null in /home/www/websvn.26th.net/html/blame.php on line 247

Warning: Attempt to read property "msg" on null in /home/www/websvn.26th.net/html/blame.php on line 247

Deprecated: preg_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /home/www/websvn.26th.net/html/blame.php on line 247

Warning: Attempt to read property "date" on null in /home/www/websvn.26th.net/html/blame.php on line 247

Warning: Attempt to read property "msg" on null in /home/www/websvn.26th.net/html/blame.php on line 247

Deprecated: preg_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /home/www/websvn.26th.net/html/blame.php on line 247

Warning: Attempt to read property "date" on null in /home/www/websvn.26th.net/html/blame.php on line 247

Warning: Attempt to read property "msg" on null in /home/www/websvn.26th.net/html/blame.php on line 247

Deprecated: preg_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /home/www/websvn.26th.net/html/blame.php on line 247

Warning: Attempt to read property "date" on null in /home/www/websvn.26th.net/html/blame.php on line 247

Warning: Attempt to read property "msg" on null in /home/www/websvn.26th.net/html/blame.php on line 247

Deprecated: preg_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /home/www/websvn.26th.net/html/blame.php on line 247
WebSVN – general – Blame – //hostadmiral/branches/hibernate3/webapp/user/edit.jsp – Rev 1023

Subversion Repositories general

Rev

Go to most recent revision | Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
1023 dev 1
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
920 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" %>
958 dev 6
<%@ taglib uri="/WEB-INF/ak-strutsx.tld"       prefix="strutsx"  %>
924 dev 7
<%@ taglib uri="/WEB-INF/hostadmiral-core.tld" prefix="core"     %>
920 dev 8
<html>
9
 
10
<head>
11
	<meta http-equiv="expires" content="0">
924 dev 12
	<title><bean:message key="ak.hostadmiral.page.user.edit.title" /></title>
958 dev 13
	<link rel="stylesheet" type="text/css" href="<strutsx:root />/style/general.css">
920 dev 14
</head>
15
 
16
<body>
17
 
924 dev 18
<h1><bean:message key="ak.hostadmiral.page.user.edit.title" /></h1>
920 dev 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>
920 dev 30
 
31
<html:form action="/user/submit">
32
<backpath:current />
33
<html:hidden property="id" />
34
 
35
<table border=1>
36
	<tr>
924 dev 37
		<th><bean:message key="ak.hostadmiral.page.user.edit.login" /></th>
920 dev 38
		<td><html:text property="login" /></td>
39
    </tr>
40
	<tr>
924 dev 41
		<th><bean:message key="ak.hostadmiral.page.user.edit.password" /></th>
920 dev 42
		<td><html:password property="password" redisplay="false" /></td>
43
    </tr>
44
	<tr>
924 dev 45
		<th><bean:message key="ak.hostadmiral.page.user.edit.password_again" /></th>
920 dev 46
		<td><html:password property="password2" redisplay="false" /></td>
47
    </tr>
48
	<tr>
924 dev 49
		<th><bean:message key="ak.hostadmiral.page.user.edit.boss" /></th>
920 dev 50
		<td>
1010 dev 51
			<core:rights name="u" method="mayChangeBoss">
52
				<html:select property="boss">
53
					<html:option value="" key="ak.hostadmiral.page.user.edit.boss.empty"/>
54
					<core:options collection="users" property="id" />
55
				</html:select>
56
			</core:rights>
57
			<core:noRights name="u" method="mayChangeBoss">
58
				<bean:write name="u" property="boss.login" />
59
			</core:noRights>
915 dev 60
		</td>
920 dev 61
    </tr>
62
	<tr>
924 dev 63
		<th><bean:message key="ak.hostadmiral.page.user.edit.superuser" /></th>
920 dev 64
		<td>
65
			<core:rights name="u" method="mayChangeSuperuser">
66
				<html:checkbox property="superuser" />
67
			</core:rights>
68
			<core:noRights name="u" method="mayChangeSuperuser">
69
				<logic:equal name="u" property="superuser" value="true">
924 dev 70
					<bean:message key="ak.hostadmiral.page.user.edit.superuser.true" />
920 dev 71
				</logic:equal>
72
				<logic:notEqual name="u" property="superuser" value="true">
924 dev 73
				  	<bean:message key="ak.hostadmiral.page.user.edit.superuser.false" />
920 dev 74
				</logic:notEqual>
75
			</core:noRights>
918 dev 76
		</td>
920 dev 77
    </tr>
78
	<tr>
950 dev 79
		<th><bean:message key="ak.hostadmiral.page.user.edit.locale" /></th>
80
		<td>
81
			<html:select property="locale">
82
				<core:localeOptions />
83
			</html:select>
84
		</td>
85
    </tr>
86
	<tr>
924 dev 87
		<th><bean:message key="ak.hostadmiral.page.user.edit.enabled" /></th>
920 dev 88
		<td><html:checkbox property="enabled" /></td>
89
    </tr>
90
	<tr>
924 dev 91
		<th><bean:message key="ak.hostadmiral.page.user.edit.comment" /></th>
920 dev 92
		<td><html:textarea property="comment" /></td>
93
    </tr>
94
	<tr>
95
		<td colspan=2>
924 dev 96
			<html:submit><bean:message key="ak.hostadmiral.page.user.edit.submit" /></html:submit>
97
			<backpath:backlink><bean:message key="ak.hostadmiral.page.user.edit.back" /></backpath:backlink>
1014 dev 98
			<logic:notEmpty name="u" property="id">
99
				<backpath:link action="/user/logins" paramId="id" paramName="u" paramProperty="id"><bean:message key="ak.hostadmiral.page.user.edit.logins" /></backpath:link>
100
			</logic:notEmpty>
920 dev 101
		</td>
102
    </tr>
103
</table>
104
 
105
</html:form>
106
 
949 dev 107
<p>
1014 dev 108
	<bean:message key="ak.hostadmiral.page.general.version" />:
109
	<bean:write name="projectVersion" />
949 dev 110
</p>
111
 
920 dev 112
</body>
113
 
114
</html>