From e03f097be5f0ee84f85f8fd81b345645267a11e1 Mon Sep 17 00:00:00 2001
From: Thibault Dockx <thibault.dockx@fusiondirectory.org>
Date: Fri, 9 Dec 2022 10:59:03 +0000
Subject: [PATCH] :sparkles: Feat(Icons) - Adds proper icons.

Adds proper icons to tasks task-dashboard and mail.
---
 .../breezy/icons/48/apps/mail-template.png       | Bin 0 -> 216 bytes
 .../breezy/icons/48/apps/tasks-dashboard.png     | Bin 0 -> 1187 bytes
 html/themes/breezy/icons/48/apps/tasks.png       | Bin 0 -> 1052 bytes
 .../addons/mailtemplate/class_mailTemplate.inc   |   2 +-
 plugins/addons/tasks/class_tasks.inc             |   2 +-
 plugins/addons/tasks/class_tasksGranular.inc     |   2 +-
 plugins/addons/tasks/class_tasksMail.inc         |   3 +--
 .../class_mailTemplateManagement.inc             |   2 +-
 plugins/admin/tasks/class_tasksDashboard.inc     |   2 +-
 plugins/admin/tasks/class_tasksManagement.inc    |   2 +-
 10 files changed, 7 insertions(+), 8 deletions(-)
 create mode 100644 html/themes/breezy/icons/48/apps/mail-template.png
 create mode 100644 html/themes/breezy/icons/48/apps/tasks-dashboard.png
 create mode 100644 html/themes/breezy/icons/48/apps/tasks.png

diff --git a/html/themes/breezy/icons/48/apps/mail-template.png b/html/themes/breezy/icons/48/apps/mail-template.png
new file mode 100644
index 0000000000000000000000000000000000000000..39406c71b48a590d17f900d938af57f8f437a947
GIT binary patch
literal 216
zcmeAS@N?(olHy`uVBq!ia0vp^1|ZDA1|-9oezpTCwj^(N7l!{JxM1({$v}}_PZ!6K
zjK;UuH*z)@h`0udvOX^mKk6BC;M%2YtaDsS#Gec3Yzbp>>#?!B6Wk{7Pu0~!gpt9n
z<30E3UGiOyHB(*7W?BaF3UM)JJ!1}<?^|pA-?ly2Jfy$+%zXxsSViYmj)2cqCuU_<
z*M5k2e(-#OVLda;3c&?#4N{C*P)2={DH8+3vbhoaMcqOdPbvmFjKR~@&t;ucLK6UA
CMN23E

literal 0
HcmV?d00001

diff --git a/html/themes/breezy/icons/48/apps/tasks-dashboard.png b/html/themes/breezy/icons/48/apps/tasks-dashboard.png
new file mode 100644
index 0000000000000000000000000000000000000000..b222757a9fd4e5fbeb1894fa2fc57992aff1b3d3
GIT binary patch
literal 1187
zcmV;U1YG-xP)<h;3K|Lk000e1NJLTq001xm001xu1^@s6R|5Hm00006VoOIv0RI60
z0RN!9r;`8x1XxK#K~!jg?U!Fn990y?e|KhpvUXcom&H)FMQ9=oT39rKuY#qNrberk
zgr*9u>62($leTI>qv>N&G=^FUjZ%}U)fftG0Sz&xzG#4!`j@ipf~M?RBHg4WuruQW
z6c?6dfEh$0-_xBt=iKl6a?iPQN3Z~>Z9JW-BWiRg8lP$tLOb|;*%QB7%_Xc}u(t7Z
zs)pzW98+EmX=-TWzNdHmW+k6w<zfIjq6ToFixvspEup)Cvw%a$%2BKN7Qnz**+@d$
zTe)-lK;_Qu1F9_T9VaWAIeYF<W)oCgwkI{DQKJir1lVuSmu%S*HRpQZk8EH7U~tgy
zNpU*SVfCAhpXpO$n_F5Y#ySKAw1IrE?W1FcJ!9Ad#btX^Lpsyd^o#~ZL!%>sKZl<L
zNJ>cfBt}tUqs4|B2*Z%7C>y`}pl-&VG2DTWMhzlTyb)rQnAjAj^NYFWg~1`Kp`*Z4
zGX)tM7%v+D-hTaM?nzIZc=y)H&rRt22dyWMPmF)+^-@`VWSrc%XAGM-yynBj1FW>g
z&t7E|*r%+Kx&H3($JIvprcR-PJWqsxxxj9Vry$Q`M#Ah)p=d};Nv7hl&87sHh2`IY
ze;dmN78}b378^_6fT?42I{1P<TCcX#>F>sW%MXCd=ECF3p(w2ox7}?ipJfI@T8R3d
z23ox5&~$CmJ73U;FX*GG?+hjB#Z+XKqe!wPyp|XUX(3+w_6@oM-805%x<=ELX8MBz
zROcVI#Dpb1P~X#FC_Wrr{%#sBpRj`3ya8X(M~nB|tYQ=65)oqTZrj{<mj2*?S$gvZ
z&R=bdsQKxTY`cq>@()m+wF@Bxs;<&{t<5aGc>|sP$)yt~$3?`fS((Ct2lta0mq_9Y
z2a2SO=XRN;H*X;DS72i7SmEH+hpH%8`|!lvTDzMUAK1^T*j4o0xJ+&5JB+HM0QheO
zBG#KLOrJs`?6*48k%`lGC#9J?P<0LOu$O)JzrY<aHZBG(@osk=AuTj*?tEd|KvH}X
zzMv0)3%_3=R*t1?Ln&n&N*Pf{h?C>!^mkEr@jX;cot$fPnx!{iLLOJnr00(Q4nF*$
z5g6--@2-E(v1!Bu<hpXr(wpCbqO?Mq`p!%`iM}5A21zKaPspI5=LD)ADP9&bo7NSY
zr8mC=Zo8Y3^x}y5j{Xkbzf?c1cz~_xC8XNdn5DPoOI(pvPL3;k*6|)!4$oxmvVz(g
z1BxV5oqw2Z8C#J>^!tr0WFF1fMpgbR|E<d$jG1`$zTIq2+eGWNb~^oC431x?lWi_?
zT^=4;SBTr5Y8B-eucfOo))Tw$Ew_5vs95rUWXlE?8_Nb38~+Cb;^ytq&sV$)sRe)^
zd;7v4hmGQA@g30HfyV)!t2#1IS@VRB;XkM04rr=41l+Jh(A+R2$@(FqAVULRo;v=E
zswmkAJ`OLZg@d?>&Zm;3=bdk??_GGlWh`T9<8S)PM!$iM&V2v?002ovPDHLkV1h-W
BL-GIs

