aboutsummaryrefslogtreecommitdiff
path: root/h-source/Application/Include/languages.php
diff options
context:
space:
mode:
Diffstat (limited to 'h-source/Application/Include/languages.php')
-rw-r--r--h-source/Application/Include/languages.php19
1 files changed, 19 insertions, 0 deletions
diff --git a/h-source/Application/Include/languages.php b/h-source/Application/Include/languages.php
index 831cdd4..0952da8 100644
--- a/h-source/Application/Include/languages.php
+++ b/h-source/Application/Include/languages.php
@@ -484,6 +484,25 @@ class MyStrings
'3G-card' => 'threegcards',
'soundcard' => 'soundcards',
);
+
+ public static $images = array(
+ 'notebook' => 'H2O/computer-laptop_22.png',
+ 'wifi' => 'H2O/network-wireless_22.png',
+ 'videocard' => 'Crystal/1282042976_hardware.png',
+ 'printer' => 'H2O/printer_22.png',
+ 'scanner' => 'H2O/scanner_22.png',
+ '3G-card' => 'Crystal/usb_22.png',
+ 'soundcard' => 'H2O/audio-card_22.png',
+ );
+
+ public static function getHardIcon($type)
+ {
+ if (array_key_exists($type,self::$images))
+ {
+ return "http://".DOMAIN_NAME."/Public/Img/".self::$images[$type];
+ }
+ return null;
+ }
public static function getTypes()
{