From: cajus Date: Tue, 6 Jun 2006 10:45:59 +0000 (+0000) Subject: Fixed object tagging for PHP4 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=16729d27cb0bf909b725064a19a7c9d46ba617d2;p=gosa.git Fixed object tagging for PHP4 git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@3653 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/plugins/admin/applications/tabs_application.inc b/plugins/admin/applications/tabs_application.inc index 4d8eb2824..203cd69bf 100644 --- a/plugins/admin/applications/tabs_application.inc +++ b/plugins/admin/applications/tabs_application.inc @@ -50,6 +50,7 @@ class apptabs extends tabs tabs::save(); /* Fix tagging if needed */ + $baseobject->dn= $this->dn; $baseobject->handle_object_tagging(); } diff --git a/plugins/admin/groups/tabs_group.inc b/plugins/admin/groups/tabs_group.inc index e45433942..a4d0279db 100644 --- a/plugins/admin/groups/tabs_group.inc +++ b/plugins/admin/groups/tabs_group.inc @@ -68,6 +68,7 @@ class grouptabs extends tabs $ret= tabs::save(); /* Fix tagging if needed */ + $baseobject->dn= $new_dn; $baseobject->handle_object_tagging(); return $ret; diff --git a/plugins/admin/ogroups/tabs_ogroups.inc b/plugins/admin/ogroups/tabs_ogroups.inc index 5083c6342..d39e9d3ba 100644 --- a/plugins/admin/ogroups/tabs_ogroups.inc +++ b/plugins/admin/ogroups/tabs_ogroups.inc @@ -244,6 +244,7 @@ class ogrouptabs extends tabs tabs::save(); /* Fix tagging if needed */ + $baseobject->dn= $new_dn; $baseobject->handle_object_tagging(); } diff --git a/plugins/admin/systems/tabs_component.inc b/plugins/admin/systems/tabs_component.inc index 597eadfbe..60facee5a 100644 --- a/plugins/admin/systems/tabs_component.inc +++ b/plugins/admin/systems/tabs_component.inc @@ -20,6 +20,7 @@ class componenttabs extends tabs 'dn' to all plugins */ $baseobject= $this->by_object['componentgeneric']; $this->dn= "cn=$baseobject->cn,ou=netdevices,ou=systems,".$baseobject->base; + $baseobject->dn= $this->dn; foreach ($this->by_object as $key => $obj){ $this->by_object[$key]->dn= $this->dn; diff --git a/plugins/admin/systems/tabs_phone.inc b/plugins/admin/systems/tabs_phone.inc index 742e2a001..cae0a2493 100644 --- a/plugins/admin/systems/tabs_phone.inc +++ b/plugins/admin/systems/tabs_phone.inc @@ -20,6 +20,7 @@ class phonetabs extends tabs 'dn' to all plugins */ $baseobject= $this->by_object['phonegeneric']; $this->dn= "cn=$baseobject->cn,ou=phones,ou=systems,".$baseobject->base; + $baseobject->dn= $this->dn; foreach ($this->by_object as $key => $obj){ $this->by_object[$key]->dn= $this->dn; diff --git a/plugins/admin/systems/tabs_printers.inc b/plugins/admin/systems/tabs_printers.inc index 2fe1c65db..0fbbccc22 100644 --- a/plugins/admin/systems/tabs_printers.inc +++ b/plugins/admin/systems/tabs_printers.inc @@ -38,6 +38,7 @@ class printtabs extends tabs 'dn' to all plugins */ $baseobject= $this->by_object['printgeneric']; $this->dn= "cn=$baseobject->cn,ou=printers,ou=systems,".$baseobject->base; + $baseobject->dn= $this->dn; foreach ($this->by_object as $key => $obj){ $this->by_object[$key]->dn= $this->dn; diff --git a/plugins/admin/systems/tabs_server.inc b/plugins/admin/systems/tabs_server.inc index 9c87c84f2..037aa8501 100644 --- a/plugins/admin/systems/tabs_server.inc +++ b/plugins/admin/systems/tabs_server.inc @@ -20,6 +20,7 @@ class servtabs extends tabs 'dn' to all plugins */ $baseobject= $this->by_object['servgeneric']; $this->dn= "cn=$baseobject->cn,ou=servers,ou=systems,".$baseobject->base; + $baseobject->dn= $this->dn; foreach ($this->by_object as $key => $obj){ $this->by_object[$key]->dn= $this->dn; diff --git a/plugins/admin/systems/tabs_terminal.inc b/plugins/admin/systems/tabs_terminal.inc index 59f5dad25..2bc8db0bf 100644 --- a/plugins/admin/systems/tabs_terminal.inc +++ b/plugins/admin/systems/tabs_terminal.inc @@ -42,6 +42,7 @@ class termtabs extends tabs 'dn' to all plugins */ $baseobject= $this->by_object['termgeneric']; $this->dn= "cn=".$baseobject->cn.",ou=terminals,ou=systems,".$baseobject->base; + $baseobject->dn= $this->dn; foreach ($this->by_object as $key => $obj){ $this->by_object[$key]->dn= $this->dn; diff --git a/plugins/admin/systems/tabs_winstation.inc b/plugins/admin/systems/tabs_winstation.inc index fdcb6e4e6..b1b144b4d 100644 --- a/plugins/admin/systems/tabs_winstation.inc +++ b/plugins/admin/systems/tabs_winstation.inc @@ -20,6 +20,7 @@ class wintabs extends tabs 'dn' to all plugins */ $baseobject= $this->by_object['wingeneric']; $this->dn= "cn=$baseobject->cn,ou=winstations,ou=systems,".$baseobject->base; + $baseobject->dn= $this->dn; foreach ($this->by_object as $key => $obj){ $this->by_object[$key]->dn= $this->dn; diff --git a/plugins/admin/systems/tabs_workstation.inc b/plugins/admin/systems/tabs_workstation.inc index 4afdf8333..96a1ce69d 100644 --- a/plugins/admin/systems/tabs_workstation.inc +++ b/plugins/admin/systems/tabs_workstation.inc @@ -38,6 +38,7 @@ class worktabs extends tabs 'dn' to all plugins */ $baseobject= $this->by_object['workgeneric']; $this->dn= "cn=".$baseobject->cn.",ou=workstations,ou=systems,".$baseobject->base; + $baseobject->dn= $this->dn; foreach ($this->by_object as $key => $obj){ $this->by_object[$key]->dn= $this->dn;