From 9207ae32c1fd50c2a9dc93fc567e143b7a59bef8 Mon Sep 17 00:00:00 2001 From: Jean-Christian Denis Date: Sat, 13 May 2023 23:11:13 +0200 Subject: [PATCH] update icon --- icon.png | Bin 727 -> 0 bytes icon.svg | 2 ++ src/Backend.php | 2 +- 3 files changed, 3 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 ecafd2ffc542f88ec6e42eb7c57ee253ee7a3fcc..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 727 zcmV;|0x127P)@Qs&9_62n*m}Y|JO&A-Hy&om}^zi7~6MB0IV8=~|D%HZa>m>>1 z@o5F@0^%~%r{5u>m|_=&;x^`akX^RiP9H-~-}B*?Y=@Dk2nqIPg@kNiRh7>~2S0hPs5$m6+LgMb;RDO$<}@1QWC( zKE!6cS$>1Nwl;~0x=;c2IqED?vnOk$Xp-X=5+rO8uG~&it73ER{s4F`HC|kZab<#N zJ*Yt?qrA$|v}K;RGj*!-bF4qyi59mr{rEy`GcNrUq?sG$Sh#jzw7Kgj6c%vxr}*Rp z>QYQtrcmz1vyuACd(>Zz9p5pmH-C%r^ffaep35tGhPtEGTM3#15Qob=i_@?8_++Hw zEN6F~)3HBx0buH?DT!xDgah8w=W=kC31=B|mXTfO|5B!Z(Kjm{e&X4d%*g-%002ov JPDHLkV1iW*MF{`^ diff --git a/icon.svg b/icon.svg new file mode 100644 index 0000000..fe17f7d --- /dev/null +++ b/icon.svg @@ -0,0 +1,2 @@ + + \ No newline at end of file diff --git a/src/Backend.php b/src/Backend.php index 189749d..282cab3 100644 --- a/src/Backend.php +++ b/src/Backend.php @@ -50,7 +50,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) );