diff options
author | Steven Barth <steven@midlink.org> | 2008-07-16 15:19:05 +0000 |
---|---|---|
committer | Steven Barth <steven@midlink.org> | 2008-07-16 15:19:05 +0000 |
commit | 0a0712b9d953838c58b91bd0941770105f18ad64 (patch) | |
tree | 47fda2f89e1371327c321fc710c848427b04cef2 /modules/admin-mini/luasrc/view/mini | |
parent | 66a6492ae5aa9779af6d22eaddf0f5f253ed1189 (diff) |
Added a note to the Freifunk menu for OpenWRT
modules/admin-mini: Several small fixes and improvements
Diffstat (limited to 'modules/admin-mini/luasrc/view/mini')
-rw-r--r-- | modules/admin-mini/luasrc/view/mini/passwd.htm | 2 | ||||
-rw-r--r-- | modules/admin-mini/luasrc/view/mini/reboot.htm | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/modules/admin-mini/luasrc/view/mini/passwd.htm b/modules/admin-mini/luasrc/view/mini/passwd.htm index 176abaea2..ece9a5947 100644 --- a/modules/admin-mini/luasrc/view/mini/passwd.htm +++ b/modules/admin-mini/luasrc/view/mini/passwd.htm @@ -27,7 +27,7 @@ $Id$ <% end %> <% end %> <% if not stat or stat == 10 then %> - <form method="post" action="<%=controller%>/admin/system/passwd"> + <form method="post" action="<%=REQUEST_URI%>"> <div class="cbi-section-node"> <div class="cbi-value"> <div class="cbi-value-title"><%:password%></div> diff --git a/modules/admin-mini/luasrc/view/mini/reboot.htm b/modules/admin-mini/luasrc/view/mini/reboot.htm index 600da36fc..b0f64698d 100644 --- a/modules/admin-mini/luasrc/view/mini/reboot.htm +++ b/modules/admin-mini/luasrc/view/mini/reboot.htm @@ -25,7 +25,7 @@ if c and next(c) then end if not reboot then -%> -<p><a href="<%=controller%>/admin/system/reboot?reboot=1"><%:a_s_reboot_do%></a></p> +<p><a href="<%=REQUEST_URI%>?reboot=1"><%:a_s_reboot_do%></a></p> <%- else -%> <p><%:a_s_reboot_running%></p> <script type="text/javascript">setTimeout("location='<%=controller%>/admin'", 60000)</script> |