X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=plugins%2Fadmin%2Fsystems%2Fclass_termDNS.inc;h=ad36377c53174a60260005accfbde831652cb380;hb=e1bf22f058266d04da312a6a12cc26fcda9bd930;hp=e5e9c6fdf363ccd1b8d73a15852a41c90676e7b4;hpb=c39b66e0d18516a014b3267b60a40b772818c104;p=gosa.git diff --git a/plugins/admin/systems/class_termDNS.inc b/plugins/admin/systems/class_termDNS.inc index e5e9c6fdf..ad36377c5 100644 --- a/plugins/admin/systems/class_termDNS.inc +++ b/plugins/admin/systems/class_termDNS.inc @@ -56,7 +56,7 @@ class termDNS extends plugin /* Hide all dns specific code, if dns is not available */ $DNSenabled = false; - foreach($this->config->data['TABS']['SERVTABS'] as $tab){ + foreach($this->config->data['TABS']['SERVERSERVICE'] as $tab){ if(preg_match("/^servdns$/",$tab['CLASS'])){ $this->DNSenabled = true; } @@ -230,7 +230,7 @@ class termDNS extends plugin while($attr = $ldap->fetch()){ $ldap->cd($attr['dn']); $ldap->rmDir($attr['dn']); - show_ldap_error("Record:".$ldap->get_error(), _("Removing terminal from DNS object failed")); + show_ldap_error($ldap->get_error(), sprintf(_("Removing of terminal/dns acoount with dn '%s' failed."),$this->dn)); } */ } @@ -445,7 +445,7 @@ class termDNS extends plugin /* Display errors */ if($ldap->get_error() != "Success"){ - show_ldap_error("Record:".$ldap->get_error(), _("Saving terminal to DNS object failed")); + show_ldap_error($ldap->get_error(), sprintf(_("Saving of terminal/dns account with dn '%s' failed."),$this->dn)); } } }