From a3291798944704ec1ffd656b6adec0d01256e4f2 Mon Sep 17 00:00:00 2001 From: Jean-Christian Denis Date: Sat, 13 May 2023 23:33:36 +0200 Subject: [PATCH] update icon --- icon.png | Bin 614 -> 0 bytes icon.svg | 9 +++++++++ src/Backend.php | 2 +- 3 files changed, 10 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 e75fa5160e92eed4ccf651f100e1bfe9ced356f3..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 614 zcmV-s0-61ZP)az|A54f59pd7C>xe+Dz60`~+ewmuqFz(T6Iy88zdqdv z!vwdgC2Z`)pt@r8dOdh)`XHaS&AMbY1DPhMJ27fbg4;F1c@|5sNEi$T__V&hMs*K~ zcf|;Z<+YBb5s&V z|2XIlW89@mVrREMi#{MV3!Eh{x27i-X}Gv8=^FeOl#0 zDdGtSG%+wo5PuzMe#XY$ailklfWd@=;;lK6-^?xL3*|dWbS#e0aZg+Hb*iGCxvKm68D<{8fbA|IOj3O9 zM>u0keDFr*H_?%Cvu5LS9|(LOqwYr>y?GAqY=x5Qpx=j55|xUA7eYtJDN)S8xi=Ch zl_a>9Im}i3AXNR`?bhn*G5%}(XtkI_h<*z&0Nl(dJJs`$+W-In07*qoM6N<$f??$j Avj6}9 diff --git a/icon.svg b/icon.svg new file mode 100644 index 0000000..16016ad --- /dev/null +++ b/icon.svg @@ -0,0 +1,9 @@ + + + + + + + + + \ No newline at end of file diff --git a/src/Backend.php b/src/Backend.php index 7ee38af..1a19fb2 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()), - urldecode(dcPage::getPF(My::id() . '/icon.png')), + urldecode(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,