update icon

This commit is contained in:
Jean-Christian Denis 2023-05-13 23:33:36 +02:00
parent 8eae846ec9
commit a329179894
Signed by: JcDenis
GPG key ID: 1B5B8C5B90B6C951
3 changed files with 10 additions and 1 deletions

BIN
icon.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 614 B

9
icon.svg Normal file
View file

@ -0,0 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<svg width="64px" height="64px" viewBox="0 0 48 48" fill="none" xmlns="http://www.w3.org/2000/svg">
<rect width="48" height="48" fill="white" fill-opacity="0.01"/>
<path d="M4 7C4 5.34315 5.34315 4 7 4H41C42.6569 4 44 5.34315 44 7V41C44 42.6569 42.6569 44 41 44H7C5.34315 44 4 42.6569 4 41V7Z" fill="#676e78" stroke="#b2b2b2" stroke-width="4" stroke-linejoin="round"/>
<path d="M32 4V44" stroke="#b2b2b2" stroke-width="4" stroke-linecap="round" stroke-linejoin="round"/>
<path d="M16 20L20 24L16 28" stroke="white" stroke-width="4" stroke-linecap="round" stroke-linejoin="round"/>
<path d="M17 4H42" stroke="#b2b2b2" stroke-width="4" stroke-linecap="round" stroke-linejoin="round"/>
<path d="M17 44H42" stroke="#b2b2b2" stroke-width="4" stroke-linecap="round" stroke-linejoin="round"/>
</svg>

After

Width:  |  Height:  |  Size: 835 B

View file

@ -50,7 +50,7 @@ class Backend extends dcNsProcess
dcCore::app()->menu[dcAdmin::MENU_PLUGINS]->addItem( dcCore::app()->menu[dcAdmin::MENU_PLUGINS]->addItem(
My::name(), My::name(),
dcCore::app()->adminurl->get('admin.plugin.' . My::id()), 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']), 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->check(dcCore::app()->auth->makePermissions([
dcCore::app()->auth::PERMISSION_CONTENT_ADMIN, dcCore::app()->auth::PERMISSION_CONTENT_ADMIN,