From: hickert Date: Fri, 23 Nov 2007 12:53:46 +0000 (+0000) Subject: Closes #272 Remove notification image (lamp.png) from tabs, if plugin was disabled X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=a868d6d7443a7fca5637e3774f2aa5aae4adfd0d;p=gosa.git 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 --- 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= "";