diff options
author | Zach LeBar <zach@zachlebar.com> | 2012-03-21 15:06:32 +0000 |
---|---|---|
committer | Zach LeBar <zach@zachlebar.com> | 2012-03-21 15:09:16 +0000 |
commit | 0874f88bc25066248c28b16d3bbf1ab5cd1f2611 (patch) | |
tree | 28ee52ea1b8a44eeff8453b6264953a2ab2665bd /interfaces-read-html.lsp | |
parent | 6d638ac9d28eac2c144d229359b64c0edaee2b4d (diff) | |
download | acf-alpine-baselayout-master.tar.bz2 acf-alpine-baselayout-master.tar.xz |
Change all -controller.lua files to use new handle_form() functions found in acf_www-controller.lua instead of the controllerfunctions.lua version and also instead of redirect_to_referrer(). Made corresponding changes to vmail-model .lua to make everything work.HEADmaster
Diffstat (limited to 'interfaces-read-html.lsp')
-rw-r--r-- | interfaces-read-html.lsp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/interfaces-read-html.lsp b/interfaces-read-html.lsp index 922e96a..6c48e19 100644 --- a/interfaces-read-html.lsp +++ b/interfaces-read-html.lsp @@ -38,13 +38,13 @@ end %> <A HREF='update?name=<%= html.html_escape(interface.name.value) %>&redir=read'>Edit </A> <% end if viewlibrary.check_permission("delete") then %> - <A HREF='delete?name=<%= html.html_escape(interface.name.value) %>'>Delete </A> + <A HREF='delete?name=<%= html.html_escape(interface.name.value) %>&submit=true&redir=read'>Delete </A> <% end if viewlibrary.check_permission("ifup") then %> - <A HREF='ifup?name=<%= html.html_escape(interface.name.value) %>'>ifup </A> + <A HREF='ifup?name=<%= html.html_escape(interface.name.value) %>&submit=true&redir=read'>ifup </A> <% end if viewlibrary.check_permission("ifdown") then %> - <A HREF='ifdown?name=<%= html.html_escape(interface.name.value) %>'>ifdown </A> + <A HREF='ifdown?name=<%= html.html_escape(interface.name.value) %>&submit=true&redir=read'>ifdown </A> <% end %> </TR> </TABLE> @@ -56,5 +56,5 @@ end %> <DL> <P class="error">WARNING!!! Restarting networking may cause the ACF web interface to stop functioning. Try refreshing this page after restarting. If that fails, you may have to use terminal access to recover.</P> <DT>Restart Networking</DT> -<DD><form action="<%= html.html_escape(page_info.script .. page_info.prefix .. page_info.controller .. "/restart") %>"><input class="submit" type="submit" value="Restart"></form></DD> +<DD><form action="<%= html.html_escape(page_info.script .. page_info.prefix .. page_info.controller .. "/restart?redir=read&submit=true") %>"><input class="submit" type="submit" name="submit" value="Restart"></form></DD> </DL> |