summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: d115e90)
raw | patch | inline | side by side (parent: d115e90)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 23 Jul 2008 12:56:03 +0000 (12:56 +0000) | ||
committer | hickert <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
diff --git a/gosa-plugins/glpi/admin/systems/services/glpi/class_glpiDeviceManagement.inc b/gosa-plugins/glpi/admin/systems/services/glpi/class_glpiDeviceManagement.inc
index da4fc7a988cd409ec79f8670624296d7f4c40907..699d598dbed429fa774bc0102f0d12b8ad44ee93 100644 (file)
array("string" => _("Actions"), "attach" => "style='width:60px;border-right:0px;text-align:right;'" )));
$edit = "<a href='?plug=".$_GET['plug']."&act=edit_device&id=%s'>%s</a>";
- $editdel = "<a href='?plug=".$_GET['plug']."&act=edit_device&id=%s'><img src='images/lists/edit.png' alt='"._("Edit")."' border=0></a>";
- $editdel.= "<a href='?plug=".$_GET['plug']."&act=del_device&id=%s'><img src='images/lists/trash.png' alt='"._("Delete")."' border=0></a>";
+ $editdel = "<a href='?plug=".$_GET['plug']."&act=edit_device&id=%s'><img src='plugins/glpi/images/lists/edit.png' alt='"._("Edit")."' border=0></a>";
+ $editdel.= "<a href='?plug=".$_GET['plug']."&act=del_device&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%>";
$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'> ".
+ src='plugins/glpi/images/monitor.png' title='"._("New monitor")."' alt='"._("M")."' name='new_monitor'> ".
" <input class='center' type='image' align='middle'
- src='images/mainboard.png' title='"._("New mainbord")."' alt='"._("MB")."' name='new_moboard'> ".
+ src='plugins/glpi/images/mainboard.png' title='"._("New mainbord")."' alt='"._("MB")."' name='new_moboard'> ".
" <input class='center' type='image' align='middle'
- src='images/processor.png' title='"._("New processor")."' alt='"._("P")."' name='new_processor'> ".
+ src='plugins/glpi/images/processor.png' title='"._("New processor")."' alt='"._("P")."' name='new_processor'> ".
" <input class='center' type='image' align='middle'
- src='images/server.png' title='"._("New case")."' alt='"._("C")."' name='new_case'> ".
+ src='plugins/glpi/images/server.png' title='"._("New case")."' alt='"._("C")."' name='new_case'> ".
" <input class='center' type='image' align='middle'
- src='images/net_hardware.png' title='"._("New network interface")."' alt='"._("NI")."' name='new_iface'> ".
+ src='plugins/glpi/images/net_hardware.png' title='"._("New network interface")."' alt='"._("NI")."' name='new_iface'> ".
" <input class='center' type='image' align='middle'
- src='images/memory.png' title='"._("New ram")."' alt='"._("R")."' name='new_ram'> ".
+ src='plugins/glpi/images/memory.png' title='"._("New ram")."' alt='"._("R")."' name='new_ram'> ".
" <input class='center' type='image' align='middle'
src='plugins/glpi/images/harddisk.png' title='"._("New hard disk")."' alt='"._("HDD")."' name='new_hdd'> ".
" <input class='center' type='image' align='middle'
src='plugins/glpi/images/drives.png' title='"._("New drive")."' alt='"._("D")."' name='new_drive'> ".
" <input class='center' type='image' align='middle'
- src='images/hardware.png' title='"._("New controller")."' alt='"._("CS")."' name='new_control'> ".
+ src='plugins/glpi/images/hardware.png' title='"._("New controller")."' alt='"._("CS")."' name='new_control'> ".
" <input class='center' type='image' align='middle'
src='plugins/glpi/images/gfx_hardware.png' title='"._("New graphics card")."' alt='"._("GC")."' name='new_gfxcard'> ".
" <input class='center' type='image' align='middle'
- src='images/snd_hardware.png' title='"._("New sound card")."' alt='"._("SC")."' name='new_sndcard'> ".
+ src='plugins/glpi/images/snd_hardware.png' title='"._("New sound card")."' alt='"._("SC")."' name='new_sndcard'> ".
" <input class='center' type='image' align='middle'
- src='images/power.png' title='"._("New power supply")."' alt='"._("PS")."' name='new_power'> ".
+ src='plugins/glpi/images/power.png' title='"._("New power supply")."' alt='"._("PS")."' name='new_power'> ".
" <input class='center' type='image' align='middle'
src='plugins/glpi/images/glpi_device.png' title='"._("New misc device")."' alt='"._("OC")."' name='new_pci'> ".
"</div>";
diff --git a/gosa-plugins/glpi/admin/systems/services/glpi/glpi_devices.tpl b/gosa-plugins/glpi/admin/systems/services/glpi/glpi_devices.tpl
index c5a65025653bc7fbf45620d32e2a2948da940524..0c962b6f52a743cabbed0fafe300acda663d983f 100644 (file)
{if $device_type=="monitor"}
- <h2><img alt="" align="middle" src="images/monitor.png" class="center"> {t}Add/Edit monitor{/t}</h2>
+ <h2><img alt="" align="middle" src="plugins/glpi/images/monitor.png" class="center"> {t}Add/Edit monitor{/t}</h2>
<p class="seperator"> </p>
<br>
<table summary="" width="100%">
{elseif $device_type=="power"}
- <h2><img alt="" align="middle" src="images/power.png" class="center"> {t}Add/Edit power supply{/t}</h2>
+ <h2><img alt="" align="middle" src="plugins/glpi/images/power.png" class="center"> {t}Add/Edit power supply{/t}</h2>
<p class="seperator"> </p>
<br>
<table summary="" width="100%">
</table>
{elseif $device_type=="control"}
- <h2><img alt="" align="middle" src="images/hardware.png" class="center"> {t}Add/Edit controller{/t}</h2>
+ <h2><img alt="" align="middle" src="plugins/glpi/images/hardware.png" class="center"> {t}Add/Edit controller{/t}</h2>
<p class="seperator"> </p>
<br>
<table summary="" width="100%">
{elseif $device_type=="ram"}
- <h2><img alt="" align="middle" src="images/memory.png" class="center"> {t}Add/Edit memory{/t}</h2>
+ <h2><img alt="" align="middle" src="plugins/glpi/images/memory.png" class="center"> {t}Add/Edit memory{/t}</h2>
<p class="seperator"> </p>
<br>
<table summary="" width="100%">
</table>
{elseif $device_type=="sndcard"}
- <h2><img alt="" align="middle" src="images/snd_hardware.png" class="center"> {t}Add/Edit sound card{/t}</h2>
+ <h2><img alt="" align="middle" src="plugins/glpi/images/snd_hardware.png" class="center"> {t}Add/Edit sound card{/t}</h2>
<p class="seperator"> </p>
<br>
<table summary="" width="100%">
</tr>
</table>
{elseif $device_type=="iface"}
- <h2><img alt="" align="middle" src="images/net_hardware.png" class="center"> {t}Add/Edit network interface{/t}</h2>
+ <h2><img alt="" align="middle" src="plugins/glpi/images/net_hardware.png" class="center"> {t}Add/Edit network interface{/t}</h2>
<p class="seperator"> </p>
<br>
</tr>
</table>
{elseif $device_type=="processor"}
- <h2><img alt="" align="middle" src="images/processor.png" class="center"> {t}Add/Edit processor{/t}</h2>
+ <h2><img alt="" align="middle" src="plugins/glpi/images/processor.png" class="center"> {t}Add/Edit processor{/t}</h2>
<p class="seperator"> </p>
<br>
<table summary="" width="100%">
</table>
{elseif $device_type=="moboard"}
- <h2><img alt="" align="middle" src="images/mainboard.png" class="center"> {t}Add/Edit motherboard{/t}</h2>
+ <h2><img alt="" align="middle" src="plugins/glpi/images/mainboard.png" class="center"> {t}Add/Edit motherboard{/t}</h2>
<p class="seperator"> </p>
<br>
<table summary="" width="100%">
</tr>
</table>
{elseif $device_type=="case"}
- <h2><img alt="" align="middle" src="images/server.png" class="center"> {t}Add/Edit computer case{/t}</h2>
+ <h2><img alt="" align="middle" src="plugins/glpi/images/server.png" class="center"> {t}Add/Edit computer case{/t}</h2>
<p class="seperator"> </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
index 0000000..0ac401c
Binary files /dev/null and b/gosa-plugins/glpi/html/images/hardware.png differ