Added placeholders for player embed code and preview

This commit is contained in:
drigato 2015-02-25 17:10:41 -05:00
parent cf11291877
commit 2272451e08
7 changed files with 35 additions and 34 deletions

View file

@ -9,23 +9,12 @@ class EmbeddablePlayerController extends Zend_Controller_Action
public function indexAction()
{
$CC_CONFIG = Config::getConfig();
$baseUrl = Application_Common_OsPath::getBaseDir();
$this->view->headLink()->appendStylesheet($baseUrl.'css/embed-player.css?'.$CC_CONFIG['airtime_version']);
$form = new Application_Form_EmbeddablePlayer();
$request = $this->getRequest();
if ($request->isPost()) {
$formValues = $request->getPost();
if ($form->isValid($formValues)) {
$this->view->statusMsg = "<div class='success'>". _("Preferences updated.")."</div>";
} else {
}
$this->view->form = $form;
}
$this->view->form = $form;
}
}