public function indexAction()
 {
     $showForm = new Show_Form();
     $showForm->removeElement('description');
     $showForm->setAction($this->baseUrl . '/mod_slideshow/show/create');
     $submit = $showForm->getElement('submit');
     $submit->setLabel($this->view->getTranslation('Create Slideshow'));
     $this->view->form = $showForm;
     $mdlSlideshow = new Slideshow_Show();
     $this->view->slideshows = $mdlSlideshow->getShows();
 }
 /**
  *
  */
 public function selectSlideshow($name, $value)
 {
     $mdlShow = new Slideshow_Show();
     $shows = $mdlShow->getShows();
     if ($shows == null) {
         return $this->view->getTranslation('There are no slideshows to view!');
     } else {
         $options[] = $this->view->getTranslation('Select One');
         foreach ($shows as $show) {
             $options[$show->id] = $show->name;
         }
         $form = new Digitalus_Form();
         $select = $form->createElement('select', $name, array('multiOptions' => $options, 'belongsTo' => 'module'));
         return $select;
     }
 }