Code

Fixed full/empty display
authorcajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 18 Apr 2008 13:54:43 +0000 (13:54 +0000)
committercajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 18 Apr 2008 13:54:43 +0000 (13:54 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@10566 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-core/include/class_baseSelectDialog.inc

index c2476640b0c0dfccf88e97a241075cbfb1f39f69..4944092707d3360b669d66cb998242137b799faf 100644 (file)
@@ -125,12 +125,12 @@ class baseSelectDialog extends MultiSelectWindow
       $keys= str_replace("/","\/",$key);
       foreach($this->config->departments as $keyd ){
         if(preg_match("/,".$keys."/",$keyd)){
-          $non_empty="full";
+          $non_empty="-full";
         }
       }
 
       /* Add to divlist */
-      $field1 = array("string" => "<img src='images/".$non_empty."folder.png' alt='department'>", 
+      $field1 = array("string" => "<img src='images/lists/folder$non_empty.png' alt='department'>", 
                       "attach" => "style='text-align:center;width:20px;'");
       $field2 = array("string" => sprintf($link,base64_encode($key),$val), "attach" => "style=''");
       $field3 = array("string" => sprintf("&nbsp;<input title='"._("Select this base")."' type='image' img src='images/save.png' name='usebase_%s'>",base64_encode($key)),