From c1019b7ad1c12a9ba4d3a24604be3e02aebba163 Mon Sep 17 00:00:00 2001 From: mambax7 Date: Sat, 28 Aug 2021 20:25:57 -0400 Subject: [PATCH] icons size --- admin/admin_footer.php | 2 +- admin/admin_header.php | 4 ++-- config/icons.php | 2 +- include/common.php | 4 ++-- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/admin/admin_footer.php b/admin/admin_footer.php index b060a982..acd28a70 100644 --- a/admin/admin_footer.php +++ b/admin/admin_footer.php @@ -20,7 +20,7 @@ use Xmf\Module\Admin; -$pathIcon32 = Admin::iconUrl('', 32); +$pathIcon32 = Admin::iconUrl('', '32'); echo "
\n" . "
\n" . " XOOPS\n" . "
\n" . ' ' . _AM_MODULEADMIN_ADMIN_FOOTER . "\n" . '
'; diff --git a/admin/admin_header.php b/admin/admin_header.php index e00eb7f4..7ab6b6b0 100644 --- a/admin/admin_header.php +++ b/admin/admin_header.php @@ -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')); diff --git a/config/icons.php b/config/icons.php index 7c7b0a17..d45b6122 100644 --- a/config/icons.php +++ b/config/icons.php @@ -10,7 +10,7 @@ Utility }; -$pathIcon16 = Admin::iconUrl('', 16); +$pathIcon16 = Admin::iconUrl('', '16'); $moduleDirName = \basename(\dirname(__DIR__)); $moduleDirNameUpper = mb_strtoupper($moduleDirName); $helper = Helper::getInstance(); diff --git a/include/common.php b/include/common.php index cd474b30..0ce08d53 100644 --- a/include/common.php +++ b/include/common.php @@ -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');