Skip to content

Commit

Permalink
icons size
Browse files Browse the repository at this point in the history
  • Loading branch information
mambax7 committed Aug 29, 2021
1 parent 6270ae1 commit c1019b7
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion admin/admin_footer.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@

use Xmf\Module\Admin;

$pathIcon32 = Admin::iconUrl('', 32);
$pathIcon32 = Admin::iconUrl('', '32');

echo "<div class='adminfooter'>\n" . " <div style='text-align: center;'>\n" . " <a href='https://xoops.org' rel='external'><img src='{$pathIcon32}/xoopsmicrobutton.gif' alt='XOOPS' title='XOOPS'></a>\n" . " </div>\n" . ' ' . _AM_MODULEADMIN_ADMIN_FOOTER . "\n" . '</div>';

Expand Down
4 changes: 2 additions & 2 deletions admin/admin_header.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@
/** @var Admin $adminObject */
$adminObject = Admin::getInstance();

$pathIcon16 = Admin::iconUrl('', 16);
$pathIcon32 = Admin::iconUrl('', 32);
$pathIcon16 = Admin::iconUrl('', '16');
$pathIcon32 = Admin::iconUrl('', '32');
$pathModIcon32 = XOOPS_URL . '/modules/' . $moduleDirName . '/assets/images/icons/32/';
if (is_object($helper->getModule()) && false !== $helper->getModule()->getInfo('modicons32')) {
$pathModIcon32 = $helper->url($helper->getModule()->getInfo('modicons32'));
Expand Down
2 changes: 1 addition & 1 deletion config/icons.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
Utility
};

$pathIcon16 = Admin::iconUrl('', 16);
$pathIcon16 = Admin::iconUrl('', '16');
$moduleDirName = \basename(\dirname(__DIR__));
$moduleDirNameUpper = mb_strtoupper($moduleDirName);
$helper = Helper::getInstance();
Expand Down
4 changes: 2 additions & 2 deletions include/common.php
Original file line number Diff line number Diff line change
Expand Up @@ -108,8 +108,8 @@
$publisherCurrentPage = Utility::getCurrentPage();
}

$pathIcon16 = Admin::iconUrl('', 16);
$pathIcon32 = Admin::iconUrl('', 32);
$pathIcon16 = Admin::iconUrl('', '16');
$pathIcon32 = Admin::iconUrl('', '32');
//$pathModIcon16 = $helper->getModule()->getInfo('modicons16');
//$pathModIcon32 = $helper->getModule()->getInfo('modicons32');

Expand Down

0 comments on commit c1019b7

Please sign in to comment.