From b48cf32118df15aaa3d64d8fc3f0a2eea6bd02a1 Mon Sep 17 00:00:00 2001 From: Jean-Christian Denis Date: Sat, 13 May 2023 22:57:35 +0200 Subject: [PATCH] update icon --- icon.png | Bin 677 -> 0 bytes icon.svg | 15 +++++++++++++++ src/Backend.php | 2 +- 3 files changed, 16 insertions(+), 1 deletion(-) delete mode 100644 icon.png create mode 100644 icon.svg diff --git a/icon.png b/icon.png deleted file mode 100644 index a66c66b60b8df3959f6328053ea40078ca905965..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 677 zcmV;W0$TlvP)ujiQR^Y-H3zSf`!|IgxiCH+ku4If`Qt9e%XG0*nNE1eYC)| zde?e+)_Ql=d3M!ybkuZi)ogFnY;(|abI@_Exvp-~Z*0dbVG7wVRUJ4ZXi@?ZDjyAFEBVSFgO>dycqxh0HR4mK~xx5V_?7ljM>?l86Y|# zJ|-F@z@BDmnhp|(Q&I|J0|}&>m?X0>FtA3+%Ljl3lJxXKy%`wY9Hk{ZK?2Mv*4o;B zkrB=^qH6w3AVV|~J(Ly93?wAXz2qSFaE8QMNQoN;x^lp+=Jyd3vFAZ{OSrJGCo-SM zMNrU*ff3FR3RdUi)3LOJt6=dp;^tPhVMfyAuBBzmfC3z>7;pdpCO#KG-{6pv00000 LNkvXXu0mjfp{OK; diff --git a/icon.svg b/icon.svg new file mode 100644 index 0000000..925b9c9 --- /dev/null +++ b/icon.svg @@ -0,0 +1,15 @@ + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/src/Backend.php b/src/Backend.php index 3182444..fee7f7e 100644 --- a/src/Backend.php +++ b/src/Backend.php @@ -49,7 +49,7 @@ class Backend extends dcNsProcess dcCore::app()->menu[dcAdmin::MENU_PLUGINS]->addItem( My::name(), dcCore::app()->adminurl->get('admin.plugin.' . My::id()), - dcPage::getPF(My::id() . '/icon.png'), + dcPage::getPF(My::id() . '/icon.svg'), preg_match('/' . preg_quote(dcCore::app()->adminurl->get('admin.plugin.' . My::id())) . '(&.*)?$/', $_SERVER['REQUEST_URI']), dcCore::app()->auth->check(dcCore::app()->auth->makePermissions([dcCore::app()->auth::PERMISSION_ADMIN]), dcCore::app()->blog->id) );