use SVG icon
This commit is contained in:
parent
99fb9bad55
commit
8d9591202b
@ -27,7 +27,7 @@ dcCore::app()->addBehavior('packmanBeforeCreatePackage', [
|
||||
dcCore::app()->menu[dcAdmin::MENU_PLUGINS]->addItem(
|
||||
__('License bootstrap'),
|
||||
'plugin.php?p=licenseBootstrap',
|
||||
'index.php?pf=licenseBootstrap/icon.png',
|
||||
'index.php?pf=licenseBootstrap/icon.svg',
|
||||
preg_match(
|
||||
'/plugin.php\?p=licenseBootstrap(&.*)?$/',
|
||||
$_SERVER['REQUEST_URI']
|
||||
@ -42,8 +42,8 @@ class licenseBootstrapBehaviors
|
||||
$favs->register('licenseBootstrap', [
|
||||
'title' => __('License bootstrap'),
|
||||
'url' => 'plugin.php?p=licenseBootstrap',
|
||||
'small-icon' => 'index.php?pf=licenseBootstrap/icon.png',
|
||||
'large-icon' => 'index.php?pf=licenseBootstrap/icon-big.png',
|
||||
'small-icon' => 'index.php?pf=licenseBootstrap/icon.svg',
|
||||
'large-icon' => 'index.php?pf=licenseBootstrap/icon.svg',
|
||||
'permissions' => dcCore::app()->auth->isSuperAdmin(),
|
||||
'active_cb' => [
|
||||
'licenseBootstrapBehaviors',
|
||||
|
BIN
icon-big.png
BIN
icon-big.png
Binary file not shown.
Before Width: | Height: | Size: 2.1 KiB |
38
icon.svg
Normal file
38
icon.svg
Normal file
@ -0,0 +1,38 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
|
||||
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="64px" height="64px" viewBox="0 0 64 64" enable-background="new 0 0 64 64" xml:space="preserve"> <image id="image0" width="64" height="64" x="0" y="0"
|
||||
href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAMAAACdt4HsAAAABGdBTUEAALGPC/xhBQAAACBjSFJN
|
||||
AAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAABrVBMVEUAAAC/SlXDS1fFTFnC
|
||||
S1bDTVfETVjETVfETFjFTFjETVe/T1/ETFjETFjDTFfHT1fETVjDTVbESlrETFjETVi/P1/ETFfB
|
||||
TFbETVjETVjCTVjCTFnETVjDTVfDTVgTebgTe7sVernDTVjDTVcVf78SerkSe7sSeroSeroPd7fE
|
||||
TFi+S1USe7sSeroSeroTebjCTVgUebkTe7sTe7vATFcSeroTe7sRebm1RlETe7sPf78Se7sSe7vE
|
||||
TFnDTFgSebkTe7sSeroff7+uRE8ff78SeroSerrDTVgTeroPf78TeroTeroRe7u7SFSpQ0yiQEjF
|
||||
TVjETVgReLihQEjDTVeePUcSe7uzR08SeroRebkSeroSe7u/SlYSerrETFcRebm3SVISebkTe7u7
|
||||
S1IReLgRerkRebm/S1W4SFLDTFexRVDDTVewRE66SFPDTVfDTFeSOUC5SlO9SlXETViZP0zDTVfE
|
||||
TFi/SlXCTFfETVe5SFPBS1fDTFi0R1HAS1e/S1a1RVHCTFa9SVTDTFa3R1K3R1O5SVS5SFPDTVfE
|
||||
TVi4SFKrQkzETVgTe7v///98a7hBAAAAjHRSTlMAGEAoWJe/98efYBBo33ggrzgw74cIt9nn+UhQ
|
||||
p4DPKEAwcPoYYK+/cCDnm5fn91DcWICP3jjH+K2fEKfPj/jw3+ADoQjzGedoDrfvSFuTms/D6ZvX
|
||||
gdc9h/nInfWj1MCd83giwbD65ZH7r/4aofToS5vf7xTx87z27qLq/LPH7JlhvtykK3aowN+pSXaf
|
||||
K00AAAABYktHRI6CBbNvAAAACXBIWXMAAA7CAAAOwgEVKEqAAAAAB3RJTUUH5gsaDxobdamg3wAA
|
||||
A+ZJREFUWMO1V/lf0zAU77qxe+PcnGMDNneAss1VGXJ5Tp0DD7xvEW9BRLwV7wu0/Z9t0rw0abt2
|
||||
8vn4/SnJy/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380ZyBv8I9w1xPqcCrvV1yw03m8ovkM0Htl+VVPlVFXZKAp0d9SJKaRUmag8pyM++0Z8Zq
|
||||
021Tm1NIsEKUeQmumcWMdXJv2qwiGGE2PLd6s/M/Cl0ely6K9Qe434CVF5YmGn81BuLpqChm013G
|
||||
H6CX1nzeDzZYa/3PkXzVBn9BsIHrtRP9zapgD89bO/rSu5jghFj2fSv6+odlR7pmxUcr+qfPofbo
|
||||
CKEvX7nAr3/7/qN9NigRf/7a2Nyc3/j9p92f3q3gL5AUBRRtit0vAAAAJXRFWHRkYXRlOmNyZWF0
|
||||
ZQAyMDIyLTExLTI2VDE0OjI2OjI3KzAxOjAwIB7xvwAAACV0RVh0ZGF0ZTptb2RpZnkAMjAyMi0x
|
||||
MS0yNlQxNDoyNjoyNyswMTowMFFDSQMAAAAadEVYdFNvZnR3YXJlAFBhaW50Lk5FVCB2My41LjEx
|
||||
R/NCNwAAAABJRU5ErkJggg==" />
|
||||
</svg>
|
After Width: | Height: | Size: 3.0 KiB |
Loading…
Reference in New Issue
Block a user