From 8d9591202b744836b8feda89532706c57a2d81f1 Mon Sep 17 00:00:00 2001 From: Jean-Christian Denis Date: Sat, 26 Nov 2022 14:29:03 +0100 Subject: [PATCH] use SVG icon --- _admin.php | 6 +++--- icon-big.png | Bin 2100 -> 0 bytes icon.png | Bin 638 -> 0 bytes icon.svg | 38 ++++++++++++++++++++++++++++++++++++++ 4 files changed, 41 insertions(+), 3 deletions(-) delete mode 100644 icon-big.png delete mode 100644 icon.png create mode 100644 icon.svg diff --git a/_admin.php b/_admin.php index 051febb..405297a 100644 --- a/_admin.php +++ b/_admin.php @@ -27,7 +27,7 @@ dcCore::app()->addBehavior('packmanBeforeCreatePackage', [ dcCore::app()->menu[dcAdmin::MENU_PLUGINS]->addItem( __('License bootstrap'), 'plugin.php?p=licenseBootstrap', - 'index.php?pf=licenseBootstrap/icon.png', + 'index.php?pf=licenseBootstrap/icon.svg', preg_match( '/plugin.php\?p=licenseBootstrap(&.*)?$/', $_SERVER['REQUEST_URI'] @@ -42,8 +42,8 @@ class licenseBootstrapBehaviors $favs->register('licenseBootstrap', [ 'title' => __('License bootstrap'), 'url' => 'plugin.php?p=licenseBootstrap', - 'small-icon' => 'index.php?pf=licenseBootstrap/icon.png', - 'large-icon' => 'index.php?pf=licenseBootstrap/icon-big.png', + 'small-icon' => 'index.php?pf=licenseBootstrap/icon.svg', + 'large-icon' => 'index.php?pf=licenseBootstrap/icon.svg', 'permissions' => dcCore::app()->auth->isSuperAdmin(), 'active_cb' => [ 'licenseBootstrapBehaviors', diff --git a/icon-big.png b/icon-big.png deleted file mode 100644 index a63d6a3419ad50741635f9b61335f17e44dc0ec9..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 2100 zcmV-42+Q}0P)N2bPDNB8 zb~7$DE-^7j^FlWO00*#1L_t(|UhP^vY#c=twnUSPU^|fl4Tvfd4P_{zSdieeZx6?R zw`(Y3I+w1%J{LYJml04z0fCi(WFiC(3eov&lC^z~OqT{JLW(dAIzR{$1#l8j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