From 929e29182b4704ddca1c07a37b9d3dc9c33b41c7 Mon Sep 17 00:00:00 2001 From: martin Date: Tue, 4 Oct 2011 17:18:36 -0400 Subject: [PATCH] CC-2908: Add "Live Stream" title to live stream popup window -custom logo --- .../controllers/DashboardController.php | 7 ++++ .../scripts/dashboard/stream-player.phtml | 4 +- .../views/scripts/form/register-dialog.phtml | 4 +- .../views/scripts/form/support-setting.phtml | 4 +- .../js/airtime/dashboard/helperfunctions.js | 38 +++++++++++++++++++ .../public/js/airtime/nowplaying/register.js | 30 +++++++-------- .../js/airtime/preferences/support-setting.js | 25 ------------ .../js/jplayer/skin/jplayer.blue.monday.css | 17 +++++++-- 8 files changed, 79 insertions(+), 50 deletions(-) diff --git a/airtime_mvc/application/controllers/DashboardController.php b/airtime_mvc/application/controllers/DashboardController.php index f51597ad9..8b918137d 100644 --- a/airtime_mvc/application/controllers/DashboardController.php +++ b/airtime_mvc/application/controllers/DashboardController.php @@ -19,6 +19,13 @@ class DashboardController extends Zend_Controller_Action $baseUrl = $request->getBaseUrl(); $this->view->headLink()->appendStylesheet($baseUrl.'/js/jplayer/skin/jplayer.blue.monday.css'); $this->_helper->layout->setLayout('bare'); + + $logo = Application_Model_Preference::GetStationLogo(); + if($logo){ + $this->view->logo = "data:image/png;base64,$logo"; + } else { + $this->view->logo = "$baseUrl/css/images/airtime_logo_jp.png"; + } } public function helpAction() diff --git a/airtime_mvc/application/views/scripts/dashboard/stream-player.phtml b/airtime_mvc/application/views/scripts/dashboard/stream-player.phtml index 12976ef57..21e9d9a30 100644 --- a/airtime_mvc/application/views/scripts/dashboard/stream-player.phtml +++ b/airtime_mvc/application/views/scripts/dashboard/stream-player.phtml @@ -42,11 +42,11 @@ $(document).ready(function(){ ?> }); - +
+
-