literal 0
HcmV?d00001

diff --git a/html/themes/breezy/icons/48/apps/tasks.png b/html/themes/breezy/icons/48/apps/tasks.png
new file mode 100644
index 0000000000000000000000000000000000000000..41d0b9c912301e3be30841c90f834c24e10fc6eb
GIT binary patch
literal 1052
zcmV+%1mpXOP)<h;3K|Lk000e1NJLTq001xm001xu1^@s6R|5Hm00006VoOIv0RI60
z0RN!9r;`8x1JOxDK~!jg?V0au6L%cPUw4<LX_6{U%Y@CqoK#rLNIQgrF!!LWI@Z!{
zf+#o!RoD=wRUgd#3maYSiuIX@INVm)oUO>F)-jO5e(97J`=FugGDm4_)27DulDpf3
z{4ms}m)?Dou#xwp``-6+pU?Z1?~i=BlPG|CE?)90y4H&!wWV%d$51}%ey4L>bS+7A
z!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2~OB#M;_gz~C!1qpAPu4?@4{msQsPQU3yb
W^*4E>_^{ys0000<MNUMnLSTX(&;$km

literal 0
HcmV?d00001

diff --git a/plugins/addons/mailtemplate/class_mailTemplate.inc b/plugins/addons/mailtemplate/class_mailTemplate.inc
index 7010fddf4..2298a8012 100644
--- a/plugins/addons/mailtemplate/class_mailTemplate.inc
+++ b/plugins/addons/mailtemplate/class_mailTemplate.inc
@@ -33,7 +33,7 @@ class mailTemplate extends simplePlugin
       'plObjectType'  => ['mailTemplate' => [
         'name'        => _('Mail Template'),
         'ou'          => get_ou('mailTemplateRDN'),
-        'icon'        => 'geticon.php?context=applications&icon=dsa&size=16',
+        'icon'        => 'geticon.php?context=applications&icon=mail-template&size=48',
       ]],
       'plProvidedAcls' => parent::generatePlProvidedAcls(static::getAttributesInfo())
     ];
diff --git a/plugins/addons/tasks/class_tasks.inc b/plugins/addons/tasks/class_tasks.inc
index 2cf626fc0..8dad71aeb 100644
--- a/plugins/addons/tasks/class_tasks.inc
+++ b/plugins/addons/tasks/class_tasks.inc
@@ -34,7 +34,7 @@ class tasks extends simplePlugin
       'plObjectType'  => ['tasks' => [
         'name'        => _('Tasks'),
         'ou'          => get_ou('tasksRDN'),
-        'icon'        => 'geticon.php?context=applications&icon=dsa&size=16',
+        'icon'        => 'geticon.php?context=applications&icon=tasks&size=48',
       ]],
       'plProvidedAcls' => parent::generatePlProvidedAcls(static::getAttributesInfo())
     ];
