From: hickert Date: Fri, 8 Sep 2006 10:20:43 +0000 (+0000) Subject: Updated system tabs X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=bcd990bd4ee1bbd8abfd2093f0879e8afdd8ca0b;p=gosa.git Updated system tabs git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@4630 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/plugins/admin/systems/tabs_component.inc b/plugins/admin/systems/tabs_component.inc index b45cf2c7d..19bd483b5 100644 --- a/plugins/admin/systems/tabs_component.inc +++ b/plugins/admin/systems/tabs_component.inc @@ -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(); diff --git a/plugins/admin/systems/tabs_phone.inc b/plugins/admin/systems/tabs_phone.inc index a7266b2fd..cc408f60f 100644 --- a/plugins/admin/systems/tabs_phone.inc +++ b/plugins/admin/systems/tabs_phone.inc @@ -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(); diff --git a/plugins/admin/systems/tabs_server.inc b/plugins/admin/systems/tabs_server.inc index 0caa90682..b260e0971 100644 --- a/plugins/admin/systems/tabs_server.inc +++ b/plugins/admin/systems/tabs_server.inc @@ -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(); diff --git a/plugins/admin/systems/tabs_terminal.inc b/plugins/admin/systems/tabs_terminal.inc index 17a7c32a1..faa156a45 100644 --- a/plugins/admin/systems/tabs_terminal.inc +++ b/plugins/admin/systems/tabs_terminal.inc @@ -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 */ diff --git a/plugins/admin/systems/tabs_winstation.inc b/plugins/admin/systems/tabs_winstation.inc index 94817ad0e..3643d4714 100644 --- a/plugins/admin/systems/tabs_winstation.inc +++ b/plugins/admin/systems/tabs_winstation.inc @@ -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(); diff --git a/plugins/admin/systems/tabs_workstation.inc b/plugins/admin/systems/tabs_workstation.inc index b9045c164..edfda8e02 100644 --- a/plugins/admin/systems/tabs_workstation.inc +++ b/plugins/admin/systems/tabs_workstation.inc @@ -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 */