allowCache(false); $this->t = PhocaGalleryUtils::setVars('ytb'); $this->r = new PhocaGalleryRenderAdminview(); $document = Factory::getDocument(); $this->t['catid'] = Factory::getApplication()->input->get( 'catid', 0, 'int' ); $this->t['field'] = Factory::getApplication()->input->get( 'field', '', 'string'); $this->t['import'] = Factory::getApplication()->input->get( 'import', 0, 'int' ); $this->t['ytblink'] = ''; $this->t['ytbtitle'] = ''; $this->t['ytbdesc'] = ''; $this->t['ytbfilename'] = ''; if ($this->t['import'] == '1') { $this->t['ytblink'] = $app->getUserStateFromRequest( $this->context.'.ytb_link', 'ytb_link', $this->t['ytblink'], 'string' ); $this->t['ytbtitle'] = $app->getUserStateFromRequest( $this->context.'.ytb_title', 'ytb_titel', $this->t['ytbtitle'], 'string' ); $this->t['ytbdesc'] = $app->getUserStateFromRequest( $this->context.'.ytb_desc', 'ytb_desc', $this->t['ytbdesc'], 'string' ); $this->t['ytbfilename'] = $app->getUserStateFromRequest( $this->context.'.ytb_filename', 'ytb_filename', $this->t['ytbfilename'], 'string' ); } parent::display($tpl); } } ?>