From 50c5c14865b7cbc9b9dc4bd5df01b4d71f77d5ae Mon Sep 17 00:00:00 2001 From: MaZderMind Date: Wed, 9 Dec 2015 21:46:46 +0100 Subject: Rename 'Music' to 'Radio' on all public places --- model/RoomTab.php | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'model/RoomTab.php') 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); + } } } -- cgit v1.2.3