diff options
Diffstat (limited to 'rc-status-html.lsp')
-rw-r--r-- | rc-status-html.lsp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/rc-status-html.lsp b/rc-status-html.lsp index a586700..aab9470 100644 --- a/rc-status-html.lsp +++ b/rc-status-html.lsp @@ -41,14 +41,14 @@ for i,item in ipairs(view.value) do %> <td> <% local servicename = cfe({type="hidden", value=item.servicename}) %> <% if viewlibrary.check_permission("edit") then - htmlviewfunctions.displayitem(cfe({type="link", value={servicename=servicename, redir=redir}, label="", option="Edit", action="edit" }), -1, page_info) + htmlviewfunctions.displayitem(cfe({type="link", value={servicename=servicename, redir=redir}, label="", option="Edit", action="edit" }), page_info, -1) end %> <% if viewlibrary.check_permission("startstop") and item.actions then local startstopform = cfe({type="form", value={servicename=servicename}, label="", option={}, action="startstop" }) for i,a in ipairs(item.actions) do startstopform.option[#startstopform.option+1] = a:gsub("^%l", string.upper) end - htmlviewfunctions.displayitem(startstopform, -1, page_info) + htmlviewfunctions.displayitem(startstopform, page_info, -1) end %> </td> <td><%= html.html_escape(item.servicename) %></td> |