blob: ab13038fda4ed64d0fc141ea1e2001a0dcc6d71b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
<% local form, viewlibrary, page_info, session = ... %>
<% require("viewfunctions") %>
<% displaycommandresults({"checkenvironment"}, session, true) %>
<%
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)
%>
<% if viewlibrary and viewlibrary.dispatch_component and viewlibrary.check_permission("checkenvironment") then
viewlibrary.dispatch_component("checkenvironment")
end %>
|