diff options
-rw-r--r-- | squid-config-html.lsp | 8 | ||||
-rw-r--r-- | squid-model.lua | 4 |
2 files changed, 11 insertions, 1 deletions
diff --git a/squid-config-html.lsp b/squid-config-html.lsp index d43f684..5b7ce79 100644 --- a/squid-config-html.lsp +++ b/squid-config-html.lsp @@ -2,9 +2,17 @@ require("viewfunctions") %> +<% if viewlibrary and viewlibrary.dispatch_component then + viewlibrary.dispatch_component("status") +end %> + <H1><%= form.label %></H1> <% form.action = page_info.script .. page_info.prefix .. page_info.controller .. "/" .. page_info.action local order = {"httpports", "accesslog", "diskcache", "authmethod"} displayform(form, order) %> + +<% if viewlibrary and viewlibrary.dispatch_component then + viewlibrary.dispatch_component("startstop") +end %> diff --git a/squid-model.lua b/squid-model.lua index 4d216ff..33cf490 100644 --- a/squid-model.lua +++ b/squid-model.lua @@ -75,7 +75,9 @@ end update_digest_userlist = function( userlistdetails ) userlistdetails.value.filename.value = squiddigestusers - return modelfunctions.updatefiledetails(userlistdetails) + -- FIXME - validate + modelfunctions.setfiledetails(userlistdetails) + return read_digest_userlist() end enable_digest_userlist = function() |