Code

Fixed image
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 24 Jul 2008 07:17:55 +0000 (07:17 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 24 Jul 2008 07:17:55 +0000 (07:17 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@11911 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-plugins/systems/admin/systems/class_divListSystem.inc
gosa-plugins/systems/admin/systems/class_systemManagement.inc
gosa-plugins/systems/html/images/select_component.png [new file with mode: 0644]

index feb9e8228e7dceb113cc631aa62d87b33d339fa5..aba77cd20b01d8df926341e1a7adb9a360939d3e 100644 (file)
@@ -196,7 +196,7 @@ class divListSystem extends MultiSelectWindow
         "&nbsp;"._("Printer")."|"."newsystem_printer|\n";
     }
     if(class_available("componenttabs") && preg_match("/c/",$ui->get_permissions($this->selectedBase,"component/componentGeneric"))){
-      $s.= "...|<img src='images/select_component.png' alt='' border='0' class='center'>".
+      $s.= "...|<img src='plugins/systems/images/select_component.png' alt='' border='0' class='center'>".
         "&nbsp;"._("Component")."|"."newsystem_component|\n";
     }
 
@@ -439,7 +439,7 @@ class divListSystem extends MultiSelectWindow
       title='".$num_pho_str."' alt='".$num_pho_str."'>&nbsp;".$cnts['phone']."&nbsp;&nbsp;&nbsp;&nbsp;";
     $str.= "<img class='center' src='images/select_printer.png'
       title='".$num_prt_str."' alt='".$num_prt_str."'>&nbsp;".$cnts['printer']."&nbsp;&nbsp;&nbsp;&nbsp;";
-    $str.= "<img class='center' src='images/select_component.png'
+    $str.= "<img class='center' src='plugins/systems/images/select_component.png'
       title='".$num_com_str."' alt='".$num_com_str."'>&nbsp;".$cnts['component']."&nbsp;&nbsp;&nbsp;&nbsp;";
     $str.= "<img class='center' src='images/select_newsystem.png'
       title='".$num_new_str."' alt='".$num_new_str."'>&nbsp;".$cnts['NewDevice']."&nbsp;&nbsp;&nbsp;&nbsp;";
index b4479d1feb24b6f005fe4070bc5faa26ebfb1cdd..6c6b32c69afc90b7b6ee04af57ad139fdb9f1f69 100644 (file)
@@ -1535,31 +1535,31 @@ class systems extends plugin
     $temp= "";
 
     $conv= array(
-        "D" => array("select_default.png",_("Template")),
-        "F" => array("select_phone.png",_("Phone")),
-        "C" => array("select_component.png",_("Network device")),
-        "P" => array("select_printer.png",_("Printer")),
+        "D" => array("images/select_default.png",_("Template")),
+        "F" => array("images/select_phone.png",_("Phone")),
+        "C" => array("plugins/systems/images/select_component.png",_("Network device")),
+        "P" => array("images/select_printer.png",_("Printer")),
 
-        "W" => array("select_winstation.png",_("Win workstation")),
+        "W" => array("images/select_winstation.png",_("Win workstation")),
 
-        "L" => array("select_workstation.png",_("Workstation")),
-        "S" => array("select_server.png",_("Server")),
-        "T" => array("select_terminal.png",_("Terminal")),
+        "L" => array("images/select_workstation.png",_("Workstation")),
+        "S" => array("images/select_server.png",_("Server")),
+        "T" => array("images/select_terminal.png",_("Terminal")),
 
-        "LX" => array("workstation_locked.png",_("Locked workstation")),
-        "SX" => array("server_locked.png",_("Locked server")),
-        "TX" => array("terminal_locked.png",_("Locked terminal")),
+        "LX" => array("images/workstation_locked.png",_("Locked workstation")),
+        "SX" => array("images/server_locked.png",_("Locked server")),
+        "TX" => array("images/terminal_locked.png",_("Locked terminal")),
 
-        "LE" => array("workstation_error.png",_("Workstation error")),
-        "SE" => array("server_error.png",_("Server error")),
-        "TE" => array("terminal_error.png",_("Terminal error")),
+        "LE" => array("images/workstation_error.png",_("Workstation error")),
+        "SE" => array("images/server_error.png",_("Server error")),
+        "TE" => array("images/terminal_error.png",_("Terminal error")),
 
-        "LB" => array("workstation_busy.png",_("Workstation busy")),
-        "SB" => array("server_busy.png",_("Server busy")),
+        "LB" => array("images/workstation_busy.png",_("Workstation busy")),
+        "SB" => array("images/server_busy.png",_("Server busy")),
 
-        "NQ" => array("select_newsystem.png",_("New system from incoming")),
-        "NT"=> array("select_new_terminal.png",_("New terminal")),
-        "NL"=> array("select_new_workstation.png",_("New workstation")));
+        "NQ" => array("images/select_newsystem.png",_("New system from incoming")),
+        "NT"=> array("images/select_new_terminal.png",_("New terminal")),
+        "NL"=> array("images/select_new_workstation.png",_("New workstation")));
 
     /* Use locked icons 
      */
@@ -1609,7 +1609,7 @@ class systems extends plugin
       }
 
       if($found){
-        $tmp['img'] ="<img class='center' src='images/".$value[0]."' alt='".$key."' title='".$value['1']."'>";
+        $tmp['img'] ="<img class='center' src='".$value[0]."' alt='".$key."' title='".$value['1']."'>";
         $tmp['class']=$key;
         return $tmp;
       }
diff --git a/gosa-plugins/systems/html/images/select_component.png b/gosa-plugins/systems/html/images/select_component.png
new file mode 100644 (file)
index 0000000..ef289f6
Binary files /dev/null and b/gosa-plugins/systems/html/images/select_component.png differ