From a6bc2182809da4ffaa4c94f0f83e71753d44f732 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Sun, 28 Feb 2021 21:34:27 +0100 Subject: [PATCH] Look and feel v14 --- htdocs/core/tpl/list_print_total.tpl.php | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/htdocs/core/tpl/list_print_total.tpl.php b/htdocs/core/tpl/list_print_total.tpl.php index 80baabf8a1e..d7252f891ae 100644 --- a/htdocs/core/tpl/list_print_total.tpl.php +++ b/htdocs/core/tpl/list_print_total.tpl.php @@ -17,9 +17,15 @@ if (isset($totalarray['pos'])) { } else { if ($i == 1) { if ($num < $limit) { - print ''.$langs->trans("Total").''; + print ''.$langs->trans("Total").''; } else { - print ''.$langs->trans("Totalforthispage").''; + print ''; + if (is_object($form)) { + print $form->textwithpicto($langs->trans("Total"), $langs->transnoentitiesnoconv("Totalforthispage")); + } else { + print $langs->trans("Totalforthispage"); + } + print ''; } } else { print '';