summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 824f2f9)
raw | patch | inline | side by side (parent: 824f2f9)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 25 Jul 2008 13:21:55 +0000 (13:21 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 25 Jul 2008 13:21:55 +0000 (13:21 +0000) |
- Print out GOsa error message instead of a simple text
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@12056 594d385d-05f5-0310-b6e9-bd551577e9d8
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@12056 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-plugins/fai/admin/fai/class_FAI.inc | patch | blob | history |
index 75a7b1f684f115f6b6c9489674ff8795b8a90da6..ffa7427dcd9b050b32b3a566da082e64a5661b7d 100644 (file)
if(!$ldap->success()){
/* Some error occurred */
- print "---------------------------------------------";
- print $ldap->get_error()."<br>";
- print $sourcedn."<br>";
- print $destinationdn."<br>";
- print_a( $attr);
+ msg_dialog::display(_("Fatal error"),
+ sprintf(_("Release creation failed due to ldap errors. Additional informations '%s'."),
+ $ldap->get_error()."<br>".$sourcedn."<br>".$destinationdn."<br>"),FATAL_ERROR_DIALOG);
exit();
}
}