index 9e3ebcbf0aa6260fa362c2a3eaab3bf93606e3f4..c0cec6b9438bf349beec50a2198ae41c0a3578b6 100644 (file)
if(($this->SubObjects[$key]['status'] == "new") || ($this->SubObjects[$key]['dn'] == "new")){
$down = "";
}else{
- $down = "<a href='getFAIscript.php?id=".base64_encode($name['dn'])."' target='_blank'>
+ $down = "<a href='getFAIscript.php?id=".base64_encode($name['dn'])."' >
<img src='images/save.png' alt='"._("Download")."' title='"._("Download")."' border=0>
</a>";
}
$ldap = $this->config->get_ldap_link();
$ldap->cd ($this->dn);
$ldap->rmdir_recursive($this->dn);
- show_ldap_error($ldap->get_error(), _("Removing FAI script base failed"));
+ show_ldap_error($ldap->get_error(), sprintf(_("Removing of FAI/script with dn '%s' failed."),$this->dn));
$this->handle_post_events("remove");
}
$ldap->cd($this->dn);
$ldap->add($this->attrs);
}
- show_ldap_error($ldap->get_error(), _("Creating FAI script base failed"));
+ show_ldap_error($ldap->get_error(), sprintf(_("Creating of FAI/script with dn '%s' failed."),$this->dn));
/* Do object tagging */
$this->handle_object_tagging();
$ldap->cd($sub_dn);
$ldap->rmdir_recursive($sub_dn);
$this->handle_post_events("remove");
- show_ldap_error($ldap->get_error(), _("Removing FAI script failed"));
+ show_ldap_error($ldap->get_error(), sprintf(_("Saving of FAI/script entry with dn '%s' failed."),$this->dn));
}elseif($obj['status'] == "edited"){
$ldap->cd($sub_dn);
$this->cleanup();
$ldap->cd($sub_dn);
$ldap->add($tmp);
$this->handle_post_events("add");
- show_ldap_error($ldap->get_error(), _("Saving FAI script failed"));
+ show_ldap_error($ldap->get_error(), sprintf(_("Saving of FAI/script entry with dn '%s' failed."),$this->dn));
}
$this->handle_object_tagging($sub_dn, $this->gosaUnitTag);