From 7e4f7f7200c225b4480f6c4478aef3baaea705c2 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Thu, 15 Apr 2021 13:31:40 +0200 Subject: [PATCH] Nicer page of widget setup --- htdocs/admin/boxes.php | 6 ++++-- htdocs/core/boxes/box_comptes.php | 2 +- htdocs/core/lib/functions.lib.php | 2 +- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/htdocs/admin/boxes.php b/htdocs/admin/boxes.php index 8181f0598f2..e8793ca3c30 100644 --- a/htdocs/admin/boxes.php +++ b/htdocs/admin/boxes.php @@ -318,7 +318,7 @@ print ''."\n"; print ''; print ''; print ''; -print ''; +print ''; print ''; print "\n"; @@ -351,7 +351,9 @@ foreach ($boxtoadd as $box) { print ($box->note ? $box->note : ' '); } print ''."\n"; - print ''."\n"; + print ''."\n"; // For each possible position, an activation link is displayed if the box is not already active for that position print '
'.$langs->trans("Box").''.$langs->trans("Note").'/'.$langs->trans("Parameters").''.$langs->trans("SourceFile").''.$langs->trans("ActivatableOn").'
'.dol_escape_htmltag($box->sourcefile).''; + print $form->textwithpicto('', $langs->trans("SourceFile").' : '.$box->sourcefile); + print ''; diff --git a/htdocs/core/boxes/box_comptes.php b/htdocs/core/boxes/box_comptes.php index 1dc2abda558..7166ebb713e 100644 --- a/htdocs/core/boxes/box_comptes.php +++ b/htdocs/core/boxes/box_comptes.php @@ -34,7 +34,7 @@ include_once DOL_DOCUMENT_ROOT.'/compta/bank/class/account.class.php'; class box_comptes extends ModeleBoxes { public $boxcode = "currentaccounts"; - public $boximg = "object_bill"; + public $boximg = "bank_account"; public $boxlabel = "BoxCurrentAccounts"; public $depends = array("banque"); // Box active if module banque active diff --git a/htdocs/core/lib/functions.lib.php b/htdocs/core/lib/functions.lib.php index 7782e7c2a07..c082672c200 100644 --- a/htdocs/core/lib/functions.lib.php +++ b/htdocs/core/lib/functions.lib.php @@ -3517,7 +3517,7 @@ function img_picto($titlealt, $picto, $moreatt = '', $pictoisfullpath = false, $ 'images', 'info', 'intervention', 'inventory', 'intracommreport', 'label', 'language', 'link', 'list', 'listlight', 'loan', 'lot', 'long-arrow-alt-right', 'margin', 'map-marker-alt', 'member', 'meeting', 'money-bill-alt', 'movement', 'mrp', 'note', 'next', - 'object_accounting', 'object_account', 'object_accountline', 'object_action', 'object_asset', 'object_barcode', 'object_bill', 'object_billr', 'object_billa', 'object_billd', 'object_bom', + 'object_accounting', 'object_account', 'object_accountline', 'object_action', 'object_asset', 'object_bank_account', 'object_barcode', 'object_bill', 'object_billr', 'object_billa', 'object_billd', 'object_bom', 'object_category', 'object_conferenceorbooth', 'object_conversation', 'object_bookmark', 'object_bug', 'object_building', 'object_clock', 'object_collab', 'object_dolly', 'object_dollyrevert', 'object_folder', 'object_folder-open','object_generic', 'object_list-alt', 'object_calendar', 'object_calendarweek', 'object_calendarmonth', 'object_calendarday', 'object_calendarperuser',