From 2b041d03848524315d42cb1ae5be13774d50c6e6 Mon Sep 17 00:00:00 2001 From: Eike Foken Date: Fri, 16 Sep 2011 01:38:48 +0200 Subject: [PATCH] Oh no! Show admin buttons only if users have the right --- application/views/dashboard.php | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/application/views/dashboard.php b/application/views/dashboard.php index b5edcb6..93dce25 100644 --- a/application/views/dashboard.php +++ b/application/views/dashboard.php @@ -6,7 +6,6 @@

-

@@ -53,6 +52,9 @@ ?>

+access->isAdmin()): +?>

@@ -62,6 +64,9 @@

+