diff options
author | Antonio Gallo <tonicucoz@gmail.com> | 2010-10-24 19:30:13 +0000 |
---|---|---|
committer | Antonio Gallo <tonicucoz@gmail.com> | 2010-10-24 19:30:13 +0000 |
commit | 4641de870cfa9c5d4c41a94328a8fb1f4adfdc78 (patch) | |
tree | 10ba2ad1ca50c4a91d605858d054fdd948927c2f /h-source/Application/Include/myFunctions.php | |
parent | 871d4231da58aff1902cdf260e887e1ee52d1716 (diff) |
added 3G cards
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; +} |