diff options
author | Ted Trask <ttrask01@yahoo.com> | 2014-10-10 14:46:01 +0000 |
---|---|---|
committer | Ted Trask <ttrask01@yahoo.com> | 2014-10-10 15:24:59 +0000 |
commit | 8ee996a56ff8ef0f42cb3b231e01f1f4f37a6c5d (patch) | |
tree | 7fcc5247568fe610f473b4931ac9ca596e915185 /kamailio-listusers-html.lsp | |
parent | 73639dd072204eb709245fe27529172975d8b802 (diff) | |
download | acf-kamailio-8ee996a56ff8ef0f42cb3b231e01f1f4f37a6c5d.tar.bz2 acf-kamailio-8ee996a56ff8ef0f42cb3b231e01f1f4f37a6c5d.tar.xz |
Add domain support to user management
(cherry picked from commit a040b1fd25d3a6bb65db161fa3c3b7a656fac9e0)
Conflicts:
kamailio-listusers-html.lsp
Diffstat (limited to 'kamailio-listusers-html.lsp')
-rw-r--r-- | kamailio-listusers-html.lsp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/kamailio-listusers-html.lsp b/kamailio-listusers-html.lsp index 0b7183f..c477fdb 100644 --- a/kamailio-listusers-html.lsp +++ b/kamailio-listusers-html.lsp @@ -34,6 +34,7 @@ <th>Action</th> <% end %> <th>User Name</th> + <th>Domain</th> <th>Password</th> </tr> </thead><tbody> @@ -42,14 +43,15 @@ <% if viewlibrary.check_permission("deleteuser") or viewlibrary.check_permission("updateuser") then %> <td> <% if viewlibrary.check_permission("updateuser") then %> - <%= html.link{value = "updateuser?username=" .. user.username.."&redir="..page_info.orig_action, label="Update "} %> + <%= html.link{value = "updateuser?username="..user.username.."&domain="..user.domain.."&redir="..page_info.orig_action, label="Update "} %> <% end %> <% if viewlibrary.check_permission("deleteuser") then %> - <%= html.link{value = "deleteuser?submit=true&username=" .. user.username, label="Delete "} %> + <%= html.link{value = "deleteuser?submit=true&username="..user.username.."&domain="..user.domain, label="Delete "} %> <% end %> </td> <% end %> <td><%= html.html_escape(user.username) %></td> + <td><%= html.html_escape(user.domain) %></td> <% if viewlibrary.check_permission("updateuser") then %> <td><%= html.html_escape(user.password) %></td> <% else %> |