From 4641de870cfa9c5d4c41a94328a8fb1f4adfdc78 Mon Sep 17 00:00:00 2001 From: Antonio Gallo Date: Sun, 24 Oct 2010 19:30:13 +0000 Subject: added 3G cards --- h-source/Application/Include/myFunctions.php | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) (limited to 'h-source/Application/Include/myFunctions.php') diff --git a/h-source/Application/Include/myFunctions.php b/h-source/Application/Include/myFunctions.php index a5e3934..b72be6c 100644 --- a/h-source/Application/Include/myFunctions.php +++ b/h-source/Application/Include/myFunctions.php @@ -327,4 +327,17 @@ function gtext($string) return Lang::$i18n[Lang::$current][$string]; } return $string; -} \ No newline at end of file +} + +//rewrite the vendor name +function betterVendor($string) +{ + $names = array( + "AT-T" => "AT&T", + "Franklin-Wireless-Corporation" => "Franklin Wireless Corporation", + "Novatel-Wireless" => "Novatel Wireless", + "Sierra-Wireless" => "Sierra Wireless", + ); + + return (array_key_exists($string,$names)) ? $names[$string] : $string; +} -- cgit v1.2.3