diff options
Diffstat (limited to 'h-source/Application/Include/myFunctions.php')
-rw-r--r-- | h-source/Application/Include/myFunctions.php | 15 |
1 files changed, 14 insertions, 1 deletions
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; +} |