Code

Updated system tabs
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 8 Sep 2006 10:20:43 +0000 (10:20 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 8 Sep 2006 10:20:43 +0000 (10:20 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@4630 594d385d-05f5-0310-b6e9-bd551577e9d8

plugins/admin/systems/tabs_component.inc
plugins/admin/systems/tabs_phone.inc
plugins/admin/systems/tabs_server.inc
plugins/admin/systems/tabs_terminal.inc
plugins/admin/systems/tabs_winstation.inc
plugins/admin/systems/tabs_workstation.inc

index b45cf2c7dc123737a70c6091d64222f66b99c451..19bd483b559d28d451300db056478f7e0208afde 100644 (file)
@@ -3,9 +3,9 @@
 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();
index a7266b2fd7957fe49a2a66944db527bf324e0696..cc408f60fdfc7c103dc060cdba8d32117b3be9e7 100644 (file)
@@ -3,9 +3,9 @@
 class phonetabs extends tabs
 {
 
-  function phonetabs($config, $data, $dn)
+  function phonetabs($config, $data, $dn,$category)
   {
-    tabs::tabs($config, $data, $dn);
+    tabs::tabs($config, $data, $dn,$category);
 
     /* Add references/acls/snapshots */
     $this->addSpecialTabs();
index 0caa90682d5a05a3a060f819331700239c7fca2b..b260e0971fd4947c9505fdae5b67ff2e84dd79b4 100644 (file)
@@ -3,9 +3,9 @@
 class servtabs extends tabs
 {
 
-  function servtabs($config, $data, $dn)
+  function servtabs($config, $data, $dn,$category)
   {
-    tabs::tabs($config, $data, $dn);
+    tabs::tabs($config, $data, $dn, $category);
 
     /* Add references/acls/snapshots */
     $this->addSpecialTabs();
index 17a7c32a1f02e3c09adb74e782d318a836b8898c..faa156a453782c8a923f2c0d963830a84df05d52 100644 (file)
@@ -3,7 +3,7 @@
 class termtabs extends tabs
 {
 
-  function termtabs($config, $data, $dn)
+  function termtabs($config, $data, $dn, $category)
   {
     /* Save dn */
     $this->dn= $dn;
@@ -12,11 +12,11 @@ class termtabs extends tabs
     foreach ($data as $tab){
       if($tab['CLASS'] == "printgeneric"){
         $this->by_name[$tab['CLASS']]= $tab['NAME'];
-        $this->by_object[$tab['CLASS']]= new $tab['CLASS']($this->config, $this->dn,$this);
+        $this->by_object[$tab['CLASS']]= new $tab['CLASS']($this->config, $this->dn, $category);
         $this->by_object[$tab['CLASS']]->parent= &$this;
       }else{
         $this->by_name[$tab['CLASS']]= $tab['NAME'];
-        $this->by_object[$tab['CLASS']]= new $tab['CLASS']($this->config, $this->dn);
+        $this->by_object[$tab['CLASS']]= new $tab['CLASS']($this->config, $this->dn, $category);
         $this->by_object[$tab['CLASS']]->parent= &$this;
       }
       /* Initialize current */
index 94817ad0ef00f9145cb11ca90f37de8a73114376..3643d4714246f4d9288c5191c3fcbacabd73eb80 100644 (file)
@@ -3,9 +3,9 @@
 class wintabs extends tabs
 {
 
-  function wintabs($config, $data, $dn)
+  function wintabs($config, $data, $dn,$category)
   {
-    tabs::tabs($config, $data, $dn);
+    tabs::tabs($config, $data, $dn,$category);
 
     /* Add references/acls/snapshots */
     $this->addSpecialTabs();
index b9045c1645f3933c94567a0ac49e66eb085298f8..edfda8e02ad6721e600376c39daba2a4d7b8dda6 100644 (file)
@@ -3,7 +3,7 @@
 class worktabs extends tabs
 {
 
-  function worktabs($config, $data, $dn)
+  function worktabs($config, $data, $dn,$category)
   {
     /* Save dn */
     $this->dn= $dn;
@@ -12,11 +12,11 @@ class worktabs extends tabs
     foreach ($data as $tab){
       if($tab['CLASS'] == "printgeneric"){
         $this->by_name[$tab['CLASS']]= $tab['NAME'];
-        $this->by_object[$tab['CLASS']]= new $tab['CLASS']($this->config, $this->dn,$this);
+        $this->by_object[$tab['CLASS']]= new $tab['CLASS']($this->config, $this->dn,$category);
         $this->by_object[$tab['CLASS']]->parent= &$this;
       }else{
         $this->by_name[$tab['CLASS']]= $tab['NAME'];
-        $this->by_object[$tab['CLASS']]= new $tab['CLASS']($this->config, $this->dn);
+        $this->by_object[$tab['CLASS']]= new $tab['CLASS']($this->config, $this->dn,$category);
         $this->by_object[$tab['CLASS']]->parent= &$this;
       }
       /* Initialize current */