From 57d04c601fc7c5182652971bf4394fa955514035 Mon Sep 17 00:00:00 2001 From: jfefe Date: Sat, 18 Apr 2015 23:39:04 +0200 Subject: [PATCH] Add title picto for project section --- htdocs/projet/activity/index.php | 2 +- htdocs/projet/activity/perday.php | 2 +- htdocs/projet/activity/perweek.php | 2 +- htdocs/projet/card.php | 2 +- htdocs/projet/index.php | 2 +- htdocs/projet/list.php | 2 +- htdocs/projet/tasks.php | 2 +- htdocs/projet/tasks/index.php | 2 +- htdocs/theme/eldy/img/title_project.png | Bin 0 -> 604 bytes 9 files changed, 8 insertions(+), 8 deletions(-) create mode 100644 htdocs/theme/eldy/img/title_project.png diff --git a/htdocs/projet/activity/index.php b/htdocs/projet/activity/index.php index f98a393e188..845e99e54a0 100644 --- a/htdocs/projet/activity/index.php +++ b/htdocs/projet/activity/index.php @@ -55,7 +55,7 @@ if ($mine) $title=$langs->trans("MyActivities"); llxHeader("",$title); -print_fiche_titre($title); +print_fiche_titre($title, '', 'title_project'); if ($mine) print $langs->trans("MyTasksDesc").'

'; else diff --git a/htdocs/projet/activity/perday.php b/htdocs/projet/activity/perday.php index 1df9359dfa5..0a6c1ae5d2d 100644 --- a/htdocs/projet/activity/perday.php +++ b/htdocs/projet/activity/perday.php @@ -189,7 +189,7 @@ $tasksrole=$taskstatic->getUserRolesForProjectsOrTasks(0,$usertoprocess,($projec llxHeader("",$title,""); -print_barre_liste($title, $page, $_SERVER["PHP_SELF"], "", $sortfield, $sortorder, "", $num); +print_barre_liste($title, $page, $_SERVER["PHP_SELF"], "", $sortfield, $sortorder, "", $num, '', 'title_project'); // Show navigation bar diff --git a/htdocs/projet/activity/perweek.php b/htdocs/projet/activity/perweek.php index 77b65a19c6b..063045f8577 100644 --- a/htdocs/projet/activity/perweek.php +++ b/htdocs/projet/activity/perweek.php @@ -183,7 +183,7 @@ $tasksrole=$taskstatic->getUserRolesForProjectsOrTasks(0,$usertoprocess,($projec llxHeader("",$title,"",'','','',array('/core/js/timesheet.js')); -print_barre_liste($title, $page, $_SERVER["PHP_SELF"], "", $sortfield, $sortorder, "", $num); +print_barre_liste($title, $page, $_SERVER["PHP_SELF"], "", $sortfield, $sortorder, "", $num, '', 'title_project'); // Show navigation bar diff --git a/htdocs/projet/card.php b/htdocs/projet/card.php index 4e5b182ada8..11662545326 100644 --- a/htdocs/projet/card.php +++ b/htdocs/projet/card.php @@ -387,7 +387,7 @@ if ($action == 'create' && $user->rights->projet->creer) $thirdparty=new Societe($db); if ($socid > 0) $thirdparty->fetch($socid); - print_fiche_titre($langs->trans("NewProject")); + print_fiche_titre($langs->trans("NewProject"), '', 'title_project'); print '
'; print ''; diff --git a/htdocs/projet/index.php b/htdocs/projet/index.php index a7f0f957f06..6528b5bfe3e 100644 --- a/htdocs/projet/index.php +++ b/htdocs/projet/index.php @@ -62,7 +62,7 @@ llxHeader("",$langs->trans("Projects"),"EN:Module_Projects|FR:Module_Projets|ES: $text=$langs->trans("Projects"); if ($mine) $text=$langs->trans("MyProjects"); -print_fiche_titre($text); +print_fiche_titre($text,'','title_project.png'); // Show description of content if ($mine) print $langs->trans("MyProjectsDesc").'

'; diff --git a/htdocs/projet/list.php b/htdocs/projet/list.php index 78a5bb1fa2b..ef80873d03e 100644 --- a/htdocs/projet/list.php +++ b/htdocs/projet/list.php @@ -210,7 +210,7 @@ if ($resql) $text=$langs->trans("Projects"); if ($mine) $text=$langs->trans('MyProjects'); - print_barre_liste($text, $page, $_SERVER["PHP_SELF"], "", $sortfield, $sortorder, "", $num); + print_barre_liste($text, $page, $_SERVER["PHP_SELF"], "", $sortfield, $sortorder, "", $num,'','title_project'); print ''; diff --git a/htdocs/projet/tasks.php b/htdocs/projet/tasks.php index e5a1d9da08f..b059b75bdab 100644 --- a/htdocs/projet/tasks.php +++ b/htdocs/projet/tasks.php @@ -265,7 +265,7 @@ if ($action == 'create' && $user->rights->projet->creer && (empty($object->third { if ($id > 0 || ! empty($ref)) print '
'; - print_fiche_titre($langs->trans("NewTask")); + print_fiche_titre($langs->trans("NewTask"), '', 'title_project'); print ''; print ''; diff --git a/htdocs/projet/tasks/index.php b/htdocs/projet/tasks/index.php index 21c6afb49fa..eec483907b0 100644 --- a/htdocs/projet/tasks/index.php +++ b/htdocs/projet/tasks/index.php @@ -78,7 +78,7 @@ if ($id) $projectstatic->societe->fetch($projectstatic->societe->id); } -print_barre_liste($title, $page, $_SERVER["PHP_SELF"], "", $sortfield, $sortorder, "", $num); +print_barre_liste($title, $page, $_SERVER["PHP_SELF"], "", $sortfield, $sortorder, "", $num, '', 'title_project'); // Show description of content if ($mine) print $langs->trans("MyTasksDesc").'

'; diff --git a/htdocs/theme/eldy/img/title_project.png b/htdocs/theme/eldy/img/title_project.png new file mode 100644 index 0000000000000000000000000000000000000000..05d8ea630b88abf9e2bc09ed311fb223e818231c GIT binary patch literal 604 zcmV-i0;BzjP)ezP-!U~Ow#vGqFop8&6bs^RP*@BujQ z5-{xu@D6wjI3t;-T@~mGa05(%dBfRbLz({yFavS}V6Y5;A_9;B^?d{6krJfKP@q&9 zR;GaS{;acm1vpl#Ib~a`{Sqng{a*)BuR|6YFc!pBhx^=JlkgCDqO-mcs0MbVMh$$G z3Rc-_#X4$Jf|m;X1GrG8q0M#SSf4*@4un<#uQffhw!2_Y!7hQH5jo!gy8<|k_&ozA z0{+wluni1@R&$ap1AYO2yoIx+^U~}4p<-PFza@DFJP-T^!9ABL@E&+!^zcC0ebN6D zU|+K!v;_DDoM~ci0tXsgq4fp&F$G4zBLiR~cqgfRGoz(PURnEEP>BJM1HIIn@3ryT ztKjkFh60ON{_CI0-vYn~sEk)!1whj~09*iIm7oAzs$kQW3RLnfj5km=z_wPP4L~j5 zqNM_P1YoxKQYk0bq6C$EOJh?uDNq>m=dTjX3caz0000