blob: 46aa4d437d7ee52e872961d110b1db87c51505ce (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
<% local form, viewlibrary, page_info, session = ... %>
<% htmlviewfunctions = require("htmlviewfunctions") %>
<% htmlviewfunctions.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 %>
|