Skip to content

Commit

Permalink
Merge pull request #41 from ggoffy/master
Browse files Browse the repository at this point in the history
code inspection/scrutinizer
  • Loading branch information
ggoffy authored Feb 22, 2021
2 parents caa95a4 + b7796c7 commit 06cc269
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 9 deletions.
1 change: 0 additions & 1 deletion class/ModuleimagesHandler.php
Original file line number Diff line number Diff line change
Expand Up @@ -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'];
}
Expand Down
6 changes: 0 additions & 6 deletions class/PackagesHandler.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand All @@ -202,7 +197,6 @@ public function getFormFilterPackages($action = false, $pkgFilterText = '')
// To Save
$form->addElement(new \XoopsFormHidden('op', 'search'));


return $form;
}

Expand Down
2 changes: 1 addition & 1 deletion docs/changelog.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
===================================================================
- fixed problem with display filter (goffy)
- fixed problems with display collections (goffy)

===================================================================
2020/12/13 Version 1.05 beta
===================================================================
Expand Down
2 changes: 1 addition & 1 deletion templates/wgtransifex_packages_item.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
</div>
</div>
<div class='panel-foot'>
<if class='col-sm-12 right'>
<div class='col-sm-12 right'>
<{if $showItem|default:''}>
<a class='btn btn-success right' href='<{$link_list}>?op=list<{if $lang_id}>&amp;lang_id=<{$lang_id}>#pkgId_<{$package.pkg_id}><{/if}>' title='<{$smarty.const._MA_WGTRANSIFEX_PACKAGES_LIST}>'><{$smarty.const._MA_WGTRANSIFEX_PACKAGES_LIST}></a>
<{else}>
Expand Down

0 comments on commit 06cc269

Please sign in to comment.