Code

Fixed header display
authorcajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Sat, 1 May 2010 14:46:27 +0000 (14:46 +0000)
committercajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Sat, 1 May 2010 14:46:27 +0000 (14:46 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@18006 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-plugins/goto/personal/environment/class_environment.inc

index eff161899b0b1e94d1072b7a4a76e9811f61dff2..d3f13f73fb1b6addb4835cf604c74e9c720e20a2 100644 (file)
@@ -441,7 +441,7 @@ class environment extends plugin
       }
       /* Group Dialog with enabled environment options */
       if ($this->is_account){
-        $display= $this->show_enable_header(msgPool::removeFeaturesButton(_("Desktop")),
+        $display= $this->show_disable_header(msgPool::removeFeaturesButton(_("Desktop")),
             msgPool::featuresEnabled(_("Desktop")));
       } else {
 
@@ -481,7 +481,7 @@ class environment extends plugin
 
         // 3. Account enabled . Editing from adminmenu
         if ($this->is_account){
-          $display= $this->show_enable_header(msgPool::removeFeaturesButton(_("Desktop")),
+          $display= $this->show_disable_header(msgPool::removeFeaturesButton(_("Desktop")),
               msgPool::featuresEnabled(_("Desktop")));
         } else {