r = new PhocaDownloadRenderAdminViews(); $this->t = PhocaDownloadUtils::setVars('linkytb'); $document = Factory::getDocument(); $uri = Uri::getInstance(); //Frontend Changes $tUri = ''; if (!$app->isClient('administrator')) { $tUri = Uri::base(); } $editor = $app->input->getCmd('editor', ''); if (!empty($editor)) { $this->document->addScriptOptions('xtd-phocadownload', array('editor' => $editor)); } HTMLHelper::stylesheet( 'media/com_phocadownload/css/administrator/phocadownload.css' ); HTMLHelper::stylesheet( 'media/plg_editors-xtd_phocadownload/css/phocadownload.css' ); $eName = Factory::getApplication()->input->get('editor'); $this->t['ename'] = preg_replace( '#[^A-Z0-9\-\_\[\]]#i', '', $eName ); $this->t['backlink'] = $tUri.'index.php?option=com_phocadownload&view=phocadownloadlinks&tmpl=component&editor='.$this->t['ename']; parent::display($tpl); } } ?>