blob: bd8e6dec29c589c945108cb5aad0f1dfdc086df4 (
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 ?>
|