aboutsummaryrefslogtreecommitdiff
path: root/ratatoeskr/templates/src/systemtemplates/user.html
blob: 30f06fd36291fe34a31d95b14e8c1c542288237e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
<ste:comment>This template looks very boring/ugly, too much empty space, should be fixed some day...</ste:comment>
<ste:load name="master.html" />
<ste:block name="content">
	<ste:default_error />
	<ste:default_success />
	
	<form action="$rel_path_to_root/backend/admin/users/u/$u[id]" method="POST" accept-charset="UTF-8">
		<p>
			<strong><ste:get_translation for="fullname" />:</strong><br />
			<input type="text" name="fullname" value="<ste:escape>$u[fullname]</ste:escape>" />
		</p>
		<p>
			<strong><ste:get_translation for="mail_address" />:</strong><br />
			<input type="text" name="mail" value="$u[mail]" />
		</p>
		<p>
			<strong><ste:get_translation for="language" />:</strong><br />
			<select name="lang">
				<ste:foreach array="all_languages" key="langcode" value="langname">
					<option value="$langcode"?{~{$langcode|eq|$u[lang]}| selected="selected"|}>$langcode: <ste:escape>$langname</ste:escape></option>
				</ste:foreach>
			</select>
		</p>
		<p><strong><ste:get_translation for="member_of_groups" />:</strong></p>
		<ul class="bulletfree">
			<ste:foreach array="groups" value="group">
				<li>
					<input type="checkbox" name="groups_multiselect[]" value="$group[id]" ?{$group[member]|checked="checked" |}/> <ste:escape>$group[name]</ste:escape>
				</li>
			</ste:foreach>
		</ul>
		<p><input type="submit" name="change_data" /></p>
		
		<h2><ste:get_translation for="new_password" /></h2>
		<p>
			<strong><ste:get_translation for="password" />:</strong><br />
			<input type="password" name="password" />
		</p>
		<p><input type="submit" name="new_password" /></p>
	</form>
</ste:block>