Code

Updated error messages
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 26 May 2010 09:43:05 +0000 (09:43 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 26 May 2010 09:43:05 +0000 (09:43 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@18747 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-core/include/class_configRegistry.inc

index 597e7c9a924410fc601f1fba8de8942f1a49d09a..2bec73ce6137ef5c7998852be9bba2f856322ba3 100644 (file)
@@ -140,33 +140,23 @@ class configRegistry{
 
         $message = "";
         if(count($this->detectedSchemaIssues['missing'])){
-            $message .=   
+            $message.= "<br>".
                 _("The following objectClasses are missing:").
                 "<div class='scrollContainer' style='height:100px'>".
                 msgPool::buildList($this->detectedSchemaIssues['missing']).
                 "</div>";
         }    
         if(count($this->detectedSchemaIssues['versionMismatch'])){
-            $message.=
+            $message.= "<br>".
                 _("The following objectClasses do not match the version requirements:").
                 "<div class='scrollContainer' style='height:100px'>".
                 msgPool::buildList($this->detectedSchemaIssues['versionMismatch']).
                 "</div>";
         }    
-        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:").
-                "<div class='scrollContainer' style='height:100px'>".
-                msgPool::buildList($tmp).
-                "</div>";
-        }
-    
-        if($message != ""){ 
+        if($message != ""){
+            $message = _("Some plugins are deactivated, due to unresolved LDAP schema dependencies!")."<br>".
+                $message;
             msg_dialog::display(_("Schema validation error"),$message, ERROR_DIALOG);
         }
     }