summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: bc81cce)
raw | patch | inline | side by side (parent: bc81cce)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 27 Sep 2007 12:45:57 +0000 (12:45 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 27 Sep 2007 12:45:57 +0000 (12:45 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@7426 594d385d-05f5-0310-b6e9-bd551577e9d8
include/functions.inc | patch | blob | history |
diff --git a/include/functions.inc b/include/functions.inc
index 9157cf1df2aea7a0a9fdc2d434b6d3666a81992d..600e91034776e7bea97da3693b33db955c742e4a 100644 (file)
--- a/include/functions.inc
+++ b/include/functions.inc
{
if (!preg_match("/Success/i", $message)){
if ($addon == ""){
- print_red (_("LDAP error: $message"));
+ msg_dialog::display(_("LDAP error:"),$message,ERROR_DIALOG);
+ #print_red (_("LDAP error:")." $message");
} else {
- print_red ("$addon<br><br><b>"._("LDAP error:")."</b> $message");
+ msg_dialog::display(sprintf(_("LDAP error in plugin '%s':"),"<i>".$addon."</i>"),$message,ERROR_DIALOG);
+ #print_red ("$addon<br><br><b>"._("LDAP error:")."</b> $message");
}
return TRUE;
} else {