summaryrefslogtreecommitdiffhomepage
path: root/modules/admin-full/luasrc/view/admin_system
diff options
context:
space:
mode:
authorSteven Barth <steven@midlink.org>2008-08-14 19:01:36 +0000
committerSteven Barth <steven@midlink.org>2008-08-14 19:01:36 +0000
commit15e2e16c6d81633d0dede30e7411e6b224998029 (patch)
tree37d4ca0fc8ba728e9c8a549798303edc43ee4516 /modules/admin-full/luasrc/view/admin_system
parentd915e6e1d7421f366ca61bf081b6ca0d29945ec1 (diff)
Converted password change form to CBI model
Diffstat (limited to 'modules/admin-full/luasrc/view/admin_system')
-rw-r--r--modules/admin-full/luasrc/view/admin_system/passwd.htm49
1 files changed, 0 insertions, 49 deletions
diff --git a/modules/admin-full/luasrc/view/admin_system/passwd.htm b/modules/admin-full/luasrc/view/admin_system/passwd.htm
deleted file mode 100644
index 176abaea2..000000000
--- a/modules/admin-full/luasrc/view/admin_system/passwd.htm
+++ /dev/null
@@ -1,49 +0,0 @@
-<%#
-LuCI - Lua Configuration Interface
-Copyright 2008 Steven Barth <steven@midlink.org>
-Copyright 2008 Jo-Philipp Wich <xm@leipzig.freifunk.net>
-
-Licensed under the Apache License, Version 2.0 (the "License");
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
-$Id$
-
--%>
-<%+header%>
-<h1><%:system%></h1>
-<h2><%:a_s_changepw%></h2>
-<p><%:a_s_changepw1%></p>
-<div><br />
-<% if stat then %>
- <% if stat == 0 then %>
- <code><%:a_s_changepw_changed%>!</code>
- <% elseif stat == 10 then %>
- <code class="error"><%:a_s_changepw_nomatch%>!</code>
- <% else %>
- <code class="error"><%:unknownerror%>!</code>
- <% end %>
-<% end %>
-<% if not stat or stat == 10 then %>
- <form method="post" action="<%=controller%>/admin/system/passwd">
- <div class="cbi-section-node">
- <div class="cbi-value">
- <div class="cbi-value-title"><%:password%></div>
- <div class="cbi-value-field"><input type="password" name="pwd1" /></div>
- </div>
- <div class="cbi-value">
- <div class="cbi-value-title"><%:confirmation%></div>
- <div class="cbi-value-field"><input type="password" name="pwd2" /></div>
- </div>
- <br />
- <div>
- <input type="submit" value="<%:save%>" />
- <input type="reset" value="<%:reset%>" />
- </div>
- </div>
- </form>
-<% end %>
-</div>
-<%+footer%> \ No newline at end of file