listing show contents option works.
This commit is contained in:
parent
12cd80fe13
commit
3bbc84365e
|
@ -310,18 +310,11 @@ class ScheduleController extends Zend_Controller_Action
|
||||||
|
|
||||||
public function showContentDialogAction()
|
public function showContentDialogAction()
|
||||||
{
|
{
|
||||||
$start_timestamp = $this->_getParam('start');
|
$showInstanceId = $this->_getParam('id');
|
||||||
$end_timestamp = $this->_getParam('end');
|
$show = new ShowInstance($showInstanceId);
|
||||||
$showId = $this->_getParam('id');
|
|
||||||
|
|
||||||
$userInfo = Zend_Auth::getInstance()->getStorage()->read();
|
$this->view->showContent = $show->getShowListContent();
|
||||||
|
|
||||||
$user = new User($userInfo->id, $userInfo->type);
|
|
||||||
$show = new Show($user, $showId);
|
|
||||||
|
|
||||||
$this->view->showContent = $show->getShowListContent($start_timestamp);
|
|
||||||
$this->view->dialog = $this->view->render('schedule/show-content-dialog.phtml');
|
$this->view->dialog = $this->view->render('schedule/show-content-dialog.phtml');
|
||||||
|
|
||||||
unset($this->view->showContent);
|
unset($this->view->showContent);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue