summaryrefslogtreecommitdiffhomepage
path: root/src/ffluci/view/admin_system/passwd.htm
blob: 441753d8393c2145d1f48cf2e3615606bb4d5064 (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
<%+header%>
<h1><%:system System%></h1>
<h2><%:passwd Passwort ändern%></h2>
<div><br />
<% if stat then %>
	<% if stat == 0 then %>
		<code><%:password_changed Passwort erfolgreich geändert!%></code>
	<% elseif stat == 10 then %>
		<code class="error"><%:password_nomatch Passwörter stimmen nicht überein! %></code>
	<% else %>
		<code class="error"><%:unknown_error Unbekannter Fehler!%></code>
	<% end %>
<% end %>
<% if not stat or stat == 10 then %>
	<form method="post" action="<%=controller%>/admin/system/passwd">
		<fieldset class="cbi-section-node">
			<div class="cbi-value clear">
				<div class="cbi-value-title left"><%:password Passwort%></div>
				<div class="cbi-value-field"><input type="password" name="pwd1" /></div>
			</div>
			<div class="cbi-value clear">
				<div class="cbi-value-title left"><%:confirmation Bestätigung%></div>
				<div class="cbi-value-field"><input type="password" name="pwd2" /></div>
			</div>
			<br />
			<div>
				<input type="submit" value="<%:save Speichern%>" />
				<input type="reset" value="<%:reset Zurücksetzen%>" />
			</div>
		</fieldset>
	</form>
<% end %>
</div>
<%+footer%>