Code

Updated images.
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 23 Jul 2008 12:56:03 +0000 (12:56 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 23 Jul 2008 12:56:03 +0000 (12:56 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@11846 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-plugins/glpi/admin/systems/services/glpi/class_glpiDeviceManagement.inc
gosa-plugins/glpi/admin/systems/services/glpi/glpi_devices.tpl
gosa-plugins/glpi/html/images/hardware.png [new file with mode: 0644]

index da4fc7a988cd409ec79f8670624296d7f4c40907..699d598dbed429fa774bc0102f0d12b8ad44ee93 100644 (file)
@@ -184,8 +184,8 @@ class glpiDeviceManagement extends plugin
           array("string" => _("Actions"), "attach" => "style='width:60px;border-right:0px;text-align:right;'" )));
 
     $edit = "<a href='?plug=".$_GET['plug']."&amp;act=edit_device&amp;id=%s'>%s</a>";
-    $editdel = "<a href='?plug=".$_GET['plug']."&amp;act=edit_device&amp;id=%s'><img src='images/lists/edit.png' alt='"._("Edit")."' border=0></a>";
-    $editdel.= "<a href='?plug=".$_GET['plug']."&amp;act=del_device&amp;id=%s'><img src='images/lists/trash.png' alt='"._("Delete")."' border=0></a>";
+    $editdel = "<a href='?plug=".$_GET['plug']."&amp;act=edit_device&amp;id=%s'><img src='plugins/glpi/images/lists/edit.png' alt='"._("Edit")."' border=0></a>";
+    $editdel.= "<a href='?plug=".$_GET['plug']."&amp;act=del_device&amp;id=%s'><img src='plugins/glpi/images/lists/trash.png' alt='"._("Delete")."' border=0></a>";
     
     $useDevice = "<input type='hidden' name='wasOnPage_%s' value='%s'><input type='checkbox' value='%s' name='useDevice_%s' %USE%>";
 
@@ -218,29 +218,29 @@ class glpiDeviceManagement extends plugin
     
   $listhead = "<div style='background:#F0F0F9;padding:5px;'>".
       " <input class='center' type='image' align='middle' 
-      src='images/monitor.png'  title='"._("New monitor")."' alt='"._("M")."' name='new_monitor'>&nbsp;".
+      src='plugins/glpi/images/monitor.png'  title='"._("New monitor")."' alt='"._("M")."' name='new_monitor'>&nbsp;".
       " <input class='center' type='image' align='middle' 
-      src='images/mainboard.png' title='"._("New mainbord")."' alt='"._("MB")."' name='new_moboard'>&nbsp;".
+      src='plugins/glpi/images/mainboard.png' title='"._("New mainbord")."' alt='"._("MB")."' name='new_moboard'>&nbsp;".
       " <input class='center' type='image' align='middle' 
-      src='images/processor.png' title='"._("New processor")."' alt='"._("P")."' name='new_processor'>&nbsp;".
+      src='plugins/glpi/images/processor.png' title='"._("New processor")."' alt='"._("P")."' name='new_processor'>&nbsp;".
       " <input class='center' type='image' align='middle' 
-      src='images/server.png' title='"._("New case")."' alt='"._("C")."' name='new_case'>&nbsp;".
+      src='plugins/glpi/images/server.png' title='"._("New case")."' alt='"._("C")."' name='new_case'>&nbsp;".
       " <input class='center' type='image' align='middle' 
-      src='images/net_hardware.png' title='"._("New network interface")."' alt='"._("NI")."' name='new_iface'>&nbsp;".
+      src='plugins/glpi/images/net_hardware.png' title='"._("New network interface")."' alt='"._("NI")."' name='new_iface'>&nbsp;".
       " <input class='center' type='image' align='middle' 
-      src='images/memory.png' title='"._("New ram")."' alt='"._("R")."' name='new_ram'>&nbsp;".
+      src='plugins/glpi/images/memory.png' title='"._("New ram")."' alt='"._("R")."' name='new_ram'>&nbsp;".
       " <input class='center' type='image' align='middle' 
       src='plugins/glpi/images/harddisk.png' title='"._("New hard disk")."' alt='"._("HDD")."' name='new_hdd'>&nbsp;".
       " <input class='center' type='image' align='middle' 
       src='plugins/glpi/images/drives.png' title='"._("New drive")."' alt='"._("D")."' name='new_drive'>&nbsp;".
       " <input class='center' type='image' align='middle' 
-      src='images/hardware.png' title='"._("New controller")."' alt='"._("CS")."' name='new_control'>&nbsp;".
+      src='plugins/glpi/images/hardware.png' title='"._("New controller")."' alt='"._("CS")."' name='new_control'>&nbsp;".
       " <input class='center' type='image' align='middle' 
       src='plugins/glpi/images/gfx_hardware.png' title='"._("New graphics card")."' alt='"._("GC")."' name='new_gfxcard'>&nbsp;".
       " <input class='center' type='image' align='middle' 
-      src='images/snd_hardware.png' title='"._("New sound card")."' alt='"._("SC")."' name='new_sndcard'>&nbsp;".
+      src='plugins/glpi/images/snd_hardware.png' title='"._("New sound card")."' alt='"._("SC")."' name='new_sndcard'>&nbsp;".
       " <input class='center' type='image' align='middle' 
