From 2acea3b4c25f843f4292da4fe9eea78cf97ca736 Mon Sep 17 00:00:00 2001 From: skel Date: Thu, 30 Jun 2011 15:13:54 -0400 Subject: Interface for OSPF --- ospf-expert-html.lsp | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100755 ospf-expert-html.lsp (limited to 'ospf-expert-html.lsp') diff --git a/ospf-expert-html.lsp b/ospf-expert-html.lsp new file mode 100755 index 0000000..5db9173 --- /dev/null +++ b/ospf-expert-html.lsp @@ -0,0 +1,12 @@ +<% local form, viewlibrary, page_info, session = ... %> +<% require("viewfunctions") %> + +<% if viewlibrary and viewlibrary.dispatch_component then + viewlibrary.dispatch_component("status") +end %> + +<% +local pattern = string.gsub(page_info.prefix..page_info.controller, "[%(%)%.%%%+%-%*%?%[%]%^%$]", "%%%1") +local func = haserl.loadfile(page_info.viewfile:gsub(pattern..".*$", "/") .. "filedetails-html.lsp") +func(form, viewlibrary, page_info, session) +%> -- cgit v1.2.3