Added placeholders for player embed code and preview
This commit is contained in:
parent
cf11291877
commit
2272451e08
7 changed files with 35 additions and 34 deletions
|
@ -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;
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue