diff options
author | Steven Barth <steven@midlink.org> | 2008-03-30 19:12:16 +0000 |
---|---|---|
committer | Steven Barth <steven@midlink.org> | 2008-03-30 19:12:16 +0000 |
commit | 9b4e269bea4db2e75d3d33757a53d2ab89bf05bf (patch) | |
tree | 0e67237edc84967682aa67eaa9afb61630e56b29 /src/ffluci/view/admin_system/passwd.htm | |
parent | eee28047913d9bc159ebc49e72807db413ec73c7 (diff) |
* Added reboot page
* Added SSH-Keys page
* ffluci.template: Removed a debugging statement
Diffstat (limited to 'src/ffluci/view/admin_system/passwd.htm')
-rw-r--r-- | src/ffluci/view/admin_system/passwd.htm | 33 |
1 files changed, 26 insertions, 7 deletions
diff --git a/src/ffluci/view/admin_system/passwd.htm b/src/ffluci/view/admin_system/passwd.htm index 3458fef924..441753d839 100644 --- a/src/ffluci/view/admin_system/passwd.htm +++ b/src/ffluci/view/admin_system/passwd.htm @@ -1,14 +1,33 @@ <%+header%> <h1><%:system System%></h1> -<h2><%:changepw Passwort ändern%></h2> +<h2><%:passwd Passwort ändern%></h2> <div><br /> -<% if msg then %> - <code><%=msg%></code> -<% else %> +<% 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"> - <input type="password" name="pwd1" /> <%:password Passwort%><br /> - <input type="password" name="pwd2" /> <%:confirmation Bestätigung%><br /> - <input type="submit" value="<%:save Speichern%>" /> + <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> |