diff options
author | Ted Trask <ttrask01@yahoo.com> | 2015-06-25 09:37:21 -0400 |
---|---|---|
committer | Ted Trask <ttrask01@yahoo.com> | 2015-06-25 09:37:21 -0400 |
commit | cba64cd6575b5c541e6f3cd6f5a52b506d661537 (patch) | |
tree | 0f9195d1da46c9ee30b1287e2977b648c2c9541b /vmail-listusers-html.lsp | |
parent | 367f4f733f76da068f4125d420c475e8d085cf49 (diff) | |
download | acf-freeswitch-vmail-cba64cd6575b5c541e6f3cd6f5a52b506d661537.tar.bz2 acf-freeswitch-vmail-cba64cd6575b5c541e6f3cd6f5a52b506d661537.tar.xz |
Revert "Add searchusers action and make editusers and listusers actually be different"
This reverts commit 367f4f733f76da068f4125d420c475e8d085cf49.
Diffstat (limited to 'vmail-listusers-html.lsp')
-rw-r--r-- | vmail-listusers-html.lsp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/vmail-listusers-html.lsp b/vmail-listusers-html.lsp index 877b382..1972dc5 100644 --- a/vmail-listusers-html.lsp +++ b/vmail-listusers-html.lsp @@ -62,4 +62,12 @@ html = require("acf.html") <p>No users found</p> <% end %> +<% if viewlibrary and viewlibrary.dispatch_component and viewlibrary.check_permission("createuser") then %> +<% htmlviewfunctions.displayitem(cfe({type="link", value={redir=redir}, label="Create New User", option="Create", action="createuser" }), page_info, header_level2) %> +<% end %> + +<% if viewlibrary and viewlibrary.dispatch_component and viewlibrary.check_permission("createmanyusers") then %> +<% htmlviewfunctions.displayitem(cfe({type="link", value={redir=redir}, label="Create Multiple Users", option="Create", action="createmanyusers" }), page_info, header_level2) %> +<% end %> + <% htmlviewfunctions.displaysectionend(header_level) %> |