diff --git a/htdocs/categories/class/categorie.class.php b/htdocs/categories/class/categorie.class.php
index 2137fa76e04..a2dd6c679f3 100644
--- a/htdocs/categories/class/categorie.class.php
+++ b/htdocs/categories/class/categorie.class.php
@@ -1362,9 +1362,10 @@ class Categorie extends CommonObject
* @param string $sep Separator
* @param string $url Url
* @param int $nocolor 0
+ * @param string $addpicto Add picto into link
* @return array
*/
- public function print_all_ways($sep = " >> ", $url = '', $nocolor = 0)
+ public function print_all_ways($sep = ' >> ', $url = '', $nocolor = 0, $addpicto = 0)
{
// phpcs:enable
$ways = array();
@@ -1397,11 +1398,11 @@ class Categorie extends CommonObject
{
$link = '';
$linkend = ' ';
- $w[] = $link.$cat->label.$linkend;
+ $w[] = $link.($addpicto ? img_object('', 'category', 'class="paddingright"') : '').$cat->label.$linkend;
}
else
{
- $w[] = "".$cat->label." ";
+ $w[] = "".($addpicto ? img_object('', 'category') : '').$cat->label." ";
}
}
$newcategwithpath = preg_replace('/toreplace/', $forced_color, implode($sep, $w));
diff --git a/htdocs/categories/index.php b/htdocs/categories/index.php
index 4dfe52dafb6..cff970be7f1 100644
--- a/htdocs/categories/index.php
+++ b/htdocs/categories/index.php
@@ -86,7 +86,7 @@ print '
';
print '';
print ''.$langs->trans("Search").' ';
print ' ';
-print '';
+print ' ';
print $langs->trans("Name").': ';
/*
// faire une rech dans une sous categorie uniquement
diff --git a/htdocs/categories/viewcat.php b/htdocs/categories/viewcat.php
index dd45d7e59fe..f781268311a 100644
--- a/htdocs/categories/viewcat.php
+++ b/htdocs/categories/viewcat.php
@@ -313,7 +313,7 @@ if (! empty($user->rights->categorie->creer))
print '';
-print load_fiche_titre($langs->trans("SubCats"), $newcardbutton);
+print load_fiche_titre($langs->trans("SubCats"), $newcardbutton, 'object_category');
print '
';
@@ -784,7 +784,7 @@ if ($type == Categorie::TYPE_CONTACT)
}
}
-// List of accounts
+// List of bank accounts
if ($type == Categorie::TYPE_ACCOUNT)
{
require_once DOL_DOCUMENT_ROOT.'/compta/bank/class/account.class.php';
@@ -807,7 +807,7 @@ if ($type == Categorie::TYPE_ACCOUNT)
print ' ';
$param = '&limit='.$limit.'&id='.$id.'&type='.$type; $num = count($accounts); $nbtotalofrecords = ''; $newcardbutton = '';
- print_barre_liste($langs->trans("Account"), $page, $_SERVER["PHP_SELF"], $param, $sortfield, $sortorder, $massactionbutton, $num, $nbtotalofrecords, 'bank', 0, $newcardbutton, '', $limit);
+ print_barre_liste($langs->trans("Account"), $page, $_SERVER["PHP_SELF"], $param, $sortfield, $sortorder, $massactionbutton, $num, $nbtotalofrecords, 'bank_account', 0, $newcardbutton, '', $limit);
print "\n";
print ''.$langs->trans("Ref").' '."\n";
diff --git a/htdocs/compta/bank/bankentries_list.php b/htdocs/compta/bank/bankentries_list.php
index 0bf5bbc6ade..fddbcb24c52 100644
--- a/htdocs/compta/bank/bankentries_list.php
+++ b/htdocs/compta/bank/bankentries_list.php
@@ -817,7 +817,7 @@ if ($resql)
$morehtml .= $newcardbutton;
- $picto = 'title_bank';
+ $picto = 'bank_account';
if ($id > 0 || !empty($ref)) $picto = '';
print_barre_liste($langs->trans("BankTransactions"), $page, $_SERVER["PHP_SELF"], $param, $sortfield, $sortorder, $massactionbutton, $num, $nbtotalofrecords, $picto, 0, $morehtml, '', $limit);
diff --git a/htdocs/compta/bank/budget.php b/htdocs/compta/bank/budget.php
index 967227f9e89..a4c57a60fdd 100644
--- a/htdocs/compta/bank/budget.php
+++ b/htdocs/compta/bank/budget.php
@@ -44,7 +44,7 @@ $companystatic=new Societe($db);
llxHeader();
// List movements bu category for bank transactions
-print load_fiche_titre($langs->trans("BankTransactionByCategories"), '', 'title_bank.png');
+print load_fiche_titre($langs->trans("BankTransactionByCategories"), '', 'bank_account');
print '';
print "";
diff --git a/htdocs/compta/bank/card.php b/htdocs/compta/bank/card.php
index b80f050ba08..593893878e0 100644
--- a/htdocs/compta/bank/card.php
+++ b/htdocs/compta/bank/card.php
@@ -321,7 +321,7 @@ if ($action == 'create')
{
$object = new Account($db);
- print load_fiche_titre($langs->trans("NewFinancialAccount"), '', 'title_bank.png');
+ print load_fiche_titre($langs->trans("NewFinancialAccount"), '', 'bank_account');
if ($conf->use_javascript_ajax)
{
@@ -804,7 +804,7 @@ else
$object = new Account($db);
$object->fetch(GETPOST('id', 'int'));
- print load_fiche_titre($langs->trans("EditFinancialAccount"), '', 'title_bank.png');
+ print load_fiche_titre($langs->trans("EditFinancialAccount"), '', 'bank_account');
if ($conf->use_javascript_ajax)
{
diff --git a/htdocs/compta/bank/categ.php b/htdocs/compta/bank/categ.php
index e220df40e42..29701f57c59 100644
--- a/htdocs/compta/bank/categ.php
+++ b/htdocs/compta/bank/categ.php
@@ -79,7 +79,7 @@ if ($categid) {
llxHeader();
-print load_fiche_titre($langs->trans("RubriquesTransactions"));
+print load_fiche_titre($langs->trans("RubriquesTransactions"), '', 'object_category');
print '