Code

Updated workstation - Startup
[gosa.git] / plugins / admin / systems / tabs_component.inc
index 60facee5a7c6ea884f29804a158571db2f7f4958..941203e24aa8ef958e81f8bfd95dfdc83aaf69ad 100644 (file)
@@ -3,9 +3,12 @@
 class componenttabs extends tabs
 {
 
-  function componenttabs($config, $data, $dn)
+  function componenttabs($config, $data, $dn,$category)
   {
-    tabs::tabs($config, $data, $dn);
+    tabs::tabs($config, $data, $dn,$category);
+
+    /* Add references/acls/snapshots */
+    $this->addSpecialTabs();
   }
 
   function save_object($save_current= FALSE)
@@ -14,11 +17,11 @@ class componenttabs extends tabs
   }
 
 
-  function save()
+  function save($ignore_account= FALSE)
   {
     /* Check for new 'dn', in order to propagate the
        'dn' to all plugins */
-    $baseobject= $this->by_object['componentgeneric'];
+    $baseobject= $this->by_object['componentGeneric'];
     $this->dn= "cn=$baseobject->cn,ou=netdevices,ou=systems,".$baseobject->base;
     $baseobject->dn= $this->dn;