Code

Closes #272 Remove notification image (lamp.png) from tabs, if plugin was disabled
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 23 Nov 2007 12:53:46 +0000 (12:53 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 23 Nov 2007 12:53:46 +0000 (12:53 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@7874 594d385d-05f5-0310-b6e9-bd551577e9d8

include/class_tabs.inc

index a39c7505b18c04306ebba071906c4252d0655390..f75847a3a54503f521f7b2ad5f7833bfb18a799e 100644 (file)
@@ -183,7 +183,8 @@ class tabs
       $title= preg_replace("/ /","&nbsp;",$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= "";