blob: 50b892219e56b4d24deb06fb7e325da397fcbd2d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
<% local form, viewlibrary, page_info, session = ... %>
<% require("viewfunctions") %>
<%
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 session.permissions.openssl.checkenvironment then
viewlibrary.dispatch_component("checkenvironment")
end %>
|