From 27337e065f31a87fa9b6994cc9cdf414dc2a2497 Mon Sep 17 00:00:00 2001 From: Jean-Christian Denis Date: Sat, 13 May 2023 23:39:10 +0200 Subject: [PATCH] update icon --- icon-big.png | Bin 7096 -> 0 bytes icon.png | Bin 964 -> 0 bytes icon.svg | 13 +++++++++++++ src/Backend.php | 6 +++--- 4 files changed, 16 insertions(+), 3 deletions(-) delete mode 100644 icon-big.png delete mode 100644 icon.png create mode 100644 icon.svg diff --git a/icon-big.png b/icon-big.png deleted file mode 100644 index 941798c347152aea3220c7c81e41b81ba32e5b4c..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 7096 zcma)Bc{J4D-~Y^v8H2%)Wl&~>2xU-~EJIN#;+rKZjJ<`>w?dYgX|hEmdnzhYk|iZY zW-zG8&`Q)8+f>3>XPD*l_&v{g&UyZP{i0|3;$wSZsyy|Gri;N)|`BP#4dY~cA&z#$|m zC=}-$85kaVG&C?IKIUDh4FG5ya&~m^jQbuW1VKXQK?DF{Fz_7^d*C`B0FdPhSO9?R z8ixTm^8Un)69&@d0WzSz00GeU+I9c{J;jjRaOD4NX6!vkNq0ruxVo%bEN;LH!-Y(4 z&H@&uy;o|9&<*a*LS@~uuj%6EI0)rGfhTUexExSci@$68x?zHuX<=b`@nYw5{#xbJ zWKet#@|W}ovhofvu|QL^)}2rjLGE0hQ7utX&2u7J2!(b0;p!Wz(uaaj2!_^9jkPM>hhbunE{}-zUw8 zus4!pln;G^2PxyeLKf6OGgAm`{X-dzpehoJPCr4yI36+kA#4_kdC`@qQw4lO8P zH1B>(HB;Mf=_FPngCf4e+x zY}jL?nM#x4msnv%fkpWfffG4}Hx;hEZ20PJf%gnS7ods6z~E4R|62xE5`!cpCk4le z$8|fa>S!3dL{TRLb_#Ce+4!YG_k`VrI5b)c0n)TtEOwWBg$)2y{ zs(f}t1poeVSb0RsanGzIHBFUqbTv=^_|EaTl-REASPxIf`qw)z+e*e(M(z5{!o|ZasJ(*$(+@0<%>HbKD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at end of file diff --git a/src/Backend.php b/src/Backend.php index f66e321..89d0e44 100644 --- a/src/Backend.php +++ b/src/Backend.php @@ -39,7 +39,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_CONTENT_ADMIN]), dcCore::app()->blog->id) ); @@ -52,8 +52,8 @@ class Backend extends dcNsProcess $favs->register(My::id(), [ 'title' => My::name(), 'url' => dcCore::app()->adminurl->get('admin.plugin.' . My::id()), - 'small-icon' => dcPage::getPF(My::id() . '/icon.png'), - 'large-icon' => dcPage::getPF(My::id() . '/icon-big.png'), + 'small-icon' => dcPage::getPF(My::id() . '/icon.svg'), + 'large-icon' => dcPage::getPF(My::id() . '/icon.svg'), 'permissions' => dcCore::app()->auth->makePermissions([dcCore::app()->auth::PERMISSION_CONTENT_ADMIN]), ]); });