From 8f0397f2700ebfddbc524d4274585b7a875ac4ca Mon Sep 17 00:00:00 2001 From: Ted Trask Date: Thu, 17 Dec 2009 10:28:21 +0000 Subject: Use viewlibrary.check_permission from acf-core-0.9.0 --- tcpproxy-smtpstatus-html.lsp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tcpproxy-smtpstatus-html.lsp') diff --git a/tcpproxy-smtpstatus-html.lsp b/tcpproxy-smtpstatus-html.lsp index 0e3384f..143c991 100644 --- a/tcpproxy-smtpstatus-html.lsp +++ b/tcpproxy-smtpstatus-html.lsp @@ -8,7 +8,7 @@ require("viewfunctions")

SMTP Proxy Status

<% displayitem(view.value.version) -if view.value.version and view.value.version.errtxt and session.permissions.apk and session.permissions.apk.install then +if view.value.version and view.value.version.errtxt and viewlibrary.check_permission("apk-tools/apk/install") then %> Install <% end %> -- cgit v1.2.3