From a868d6d7443a7fca5637e3774f2aa5aae4adfd0d Mon Sep 17 00:00:00 2001 From: hickert Date: Fri, 23 Nov 2007 12:53:46 +0000 Subject: [PATCH] Closes #272 Remove notification image (lamp.png) from tabs, if plugin was disabled git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@7874 594d385d-05f5-0310-b6e9-bd551577e9d8 --- include/class_tabs.inc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/class_tabs.inc b/include/class_tabs.inc index a39c7505b..f75847a3a 100644 --- a/include/class_tabs.inc +++ b/include/class_tabs.inc @@ -183,7 +183,8 @@ class tabs $title= preg_replace("/ /"," ",$title); /* Take care about notifications */ - if ($this->by_object[$class]->pl_notify){ + $obj = $this->by_object[$class]; + if ( $this->by_object[$class]->pl_notify && ($obj->is_account || $obj->ignore_account)){ $notify= "id=\"notify\""; } else { $notify= ""; -- 2.30.2