diff --git a/Theme/Backend/helper-edit.tpl.php b/Theme/Backend/helper-edit.tpl.php index c67f062..4ac8ec6 100644 --- a/Theme/Backend/helper-edit.tpl.php +++ b/Theme/Backend/helper-edit.tpl.php @@ -12,7 +12,6 @@ */ declare(strict_types=1); - /** * @var \phpOMS\Views\View $this */ @@ -220,9 +219,6 @@ echo $this->getData('nav')->render(); ?> /* * Media Add */ - - // TODO: add media upload drop panel - $tabView->addTab($this->getHtml('Helper', 'New'), $createPanel->render() . $mediaPanel->render(), 'Backend', 'new'); ?> = $this->printHtml($tabView->render()); ?> diff --git a/Theme/Backend/helper-single.tpl.php b/Theme/Backend/helper-single.tpl.php index e6319b9..df6cb5c 100644 --- a/Theme/Backend/helper-single.tpl.php +++ b/Theme/Backend/helper-single.tpl.php @@ -15,7 +15,6 @@ declare(strict_types=1); /** * @var \phpOMS\Views\View $this */ -// TODO: load template in new view that doesn't get access to anything otherwise user can interact with app in bad ways $tcoll = $this->getData('tcoll'); $rcoll = $this->getData('rcoll'); $cLang = $this->getData('lang'); @@ -24,7 +23,7 @@ $report = $this->getData('report'); /** @noinspection PhpIncludeInspection */ $reportLanguage = isset($tcoll['lang']) ? include __DIR__ . '/../../../../' . \ltrim($tcoll['lang']->getPath(), '/') : []; -$lang = $reportLanguage[$cLang] ?? []; +$lang = $reportLanguage[$cLang] ?? []; echo $this->getData('nav')->render(); ?>