summaryrefslogtreecommitdiffstats
path: root/kamailio-listtables-html.lsp
diff options
context:
space:
mode:
authorTed Trask <ttrask01@yahoo.com>2013-09-27 03:29:27 +0000
committerTed Trask <ttrask01@yahoo.com>2013-09-27 03:30:10 +0000
commit3243d80d3a748917a6dbe54ed54f3a9a5602f2de (patch)
tree627faee905b68216c4cffaf1b526d478d47de674 /kamailio-listtables-html.lsp
parent5d8563ffe7ebfe596179baebc016ba7fa1905381 (diff)
downloadacf-kamailio-3243d80d3a748917a6dbe54ed54f3a9a5602f2de.tar.bz2
acf-kamailio-3243d80d3a748917a6dbe54ed54f3a9a5602f2de.tar.xz
Modified to use new acf-db library for viewing/editing database
Change model and controller to no longer use deprecated "module" function
Diffstat (limited to 'kamailio-listtables-html.lsp')
-rw-r--r--kamailio-listtables-html.lsp24
1 files changed, 0 insertions, 24 deletions
diff --git a/kamailio-listtables-html.lsp b/kamailio-listtables-html.lsp
deleted file mode 100644
index fec3ac4..0000000
--- a/kamailio-listtables-html.lsp
+++ /dev/null
@@ -1,24 +0,0 @@
-<% local form, viewlibrary, page_info, session = ... %>
-<% require("htmlviewfunctions") %>
-<% html = require("acf.html") %>
-
-<% htmlviewfunctions.displaycommandresults({"createdatabase"}, session) %>
-
-<H1><%= html.html_escape(form.label) %></H1>
-<DL>
-<% for i,table in ipairs(form.value) do %>
- <li>
- <% if viewlibrary.check_permission("viewtable") then %>
- <%= html.link{value = "viewtable?table=" .. table, label=table} %>
- <% else %>
- <%= html.html_escape(table) %>
- <% end %>
-<% end %>
-<% if #form.value == 0 and viewlibrary.check_permission("createdatabase") then %>
-<DT>Create Database</DT><DD>
-<form action="<%= html.html_escape(page_info.script .. page_info.prefix .. page_info.controller .. "/createdatabase") %>">
-<input class="submit" type="submit" name="submit" value="Create"></DD>
-</form>
-</DD>
-<% end %>
-</DL>