Code

Fixed Terminal/Workstation -template string in mangement list.
[gosa.git] / plugins / admin / groups / class_divListGroup.inc
index 34e56a9acebd0a99965f8aa4d730de4069bce1ac..f8139ab5870acaf79d020f998003092cc33ca9ea 100644 (file)
@@ -11,12 +11,12 @@ class divListGroup extends MultiSelectWindow
   var $Regex              = "*";
   var $UserRegex          = "*";
 
-  /* CheckBoxes */
-  var $ShowPrimaryGroups      = true;
-  var $ShowSambaGroups        = true;  
-  var $ShowApplicationGroups  = true;
-  var $ShowMailGroups         = true;
-  var $ShowFunctionalGroups   = true;
+  /* CheckBoxes, to change default values modify $this->AddCheckBox */
+  var $ShowPrimaryGroups;
+  var $ShowSambaGroups;  
+  var $ShowApplicationGroups
+  var $ShowMailGroups;
+  var $ShowFunctionalGroups;
 
   /* Subsearch checkbox */
   var $SubSearch              = false;
@@ -38,8 +38,7 @@ class divListGroup extends MultiSelectWindow
 
     /* Result page will look like a headpage */
     $this->SetHeadpageMode();
-    $this->SetInformation(_("This menu allows you to add, edit and remove selected groups. ".
-                            "You may want to use the range selector on top of the group listbox, when working with a large number of groups."));
+    $this->SetInformation(_("This menu allows you to add, edit and remove selected groups. You may want to use the range selector on top of the group listbox, when working with a large number of groups."));
   
     /* Disable buttonsm */
     $this->EnableCloseButton(false);
@@ -170,7 +169,7 @@ class divListGroup extends MultiSelectWindow
         if(in_array("gotoEnvironment",      $val['objectClass']))   $enviro= $envimg;
       }
 
-      $title = "title='dn: ".@LDAP::fix($val['dn'])."'";
+      $title = "title='".preg_replace('/ /', ' ', @LDAP::fix($val['dn']))."'";
 
       if(!isset($val['description'][0])){
         $desc = "";