-      src='images/power.png' title='"._("New power supply")."' alt='"._("PS")."' name='new_power'>&nbsp;".
+      src='plugins/glpi/images/power.png' title='"._("New power supply")."' alt='"._("PS")."' name='new_power'>&nbsp;".
       " <input class='center' type='image' align='middle' 
       src='plugins/glpi/images/glpi_device.png' title='"._("New misc device")."' alt='"._("OC")."' name='new_pci'>&nbsp;".
       "</div>";
index c5a65025653bc7fbf45620d32e2a2948da940524..0c962b6f52a743cabbed0fafe300acda663d983f 100644 (file)
@@ -1,5 +1,5 @@
 {if $device_type=="monitor"}
-       <h2><img alt="" align="middle" src="images/monitor.png" class="center">&nbsp;{t}Add/Edit monitor{/t}</h2>
+       <h2><img alt="" align="middle" src="plugins/glpi/images/monitor.png" class="center">&nbsp;{t}Add/Edit monitor{/t}</h2>
        <p class="seperator">&nbsp;</p>
        <br>
        <table summary="" width="100%">
 
 {elseif $device_type=="power"}
 
-        <h2><img alt="" align="middle" src="images/power.png" class="center">&nbsp;{t}Add/Edit power supply{/t}</h2>
+        <h2><img alt="" align="middle" src="plugins/glpi/images/power.png" class="center">&nbsp;{t}Add/Edit power supply{/t}</h2>
         <p class="seperator">&nbsp;</p>
         <br>
        <table summary="" width="100%">
        </table>
 {elseif $device_type=="control"}
 
-        <h2><img alt="" align="middle" src="images/hardware.png" class="center">&nbsp;{t}Add/Edit controller{/t}</h2>
+        <h2><img alt="" align="middle" src="plugins/glpi/images/hardware.png" class="center">&nbsp;{t}Add/Edit controller{/t}</h2>
         <p class="seperator">&nbsp;</p>
         <br>
        <table summary="" width="100%">
 
 {elseif $device_type=="ram"}
 
-        <h2><img alt="" align="middle" src="images/memory.png" class="center">&nbsp;{t}Add/Edit memory{/t}</h2>
+        <h2><img alt="" align="middle" src="plugins/glpi/images/memory.png" class="center">&nbsp;{t}Add/Edit memory{/t}</h2>
         <p class="seperator">&nbsp;</p>
         <br>
        <table summary="" width="100%">
        </table>
 
 {elseif $device_type=="sndcard"}
-        <h2><img alt="" align="middle" src="images/snd_hardware.png" class="center">&nbsp;{t}Add/Edit sound card{/t}</h2>
+        <h2><img alt="" align="middle" src="plugins/glpi/images/snd_hardware.png" class="center">&nbsp;{t}Add/Edit sound card{/t}</h2>
         <p class="seperator">&nbsp;</p>
         <br>
        <table summary="" width="100%">
                </tr>
        </table>
 {elseif $device_type=="iface"}
-    <h2><img alt="" align="middle" src="images/net_hardware.png" class="center">&nbsp;{t}Add/Edit network interface{/t}</h2>
+    <h2><img alt="" align="middle" src="plugins/glpi/images/net_hardware.png" class="center">&nbsp;{t}Add/Edit network interface{/t}</h2>
     <p class="seperator">&nbsp;</p>
     <br>
 
         </tr>
     </table>
 {elseif $device_type=="processor"}
-    <h2><img alt="" align="middle" src="images/processor.png" class="center">&nbsp;{t}Add/Edit processor{/t}</h2>
+    <h2><img alt="" align="middle" src="plugins/glpi/images/processor.png" class="center">&nbsp;{t}Add/Edit processor{/t}</h2>
     <p class="seperator">&nbsp;</p>
     <br>
     <table summary="" width="100%">
     </table>
 
 {elseif $device_type=="moboard"}
-        <h2><img alt="" align="middle" src="images/mainboard.png" class="center">&nbsp;{t}Add/Edit motherboard{/t}</h2>
+        <h2><img alt="" align="middle" src="plugins/glpi/images/mainboard.png" class="center">&nbsp;{t}Add/Edit motherboard{/t}</h2>
         <p class="seperator">&nbsp;</p>
         <br>
        <table summary="" width="100%">
                </tr>
        </table>
 {elseif $device_type=="case"}
-        <h2><img alt="" align="middle" src="images/server.png" class="center">&nbsp;{t}Add/Edit computer case{/t}</h2>
+        <h2><img alt="" align="middle" src="plugins/glpi/images/server.png" class="center">&nbsp;{t}Add/Edit computer case{/t}</h2>
         <p class="seperator">&nbsp;</p>
         <br>
        <table summary="" width="100%">
diff --git a/gosa-plugins/glpi/html/images/hardware.png b/gosa-plugins/glpi/html/images/hardware.png
new file mode 100644 (file)
index 0000000..0ac401c
Binary files /dev/null and b/gosa-plugins/glpi/html/images/hardware.png differ