summaryrefslogtreecommitdiffstats
path: root/openssl-viewcert-html.lsp
diff options
context:
space:
mode:
Diffstat (limited to 'openssl-viewcert-html.lsp')
-rw-r--r--openssl-viewcert-html.lsp6
1 files changed, 6 insertions, 0 deletions
diff --git a/openssl-viewcert-html.lsp b/openssl-viewcert-html.lsp
index c43dc80..36ccbb5 100644
--- a/openssl-viewcert-html.lsp
+++ b/openssl-viewcert-html.lsp
@@ -2,6 +2,12 @@
<% htmlviewfunctions = require("htmlviewfunctions") %>
<% html = require("acf.html") %>
+<%
+if viewlibrary and viewlibrary.dispatch_component and viewlibrary.check_permission("getcachain") and page_info.orig_action == page_info.prefix..page_info.controller.."/"..page_info.action then
+ viewlibrary.dispatch_component("getcachain", {cadir=view.value.cadir.value})
+end
+%>
+
<% local header_level = htmlviewfunctions.displaysectionstart(view, page_info) %>
<pre><%= html.html_escape(view.value.details.value.value) %></pre>
<% htmlviewfunctions.displaysectionend(header_level) %>