cosmetic change to print channel type for ADSL

git-svn-id: http://www.observium.org/svn/observer/trunk@1994 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
Adam Amstrong
2011-03-30 12:07:08 +00:00
parent 463b0753a6
commit d302d1a4ce
3 changed files with 24 additions and 4 deletions
+21 -1
View File
@@ -950,4 +950,24 @@ function array_preg_replace($array, $string)
return $string;
}
?>
function rewrite_adslLineType($adslLineType)
{
$adslLineTypes = array ('noChannel' => 'No Channel',
'fastOnly' => 'Fastpath',
'interleavedOnly' => 'Interleaved',
'fastOrInterleaved' => 'Fast/Interleaved',
'fastAndInterleaved' => 'Fast+Interleaved');
foreach($adslLineTypes as $type => $text)
{
if($adslLineType == $type)
{
$adslLineType = $text;
}
}
return($adslLineType);
}
?>