浏览代码

Nicer page of widget setup

Laurent Destailleur 4 年之前
父节点
当前提交
7e4f7f7200
共有 3 个文件被更改,包括 6 次插入4 次删除
  1. 4 2
      htdocs/admin/boxes.php
  2. 1 1
      htdocs/core/boxes/box_comptes.php
  3. 1 1
      htdocs/core/lib/functions.lib.php

+ 4 - 2
htdocs/admin/boxes.php

@@ -318,7 +318,7 @@ print '<table class="tagtable liste centpercent">'."\n";
 print '<tr class="liste_titre">';
 print '<td>'.$langs->trans("Box").'</td>';
 print '<td>'.$langs->trans("Note").'/'.$langs->trans("Parameters").'</td>';
-print '<td>'.$langs->trans("SourceFile").'</td>';
+print '<td></td>';
 print '<td width="160" class="center">'.$langs->trans("ActivatableOn").'</td>';
 print "</tr>\n";
 
@@ -351,7 +351,9 @@ foreach ($boxtoadd as $box) {
 		print ($box->note ? $box->note : '&nbsp;');
 	}
 	print '</td>'."\n";
-	print '<td class="twoverflowmax200" title="'.dol_escape_htmltag($box->sourcefile).'">'.dol_escape_htmltag($box->sourcefile).'</td>'."\n";
+	print '<td>';
+	print $form->textwithpicto('', $langs->trans("SourceFile").' : '.$box->sourcefile);
+	print '</td>'."\n";
 
 	// For each possible position, an activation link is displayed if the box is not already active for that position
 	print '<td class="center">';

+ 1 - 1
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
 

+ 1 - 1
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',