update icon

master
Jean-Christian Paul Denis 2023-05-13 23:11:13 +02:00
parent 1a8e5ecdf9
commit 9207ae32c1
Signed by: JcDenis
GPG Key ID: 1B5B8C5B90B6C951
3 changed files with 3 additions and 1 deletions

BIN
icon.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 727 B

2
icon.svg 100644
View File

@ -0,0 +1,2 @@
<?xml version="1.0" encoding="utf-8"?>
<svg fill="#000000" width="64" height="64px" viewBox="0 0 24 24" id="noodle-left-2" data-name="Flat Color" xmlns="http://www.w3.org/2000/svg" class="icon flat-color"><path id="primary" d="M21,10H11a1,1,0,0,1,0-2H21a1,1,0,0,1,0,2ZM6,10H3A1,1,0,0,1,3,8H6A1,1,0,0,1,7,9,1,1,0,0,1,6,10Z" style="fill: #676e78;"></path><path id="secondary" d="M5.55,22a1,1,0,0,1-1-1,4.22,4.22,0,0,1,.62-2.29,2.19,2.19,0,0,0,.37-1.31,2.33,2.33,0,0,0-.37-1.33,4.18,4.18,0,0,1-.62-2.28,4.19,4.19,0,0,1,.62-2.29,2.19,2.19,0,0,0,.37-1.31,2.21,2.21,0,0,0-.37-1.31,4.19,4.19,0,0,1-.62-2.29,4.18,4.18,0,0,1,.62-2.28l.06-.13A1,1,0,0,1,7,5.13l-.08.14a2.32,2.32,0,0,0-.37,1.32,2.3,2.3,0,0,0,.37,1.32,4.15,4.15,0,0,1,.62,2.28,4.15,4.15,0,0,1-.62,2.28,2.32,2.32,0,0,0-.37,1.32,2.26,2.26,0,0,0,.37,1.31,4.23,4.23,0,0,1,.62,2.3,4.15,4.15,0,0,1-.62,2.28A2.32,2.32,0,0,0,6.55,21,1,1,0,0,1,5.55,22Zm5-1a2.25,2.25,0,0,1,.37-1.32,4.15,4.15,0,0,0,.62-2.28,4.23,4.23,0,0,0-.62-2.3,2.19,2.19,0,0,1-.37-1.31,2.25,2.25,0,0,1,.37-1.32,4.15,4.15,0,0,0,.62-2.28,4.15,4.15,0,0,0-.62-2.28,2.22,2.22,0,0,1-.37-1.32,2.24,2.24,0,0,1,.37-1.31,5.66,5.66,0,0,0,.36-.74,1,1,0,0,0-.58-1.29,1,1,0,0,0-1.29.58c-.07.18-.16.33-.24.49a4.14,4.14,0,0,0-.62,2.27,4.19,4.19,0,0,0,.62,2.29,2.29,2.29,0,0,1,.37,1.31,2.26,2.26,0,0,1-.37,1.31,4.19,4.19,0,0,0-.62,2.29,4.18,4.18,0,0,0,.62,2.28,2.33,2.33,0,0,1,.37,1.33,2.26,2.26,0,0,1-.37,1.31A4.22,4.22,0,0,0,8.54,21a1,1,0,0,0,2,0Z" style="fill: #9ac123;"></path><path id="primary-2" data-name="primary" d="M3,6a1,1,0,0,1-.11-2L20.83,2a1,1,0,0,1,1.11.88A1,1,0,0,1,21.06,4L3.11,6Z" style="fill: #676e78;"></path></svg>

After

Width:  |  Height:  |  Size: 1.6 KiB

View File

@ -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)
);