summaryrefslogtreecommitdiffstats
path: root/zebra-welcome-html.lsp
diff options
context:
space:
mode:
authorTed Trask <ttrask01@yahoo.com>2009-12-17 10:24:36 +0000
committerTed Trask <ttrask01@yahoo.com>2009-12-17 10:24:36 +0000
commit1752809df3fb80aab77566fd399a11d5c9d64ffc (patch)
tree6f4167b1b33bf2f64f9fad8736ee4b2e7b0c3240 /zebra-welcome-html.lsp
parent36f1b5dad3c1968de9a6b010ce15fb346cc553ba (diff)
downloadacf-quagga-1752809df3fb80aab77566fd399a11d5c9d64ffc.tar.bz2
acf-quagga-1752809df3fb80aab77566fd399a11d5c9d64ffc.tar.xz
Use viewlibrary.check_permission from acf-core-0.9.0
Diffstat (limited to 'zebra-welcome-html.lsp')
-rw-r--r--zebra-welcome-html.lsp4
1 files changed, 2 insertions, 2 deletions
diff --git a/zebra-welcome-html.lsp b/zebra-welcome-html.lsp
index 3670b93..251c503 100644
--- a/zebra-welcome-html.lsp
+++ b/zebra-welcome-html.lsp
@@ -2,9 +2,9 @@
require("viewfunctions")
%>
-<% if viewlibrary and viewlibrary.dispatch_component and session.permissions[page_info.controller].status then
+<% if viewlibrary and viewlibrary.dispatch_component and viewlibrary.check_permission("status") then
viewlibrary.dispatch_component("status")
end %>
-<% if viewlibrary and viewlibrary.dispatch_component and session.permissions[page_info.controller].details then
+<% if viewlibrary and viewlibrary.dispatch_component and viewlibrary.check_permission("details") then
viewlibrary.dispatch_component("details")
end %>