From ff71b7aac0d48ccdad5f0191cfd3315505ffacf2 Mon Sep 17 00:00:00 2001 From: hickert Date: Wed, 26 May 2010 09:43:05 +0000 Subject: [PATCH] Updated error messages git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@18747 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-core/include/class_configRegistry.inc | 22 ++++++---------------- 1 file changed, 6 insertions(+), 16 deletions(-) diff --git a/gosa-core/include/class_configRegistry.inc b/gosa-core/include/class_configRegistry.inc index 597e7c9a9..2bec73ce6 100644 --- a/gosa-core/include/class_configRegistry.inc +++ b/gosa-core/include/class_configRegistry.inc @@ -140,33 +140,23 @@ class configRegistry{ $message = ""; if(count($this->detectedSchemaIssues['missing'])){ - $message .= + $message.= "
". _("The following objectClasses are missing:"). "
". msgPool::buildList($this->detectedSchemaIssues['missing']). "
"; } if(count($this->detectedSchemaIssues['versionMismatch'])){ - $message.= + $message.= "
". _("The following objectClasses do not match the version requirements:"). "
". msgPool::buildList($this->detectedSchemaIssues['versionMismatch']). "
"; } - if(count($this->pluginsDeactivated)){ - - $tmp = array(); - foreach($this->pluginsDeactivated as $class){ - $tmp[$class] = (isset($this->classToName[$class]))? $this->classToName[$class] : $class; - } - - $message.= _("Due to unresolved requirements GOsa will deactivate the following plugins:"). - "
". - msgPool::buildList($tmp). - "
"; - } - - if($message != ""){ + if($message != ""){ + $message = _("Some plugins are deactivated, due to unresolved LDAP schema dependencies!")."
". + $message; + msg_dialog::display(_("Schema validation error"),$message, ERROR_DIALOG); } } -- 2.30.2