Code

Reenabled job count
[gosa.git] / gosa-core / include / class_MultiSelectWindow.inc
index f258f944bdcf521df3137b704276979f42441cd0..898916456ffe9f8c27dbb76f5ee67851ce7edd1a 100644 (file)
@@ -236,32 +236,32 @@ class MultiSelectWindow{
 
     /* Draw root button */
     if($enable_root){
-      $listhead .= " <input class='center' type='image' src='images/list_root.png' align='middle'
+      $listhead .= " <input class='center' type='image' src='images/lists/root.png' align='middle'
         title='"._("Go to root department")."' name='dep_root' alt='"._("Root")."'>&nbsp;";
     }else{
-      $listhead .= " <img src='images/list_root_gray.png' class='center' alt='"._("Root")."'>&nbsp;";
+      $listhead .= " <img src='images/lists/root_grey.png' class='center' alt='"._("Root")."'>&nbsp;";
     }
 
     /* Draw back button */
     if($enable_back){
-      $listhead .= " <input class='center' type='image' align='middle' src='images/list_back.png'
+      $listhead .= " <input class='center' type='image' align='middle' src='images/lists/back.png'
         title='"._("Go up one department")."' alt='"._("Up")."'                name='dep_back'>&nbsp;";
     }else{
-      $listhead .= " <img src='images/list_back_gray.png' class='center' alt='"._("Up")."'>&nbsp;";
+      $listhead .= " <img src='images/lists/back_grey.png' class='center' alt='"._("Up")."'>&nbsp;";
     }
 
     /* Draw home button */
     if($enable_home){
-      $listhead .= " <input class='center' type='image' align='middle' src='images/list_home.png'
+      $listhead .= " <input class='center' type='image' align='middle' src='images/lists/home.png'
         title='"._("Go to users department")."' alt='"._("Home")."'            name='dep_home'>&nbsp;";
     }else{
-      $listhead .= " <img src='images/list_home_gray.png' class='center' alt='"._("Home")."'>&nbsp;";
+      $listhead .= " <img src='images/lists/home_grey.png' class='center' alt='"._("Home")."'>&nbsp;";
     }
    
     /* And at least draw reload button, this button is enabled everytime */ 
-    $listhead .=  " <input class='center' type='image' src='images/list_reload.png' align='middle'
+    $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);
   }
@@ -645,20 +645,20 @@ class MultiSelectWindow{
       }
       if($ok){
         if($layer_menu){
-          $str = "..|<img class='center' src='images/restore.png' alt='"._("Restore")."'>&nbsp;"._("Restore")."|RestoreDeletedSnapShot|\n";
+          $str = "..|<img class='center' src='images/lists/restore.png' alt='"._("Restore")."'>&nbsp;"._("Restore")."|RestoreDeletedSnapShot|\n";
         }else{
-          $str = "<input class='center' type='image' align='middle' src='images/restore.png'
+          $str = "<input class='center' type='image' align='middle' src='images/lists/restore.png'
             title='"._("Restore snapshopts of already deleted objects")."' 
             alt='"._("Restore")."' name='RestoreDeletedSnapShot'>&nbsp;"; 
         }
       }else{
         if($layer_menu){
-          $str = "..|<img class='center' src='images/restore_grey.png' alt=''>&nbsp;"._("Restore")."||\n";
+          $str = "..|<img class='center' src='images/lists/restore_grey.png' alt=''>&nbsp;"._("Restore")."||\n";
         }else{
-          $str = "<img class='center' src='images/restore_grey.png' alt=''>&nbsp;";
+          $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);
   }
@@ -670,10 +670,10 @@ class MultiSelectWindow{
     if($this->parent->snapshotEnabled()){
 
       if(count($this->parent->Available_SnapsShots($dn))){
-        $str.= "<input class='center' type='image' src='images/restore.png'
+        $str.= "<input class='center' type='image' src='images/lists/restore.png'
           alt='"._("Restore snapshot")."' name='RestoreSnapShotDialog_".base64_encode($dn)."' title='"._("Restore snapshot")."'>&nbsp;";
       } else {
-        $str = "<img class='center' src='images/restore_grey.png' alt=''>&nbsp;";
+        $str = "<img class='center' src='images/lists/restore_grey.png' alt=''>&nbsp;";
       }
 
       $str.= "<input class='center' type='image' src='images/snapshot.png'
@@ -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){