2 LuCI - Lua Configuration Interface
3 Copyright
2008 Steven Barth
<steven@midlink.org
>
4 Copyright
2008 Jo-Philipp Wich
<xm@leipzig.freifunk.net
>
6 Licensed under the Apache License, Version
2.0 (the
"License");
7 you may not use this file except in compliance with the License.
8 You may obtain a copy of the License at
10 http://www.apache.org/licenses/LICENSE-
2.0
17 <h2><%:a_s_changepw%
></h2>
18 <p><%:a_s_changepw1%
></p>
21 <% if stat ==
0 then %
>
22 <code><%:a_s_changepw_changed%
>!
</code>
23 <% elseif stat ==
10 then %
>
24 <code class=
"error"><%:a_s_changepw_nomatch%
>!
</code>
26 <code class=
"error"><%:unknownerror%
>!
</code>
29 <% if not stat or stat ==
10 then %
>
30 <form method=
"post" action=
"<%=controller%>/admin/system/passwd">
31 <div class=
"cbi-section-node">
32 <div class=
"cbi-value">
33 <div class=
"cbi-value-title"><%:password%
></div>
34 <div class=
"cbi-value-field"><input type=
"password" name=
"pwd1" /></div>
36 <div class=
"cbi-value">
37 <div class=
"cbi-value-title"><%:confirmation%
></div>
38 <div class=
"cbi-value-field"><input type=
"password" name=
"pwd2" /></div>
42 <input type=
"submit" value=
"<%:save%>" />
43 <input type=
"reset" value=
"<%:reset%>" />