diff --git a/class/ModuleimagesHandler.php b/class/ModuleimagesHandler.php index 30b9149..6a43f2b 100644 --- a/class/ModuleimagesHandler.php +++ b/class/ModuleimagesHandler.php @@ -76,7 +76,6 @@ public function getFormModuleimages($action = false) */ public function getFormDownloadGH($action = false) { - $helper = \XoopsModules\Wgtransifex\Helper::getInstance(); if (!$action) { $action = $_SERVER['REQUEST_URI']; } diff --git a/class/PackagesHandler.php b/class/PackagesHandler.php index eace8dc..15a6570 100644 --- a/class/PackagesHandler.php +++ b/class/PackagesHandler.php @@ -181,14 +181,9 @@ public function getFormAllPackages($action = false) */ public function getFormFilterPackages($action = false, $pkgFilterText = '') { - $helper = Helper::getInstance(); - $projectsHandler = $helper->getHandler('Projects'); - //$resourcesHandler = $helper->getHandler('Resources'); - $languagesHandler = $helper->getHandler('Languages'); if (!$action) { $action = $_SERVER['REQUEST_URI']; } - // Get Theme Form \xoops_load('XoopsFormLoader'); $form = new \XoopsSimpleForm('', 'formFilterIndex', $action, 'post', true); @@ -202,7 +197,6 @@ public function getFormFilterPackages($action = false, $pkgFilterText = '') // To Save $form->addElement(new \XoopsFormHidden('op', 'search')); - return $form; } diff --git a/docs/changelog.txt b/docs/changelog.txt index 97f4d6c..ffda035 100644 --- a/docs/changelog.txt +++ b/docs/changelog.txt @@ -3,7 +3,7 @@ =================================================================== - fixed problem with display filter (goffy) - fixed problems with display collections (goffy) - + =================================================================== 2020/12/13 Version 1.05 beta =================================================================== diff --git a/templates/wgtransifex_packages_item.tpl b/templates/wgtransifex_packages_item.tpl index aa953e1..02b6f10 100644 --- a/templates/wgtransifex_packages_item.tpl +++ b/templates/wgtransifex_packages_item.tpl @@ -15,7 +15,7 @@
- +
<{if $showItem|default:''}> <{$smarty.const._MA_WGTRANSIFEX_PACKAGES_LIST}> <{else}>