diff options
-rw-r--r-- | model/RoomSelection.php | 3 | ||||
-rw-r--r-- | model/RoomTab.php | 10 | ||||
-rw-r--r-- | model/Stream.php | 4 | ||||
-rw-r--r-- | template/assemblies/switcher/music.phtml | 2 |
4 files changed, 17 insertions, 2 deletions
diff --git a/model/RoomSelection.php b/model/RoomSelection.php index c163321..9f0b16d 100644 --- a/model/RoomSelection.php +++ b/model/RoomSelection.php @@ -40,6 +40,9 @@ class RoomSelection case 'hd': return strtoupper($this->getSelection()); + case 'music': + return 'Radio'; + default: return ucfirst($this->getSelection()); } diff --git a/model/RoomTab.php b/model/RoomTab.php index d4f781b..f0338d2 100644 --- a/model/RoomTab.php +++ b/model/RoomTab.php @@ -29,6 +29,14 @@ class RoomTab public function getDisplay() { - return ucfirst($this->getTab()); + $tab = $this->getTab(); + switch($tab) + { + case 'music': + return 'Radio'; + + default: + return ucfirst($tab); + } } } diff --git a/model/Stream.php b/model/Stream.php index f9488a0..d2baa28 100644 --- a/model/Stream.php +++ b/model/Stream.php @@ -88,6 +88,10 @@ class Stream $display .= 'SD Video'; break; + case 'music': + $display .= 'Radio'; + break; + default: $display .= ucfirst($this->getSelection()); break; diff --git a/template/assemblies/switcher/music.phtml b/template/assemblies/switcher/music.phtml index 2767fe8..9c96f83 100644 --- a/template/assemblies/switcher/music.phtml +++ b/template/assemblies/switcher/music.phtml @@ -10,7 +10,7 @@ <a href="<?=h($switcherstream->getMusicUrl($proto))?>" class="btn btn-default"> <span class="fa fa-music"></span> - live music + live radio </a> </div> |