aboutsummaryrefslogtreecommitdiff
path: root/model/RoomTab.php
diff options
context:
space:
mode:
authorMaZderMind2015-12-09 21:46:46 +0100
committerMaZderMind2015-12-09 21:46:46 +0100
commit50c5c14865b7cbc9b9dc4bd5df01b4d71f77d5ae (patch)
tree87fa89c01c90a023a4ae21ee2b64eafb82b689e4 /model/RoomTab.php
parent13bcfcd6f0b7c13bdbd60d928099b0d42d4ca6c6 (diff)
Rename 'Music' to 'Radio' on all public places
Diffstat (limited to 'model/RoomTab.php')
-rw-r--r--model/RoomTab.php10
1 files changed, 9 insertions, 1 deletions
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);
+ }
}
}