Code

Fixed Problem with saving new ACL for a tagged department.
[gosa.git] / gosa-core / include / class_MultiSelectWindow.inc
index 3a970c19f66c01802b850c2dd6fbe37a17ce0bde..898916456ffe9f8c27dbb76f5ee67851ce7edd1a 100644 (file)
@@ -261,7 +261,7 @@ class MultiSelectWindow{
     /* And at least draw reload button, this button is enabled everytime */ 
     $listhead .=  " <input class='center' type='image' src='images/lists/reload.png' align='middle'
       title='"._("Reload list")."' name='submit_department' alt='"._("Submit")."'>&nbsp;".
-      " <img   class='center' src='images/list_seperator.png' align='middle' alt='-' height='16' width='1'>&nbsp;";
+      " <img   class='center' src='images/lists/seperator.png' align='middle' alt='-' height='16' width='1'>&nbsp;";
 
     return ($listhead);
   }
@@ -658,7 +658,7 @@ class MultiSelectWindow{
           $str = "<img class='center' src='images/lists/restore_grey.png' alt=''>&nbsp;";
         }
       }
-#      $str .= "<img class='center' src='images/list_seperator.png' align='middle' alt='' height='16' width='1'>&nbsp;";
+#      $str .= "<img class='center' src='images/lists/seperator.png' align='middle' alt='' height='16' width='1'>&nbsp;";
     }
     return($str);
   }
@@ -744,7 +744,7 @@ class MultiSelectWindow{
                        $nkey= normalizePreg($key);
                        foreach($this->config->departments as $keyd=>$vald ){
                                if(preg_match('/$nkey\/.*/',$keyd)){
-                                       $non_empty="full";
+                                       $non_empty="-full";
                                }
                        }
 
@@ -757,7 +757,7 @@ class MultiSelectWindow{
         }
       }
 
-                       $row[]=$field1=array("string"=>"<img src='images/".$non_empty."folder.png' alt='department'>","attach"=>"style='text-align:center;width:20px;'");
+                       $row[]=$field1=array("string"=>"<img src='images/lists/folder".$non_empty.".png' alt='department'>","attach"=>"style='text-align:center;width:20px;'");
                        $row[]=$field2=array("string"=>sprintf($linkopen,base64_encode($key),$val), "attach" => "style=''");
 
                        if($numtabs > 2){