Code

Added printer patch
[gosa.git] / plugins / admin / systems / class_workstationService.inc
index e7ec6c77d6cf67132200aae667c26462d69a1397..7ba6be5e186e0a50b2220c793c5cfc1c11af48d8 100644 (file)
@@ -223,6 +223,17 @@ class workservice extends plugin
       }
 
     }
+
+    /* Workaround to fill in inherited values if we've specified an objectclass */
+    if (isset($_SESSION['SelectedSystemType']['ogroup']) && $_SESSION['SelectedSystemType']['ogroup'] != 'none'){
+      $this->XResolutions= array('default' => _("inherited"));
+      $this->XColordepths= array('default' => _("inherited"));
+      $this->XKbModels= array('default' => _("inherited"));
+      $this->XKbLayouts= array('default' => _("inherited"));
+      $this->XKbVariants= array('default' => _("inherited"));
+      $this->MouseTypes= array('AUTO' => _("inherited"));
+      $this->MousePorts= array('AUTO' => _("inherited"));
+    }
   }
 
   function execute()