diff options
Diffstat (limited to 'samba-listshares-html.lsp')
-rw-r--r-- | samba-listshares-html.lsp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/samba-listshares-html.lsp b/samba-listshares-html.lsp index e3fc36c..a0a608a 100644 --- a/samba-listshares-html.lsp +++ b/samba-listshares-html.lsp @@ -1,4 +1,4 @@ -<% local view, viewlibrary, page_info, session = ... +<% local view, viewlibrary, page_info, session = ... htmlviewfunctions = require("htmlviewfunctions") html = require("acf.html") %> @@ -42,7 +42,7 @@ html = require("acf.html") <% if viewlibrary.check_permission("editshare") then %> <% htmlviewfunctions.displayitem(cfe({type="link", value={name=name, redir=redir}, label="", option="Edit", action="editshare"}), page_info, -1) %> <% end %> - <% if viewlibrary.check_permission("deleteshare") then %> + <% if viewlibrary.check_permission("deleteshare") then %> <% htmlviewfunctions.displayitem(cfe({type="form", value={name=name}, label="", option="Delete", action="deleteshare"}), page_info, -1) %> <% end %> </td> |