Buffalo strings schöner gemacht

This commit is contained in:
root 2015-01-18 22:55:17 +01:00
parent e233ea1530
commit 1499e14370

View file

@ -158,8 +158,9 @@ function ff_hh_beautify_hw_name( $hw, $discard_vendor = '' ) {
$hw = str_replace( ' wrt', ' WRT-', $hw );
} elseif ( ! strncmp( $hw, 'buffalo', 7 ) ) {
if ( $discard_vendor ) $hw = str_replace( $discard_vendor, '', $hw );
$hw = str_replace( 'wzr-', 'WZR-', $hw );
$hw = str_replace( '-', ' ', $hw );
$hw = str_replace( 'buffalo', 'Buffalo', $hw );
$hw = str_replace( 'hp-ag300h-wzr-600dhp', 'HP-AG300H & WZR-600DHP', $hw );
$hw = str_replace( '-wzr', 'WZR', $hw );
}
return $hw;
}