From 833ff8f7dac1f5f5d953eef08dc86034f7b42752 Mon Sep 17 00:00:00 2001 From: Uwe Steinmann Date: Wed, 20 Nov 2019 17:50:26 +0100 Subject: [PATCH] do not allow adding events and showing tasks --- views/bootstrap/class.Bootstrap.php | 2 +- views/bootstrap/class.Calendar.php | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/views/bootstrap/class.Bootstrap.php b/views/bootstrap/class.Bootstrap.php index 478fecb97..021f6f69d 100644 --- a/views/bootstrap/class.Bootstrap.php +++ b/views/bootstrap/class.Bootstrap.php @@ -334,7 +334,7 @@ background-image: linear-gradient(to bottom, #882222, #111111);; echo " \n"; echo " \n"; - if($this->params['enablemenutasks']) { + if($this->params['enablemenutasks'] && !$this->params['user']->isGuest()) { echo "
"; echo "
"; // echo "