Code

Added row labeling
[gosa.git] / gosa-core / include / class_tabs.inc
index ccc3f7c715f9ee98d79341ab7ff5bbd3cebe9c23..6d1b5e871781daf574a885a21751473dd6e8ffe6 100644 (file)
@@ -54,7 +54,7 @@ class tabs
     if(!count($data)) {
       $data[] = array("CLASS" => 'plugin',"NAME" => 'Error');
       msg_dialog::display(_("Error"),
-        sprintf(_("No plugin definitions found to initialize '%s', please check your configuration file."),get_class($this)),
+        sprintf(_("No plugin definition for %s found: please check the configuration file!"), bold(get_class($this))),
         "ERROR_DIALOG");
     }
 
@@ -63,7 +63,7 @@ class tabs
     foreach ($data as &$tab){
 
       if (!plugin_available($tab['CLASS'])){
-        trigger_error(sprintf("Unknown class '%s'!", $tab['CLASS']));
+        trigger_error(sprintf("Unknown class %s!", bold($tab['CLASS'])));
        continue;
       }
       if ($this->current == "")  $this->current= $tab['CLASS'];
@@ -246,7 +246,7 @@ class tabs
     foreach (array_reverse($this->by_object) as $key => $obj){
       $reason= $obj->allow_remove();
       if ($reason != ""){
-        msg_dialog::display(_("Warning"), sprintf(_("Delete process has been canceled by plugin '%s': %s"), $key, $reason), WARNING_DIALOG);
+        msg_dialog::display(_("Warning"), sprintf(_("Delete process has been canceled by plugin %s: %s"), bold($key), $reason), WARNING_DIALOG);
         return;
       }
     }