diff --git a/plugins/addons/tasks/class_tasksGranular.inc b/plugins/addons/tasks/class_tasksGranular.inc
index fec3e3524..56dcedf3f 100644
--- a/plugins/addons/tasks/class_tasksGranular.inc
+++ b/plugins/addons/tasks/class_tasksGranular.inc
@@ -33,7 +33,7 @@ class tasksGranular extends simplePlugin
       'plObjectType'  => ['tasksGranular' => [
         'name'        => _('TasksGranular'),
         'ou'          => get_ou('tasksRDN'),
-        'icon'        => 'geticon.php?context=applications&icon=dsa&size=16',
+        'icon'        => 'geticon.php?context=applications&icon=tasks&size=48',
       ]],
       'plProvidedAcls' => parent::generatePlProvidedAcls(static::getAttributesInfo())
     ];
diff --git a/plugins/addons/tasks/class_tasksMail.inc b/plugins/addons/tasks/class_tasksMail.inc
index 51b111731..881f90ae2 100644
--- a/plugins/addons/tasks/class_tasksMail.inc
+++ b/plugins/addons/tasks/class_tasksMail.inc
@@ -28,8 +28,7 @@ class tasksMail extends simplePlugin
     return [
       'plShortName'   => _('Tasks Mail'),
       'plDescription' => _('Tasks Mail Object'),
-      'plIcon'        => 'geticon.php?context=applications&icon=supann&size=48',
-      'plSmallIcon'   => 'geticon.php?context=applications&icon=supann-status&size=16',
+      'plIcon'        => 'geticon.php?context=applications&icon=tasks&size=48',
       'plPriority'    => 42,
       'plObjectClass' => ['fdTasksMail'],
       'plFilter'      => '(objectClass=fdTasksMail)',
diff --git a/plugins/admin/mailtemplate/class_mailTemplateManagement.inc b/plugins/admin/mailtemplate/class_mailTemplateManagement.inc
index f211ee33e..cfbcd572d 100644
--- a/plugins/admin/mailtemplate/class_mailTemplateManagement.inc
+++ b/plugins/admin/mailtemplate/class_mailTemplateManagement.inc
@@ -34,7 +34,7 @@ class mailTemplateManagement extends management
       'plShortName'   => _('Mail Template'),
       'plTitle'       => _('Mail Template'),
       'plDescription' => _('Manages mails templates'),
-      'plIcon'        => 'geticon.php?context=types&icon=user&size=48',
+      'plIcon'        => 'geticon.php?context=applications&icon=mail-template&size=48',
       'plManages'     => ['mailTemplate'],
       'plSection'     => 'conf',
       'plPriority'    => 30,
diff --git a/plugins/admin/tasks/class_tasksDashboard.inc b/plugins/admin/tasks/class_tasksDashboard.inc
index 735a07e88..0b0b0b6dc 100644
--- a/plugins/admin/tasks/class_tasksDashboard.inc
+++ b/plugins/admin/tasks/class_tasksDashboard.inc
@@ -51,7 +51,7 @@ class tasksDashboard extends management
       'plShortName'   => _('Tasks Dashboard'),
       'plDescription' => _('Provide a reporting mechanism for tasks'),
       'plTitle'       => _('Tasks Dashboard'),
-      'plIcon'        => 'geticon.php?context=applications&icon=argonaut&size=48',
+      'plIcon'        => 'geticon.php?context=applications&icon=tasks-dashboard&size=48',
       'plSection'     => ['reporting' => ['name' => _('Reporting'), 'priority' => 40]],
       'plPriority'    => 10,
       'plManages'     => ['tasksGranular'],
diff --git a/plugins/admin/tasks/class_tasksManagement.inc b/plugins/admin/tasks/class_tasksManagement.inc
index 0b95d5ca7..821b34bcb 100644
--- a/plugins/admin/tasks/class_tasksManagement.inc
+++ b/plugins/admin/tasks/class_tasksManagement.inc
@@ -42,7 +42,7 @@ class tasksManagement extends management
       'plShortName'   => _('Tasks'),
       'plDescription' => _('Provide a mechanism to create and manage tasks'),
       'plTitle'       => _('Tasks'),
-      'plIcon'        => 'geticon.php?context=applications&icon=argonaut&size=48',
+      'plIcon'        => 'geticon.php?context=applications&icon=tasks&size=48',
       'plSection'     => 'conf',
       'plPriority'    => 40,
       'plManages'     => ['tasks'],
-- 
GitLab