diff options
author | Ted Trask <ttrask01@yahoo.com> | 2009-12-17 10:28:21 +0000 |
---|---|---|
committer | Ted Trask <ttrask01@yahoo.com> | 2009-12-17 10:28:21 +0000 |
commit | 8f0397f2700ebfddbc524d4274585b7a875ac4ca (patch) | |
tree | 058a1443a5259c99d29471ad3623a89d4fc5752a /tcpproxy-smtpstatus-html.lsp | |
parent | 33c1e98789d2db4a209f7a97164dac8866735774 (diff) | |
download | acf-tcpproxy-8f0397f2700ebfddbc524d4274585b7a875ac4ca.tar.bz2 acf-tcpproxy-8f0397f2700ebfddbc524d4274585b7a875ac4ca.tar.xz |
Use viewlibrary.check_permission from acf-core-0.9.0
Diffstat (limited to 'tcpproxy-smtpstatus-html.lsp')
-rw-r--r-- | tcpproxy-smtpstatus-html.lsp | 2 |
1 files changed, 1 insertions, 1 deletions
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") <H1>SMTP Proxy Status</H1> <DL> <% 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 %> <a href="<%= html.html_escape(page_info.script .. "/apk-tools/apk/install?package="..view.value.version.name) %>">Install</a> <% end %> |