From 5dd644808575d91a13b0c1cd94f3031b77cd6536 Mon Sep 17 00:00:00 2001 From: Jean-Christian Denis Date: Sat, 26 Nov 2022 15:18:27 +0100 Subject: [PATCH] use svg icon --- _admin.php | 8 ++++---- icon-big-update.png | Bin 1580 -> 0 bytes icon-big.png | Bin 1637 -> 0 bytes icon-update.svg | 29 +++++++++++++++++++++++++++++ icon.png | Bin 411 -> 0 bytes icon.svg | 25 +++++++++++++++++++++++++ 6 files changed, 58 insertions(+), 4 deletions(-) delete mode 100644 icon-big-update.png delete mode 100644 icon-big.png create mode 100644 icon-update.svg delete mode 100644 icon.png create mode 100644 icon.svg diff --git a/_admin.php b/_admin.php index c80b7a7..4a32e05 100644 --- a/_admin.php +++ b/_admin.php @@ -21,7 +21,7 @@ require_once __DIR__ . '/_widgets.php'; dcCore::app()->menu[dcAdmin::MENU_PLUGINS]->addItem( __('Feeds server'), dcCore::app()->adminurl->get('admin.plugin.zoneclearFeedServer'), - dcPage::getPF('zoneclearFeedServer/icon.png'), + dcPage::getPF('zoneclearFeedServer/icon.svg'), preg_match( '/' . preg_quote(dcCore::app()->adminurl->get('admin.plugin.zoneclearFeedServer')) . '(&.*)?$/', $_SERVER['REQUEST_URI'] @@ -87,8 +87,8 @@ class zcfsAdminBehaviors $favs->register('zcfs', [ 'title' => __('Feeds server'), 'url' => dcCore::app()->adminurl->get('admin.plugin.zoneclearFeedServer'), - 'small-icon' => dcPage::getPF('zoneclearFeedServer/icon.png'), - 'large-icon' => dcPage::getPF('zoneclearFeedServer/icon-big.png'), + 'small-icon' => dcPage::getPF('zoneclearFeedServer/icon.svg'), + 'large-icon' => dcPage::getPF('zoneclearFeedServer/icon.svg'), 'permissions' => 'usage,contentadmin', 'active_cb' => ['zcfsAdminBehaviors', 'adminDashboardFavoritesActive'], 'dashboard_cb' => ['zcfsAdminBehaviors', 'adminDashboardFavoritesCallback'], @@ -123,7 +123,7 @@ class zcfsAdminBehaviors } $fav['title'] .= '
' . sprintf(__('%s feed disabled', '%s feeds disabled', $count), $count); - $fav['large-icon'] = dcPage::getPF('zoneclearFeedServer/icon-big-update.png'); + $fav['large-icon'] = dcPage::getPF('zoneclearFeedServer/icon-pdate.svg'); $fav['url'] = dcCore::app()->adminurl->get( 'admin.plugin.zoneclearFeedServer', ['part' => 'feeds', 'sortby' => 'feed_status', 'order' => 'asc'] diff --git a/icon-big-update.png b/icon-big-update.png deleted file mode 100644 index 97d59c1bdf36b0dda1875e3cc2ca346b10d2e1bc..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1580 zcmV+{2GjY8P)<*{v1ktZ$+015z4T+|W#Zj%%Mh>6515Y-v5wzgJbu~=R^ozCYEd0(wo`)@-- z!+2?F>9nK)Fqur>!0_hQXgUXAct1}_NFW-GhS=?PAH9r>4B~RR$l2K$+i9;p9+Q)k z&kG6){)T(FCEo+kc!R+}&j$wwy&$x;wNYoyW;0n>SfF!NRaK;^sfmIzG&B@YUpA{i ze0==9=fUVaWc0(D0qkh9(|u%QghqF3Ys))_nSj@@qwG&#R?8rt;Y>Yqg$+m`eT4|g zBm;)z0)Rq z+z7MpA?AKz&j72{>LoZ_@-jR;OtWKYY3WYwGEQ(mL$=7LgJfxJY>YC=<>h7R0KixK z?2MS6=6{0aIw(Yk+Y=NfDCK7Xf8z0Yh{NHaBQ-*;COVytj!_N3!NCE!zP={M$H#X* z!?~1{6rxh8NP2pD^Z`cXyNR?QKC|vP%R@C@U*VIsl+y zxSr$4m*QB@$Q04>q@*M|cXDz<($dld0l-%xo12>y4BRRUwM5iGHnW_?#l@H4Kmpb_ zSI|+6GCH1{o9mrNhbQ0s-TD2*Rfa0RUfg%+Ag>qtgJw7knv>4&#Ao z%?LUTdUSkj0q6fjFuH8wy8Zf7+}8*vw~eBK2309 zV&ZFv_$xkbOm(Bt=#%2m56H~Sj9h4c4Ft9ZD0l_}z*_=X?|prJzwkvLrM0z{HZ^oS z%ndDUS&rv)TMt zYHBJq8lx3RE-o&pGt9d`M#Sn@R8&+ZCMJ4+I32A0F;=VfN&iw(`L8hr00jUA00jUA efF~^f2`~Unv_m%h>x}sT0000 diff --git a/icon-big.png b/icon-big.png deleted file mode 100644 index aef2e1b2eed8985660740efb0a272c5149bf624a..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1637 zcmV-r2AcVaP);wY7a;I03*C+LCkhaAQ~$z^wRTw4hdokkkNNr`45u z=;9^`D1!A~x~`ZcgGlqd=r=Wgp~l0 zAb}p8x^}}7$DFkG^hxTR1rxt*II=j7pU*Z_QP*7Jup^|KA5a;KOnlaSKaoKm)Hg)N zGRTa?jLpIOo)4b|LW^tsJT?}<|+6QXVF=wyv!#Ay(A z&U<~QKj!tpX32c+QxXr|B-ckSf^sJqf!_suen*InBj2YzM>^m@D<6G8%HT-!dZL?v z+sT_qM|vK0W?G}7gfyy4NXf(_Qto_6ouh_;K}9+hX^c2V-XB4Dpb}6KsEnLxr}PN0 z$0f~28$crgfuzXwi~{OF0+0w)h05cKYyvRKT`8I+5~oeCRgvoFv#9f{SGvf(;m3j$ z#7q(0xP?+j#1McJY=uZ6Xg-N+(iG(Fmo)%fO;Y0LA2;rvC7M))AOiSOgeIeMnH~B|-~Ms}^xvNkS`BjBq)TZpOOPLU7_gS5E+&i)tb z^;)F~$hNE)0WjfIn7F>(?5HrA?f5MwoloNWd?l&gp?=aOj!gq#2L&96TgiIngy)+o zw90lM-vmJz3kd-?2S;}`_gG&?@Ib<5K8Yh>1LSr#$eK1Fi8S9Grp~Kv0R9go0p|7f z&YZNLL=%7#2hi2cJ;MgP=0=;AI0Ax>w$Rr-DDljdocVro1uFZTYvPb|e zaf~)boloKj)&Rw<0;J9?Xb2dAi!ExaO$Mp~Rl!UV76E&%blrf67x8(c)bF0$#gaJG z17Za5QZm5Nd!tsjX9)pxzVEx%-NF}rw6ppx!~#VPfv<2uTQL>zr z^h6PWozp_@NG=sHaK7?hFab1+ct|eq4;Ix3`9dUUR~VVZN-7obb!D3`2(4f11j=a) z>wy$f0fE<*b1 z`=AJjv@S7_ycbNsz=%5!k3hS`mo(|r5vU39UpDWTn?G$n|1My*P33nFxr*`Heny$_6|yOm1KY6{O+*gsaVoE;1C5~fd8_2?{EG-_XCE;W;ABo^j6zr z&ol7y^M&D>%#Cq>Ycm!1vr{*)HWrZpliB_z{kkwKh3wAFAbA-{touG3agiSfMo8cA z__Dx-`UCLRmLtVWexW9I{xQ9Oxu`wB(W%)~bnGNThqUkl>ci?CO{@Y jCO{@YCSVQQ{{jpEoe&gswYV>f00000NkvXXu0mjfBJmIX diff --git a/icon-update.svg b/icon-update.svg new file mode 100644 index 0000000..1295e73 --- /dev/null +++ b/icon-update.svg @@ -0,0 +1,29 @@ + + + + diff --git a/icon.png b/icon.png deleted file mode 100644 index 05461dbcdf2785968307bc40296ab93960a85e0b..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 411 zcmV;M0c8G(P)FrwLT)GrcEh4rT8RI&kRwvdGhkn!%s8B7M;9uyn+b+m-dK`MYGoB + + +