From: cajus Date: Fri, 4 Jan 2008 16:35:55 +0000 (+0000) Subject: Removed print_red from tabs X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=25f2d3f8f411788371de49d62067a9eb86e8d476;p=gosa.git Removed print_red from tabs git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@8227 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-core/include/class_tabs.inc b/gosa-core/include/class_tabs.inc index 4d5c69512..aa00fbc24 100644 --- a/gosa-core/include/class_tabs.inc +++ b/gosa-core/include/class_tabs.inc @@ -206,7 +206,7 @@ class tabs foreach (array_reverse($this->by_object) as $key => $obj){ $reason= $obj->allow_remove(); if ($reason != ""){ - print_red(sprintf(_("Delete process has been canceled by plugin '%s': %s"), $key, $reason)); + msg_dialog::display(_("Warning"), sprintf(_("Delete process has been canceled by plugin '%s': %s"), $key, $reason), WARNING_DIALOG); return; } }