new add show html.
This commit is contained in:
parent
eab3675c74
commit
d210a36358
9 changed files with 120 additions and 64 deletions
|
@ -331,24 +331,10 @@ class ScheduleController extends Zend_Controller_Action
|
|||
|
||||
public function editShowAction()
|
||||
{
|
||||
$formWhat = new Application_Form_AddShowWhat();
|
||||
$formWhat->removeDecorator('DtDdWrapper');
|
||||
$formWho = new Application_Form_AddShowWho();
|
||||
$formWho->removeDecorator('DtDdWrapper');
|
||||
$formWhen = new Application_Form_AddShowWhen();
|
||||
$formWhen->removeDecorator('DtDdWrapper');
|
||||
$formRepeats = new Application_Form_AddShowRepeats();
|
||||
$formRepeats->removeDecorator('DtDdWrapper');
|
||||
$formStyle = new Application_Form_AddShowStyle();
|
||||
$formStyle->removeDecorator('DtDdWrapper');
|
||||
$showInstanceId = $this->_getParam('id');
|
||||
$showInstance = new ShowInstance($showInstanceId);
|
||||
|
||||
$this->view->what = $formWhat;
|
||||
//$this->view->when = $formWhen;
|
||||
//$this->view->repeats = $formRepeats;
|
||||
$this->view->who = $formWho;
|
||||
$this->view->style = $formStyle;
|
||||
|
||||
$this->view->dialog = $this->view->render('schedule/edit-show.phtml');
|
||||
$show = new Show($showInstance->getShowId());
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue