From 802b8d7fe548afad99235db73b9c7ffea64c011b Mon Sep 17 00:00:00 2001 From: Ted Trask Date: Sat, 8 Jan 2011 20:30:37 +0000 Subject: Added createdatabase action. --- kamailio-listtables-html.lsp | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'kamailio-listtables-html.lsp') diff --git a/kamailio-listtables-html.lsp b/kamailio-listtables-html.lsp index 6a117e4..49aebc2 100644 --- a/kamailio-listtables-html.lsp +++ b/kamailio-listtables-html.lsp @@ -1,6 +1,8 @@ <% local form, viewlibrary, page_info, session = ... %> <% require("viewfunctions") %> +<% displaycommandresults({"createdatabase"}, session) %> +

<%= html.html_escape(form.label) %>

<% for i,table in ipairs(form.value) do %> @@ -11,4 +13,11 @@ <%= html.html_escape(table) %> <% end %> <% end %> +<% if #form.value == 0 and viewlibrary.check_permission("createdatabase") then %> +
Create Database
+
"> +
+ + +<% end %>
-- cgit v1.2.3