Merge branch 'saas-dev' into soundcloud

This commit is contained in:
Duncan Sommerville 2015-06-16 15:10:14 -04:00
commit 0cd9b1d0e5
14 changed files with 85 additions and 47 deletions

View file

@ -78,12 +78,18 @@ class EmbedController extends Zend_Controller_Action
public function weeklyProgramAction()
{
$this->view->layout()->disableLayout();
$CC_CONFIG = Config::getConfig();
$request = $this->getRequest();
$useIframe = $request->getParam('useiframe');
if (!isset($useIframe)) {
$this->view->layout()->disableLayout();
} elseif ($useIframe == "1") {
$this->_helper->layout->setLayout('bare');
}
$widgetStyle = $request->getParam('style');
if ($widgetStyle == "premium") {
$this->view->widgetStyle = "premium";