From 33c655d9c5f271f0ff7ce143fc29c1dfb3518112 Mon Sep 17 00:00:00 2001 From: cajus Date: Fri, 4 Jan 2008 16:33:57 +0000 Subject: [PATCH] Removed print_red from class_config.inc git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@8226 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-core/include/class_config.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gosa-core/include/class_config.inc b/gosa-core/include/class_config.inc index ea33f2c39..07877ebad 100644 --- a/gosa-core/include/class_config.inc +++ b/gosa-core/include/class_config.inc @@ -221,7 +221,7 @@ class config { /* Check for connection */ if (is_null($this->ldap) || (is_int($this->ldap) && $this->ldap == 0)){ $smarty= get_smarty(); - print_red (_("Can't bind to LDAP. Please contact the system administrator.")); + msg_dialog::display(_("LDAP error"), _("Can't bind to LDAP. Please contact the system administrator."), ERROR_DIALOG); display_error_page(); } @@ -547,7 +547,7 @@ class config { /* If no samba servers are found, look for configured sid/ridbase */ if (count($this->data['SERVERS']['SAMBA']) == 0){ if (!isset($this->current["SID"]) || !isset($this->current["RIDBASE"])){ - print_red(_("SID and/or RIDBASE missing in your configuration!")); + msg_dialog::display(_("Configuration error"), _("SID and/or RIDBASE missing in the configuration!"), ERROR_DIALOG); display_error_page(); } else { $this->data['SERVERS']['SAMBA']['DEFAULT']= array( -- 2.30.2