X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=plugins%2Fadmin%2Fsystems%2Ftabs_phone.inc;h=cc408f60fdfc7c103dc060cdba8d32117b3be9e7;hb=9695395f399e680d3fbb0c6b7a2df7d8b37d17c8;hp=60ccd3305945055d308ee8094cbb4eb686d452f4;hpb=e299f0ca47a924516f2afbe4e922f2418b75315c;p=gosa.git diff --git a/plugins/admin/systems/tabs_phone.inc b/plugins/admin/systems/tabs_phone.inc index 60ccd3305..cc408f60f 100644 --- a/plugins/admin/systems/tabs_phone.inc +++ b/plugins/admin/systems/tabs_phone.inc @@ -3,9 +3,12 @@ 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(); } function save_object($save_current= FALSE) @@ -20,12 +23,16 @@ 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; } tabs::save(TRUE); + + /* Fix tagging if needed */ + $baseobject->handle_object_tagging(); } }