';
@@ -197,7 +197,7 @@ print '';
print '| '.$langs->trans("Categories").' | | ';
if (!empty($conf->use_javascript_ajax))
{
- print '';
+ print '';
}
print ' | ';
diff --git a/htdocs/core/lib/functions.lib.php b/htdocs/core/lib/functions.lib.php
index 038f1e4f397..f6279cc992e 100644
--- a/htdocs/core/lib/functions.lib.php
+++ b/htdocs/core/lib/functions.lib.php
@@ -3132,8 +3132,8 @@ function img_picto($titlealt, $picto, $moreatt = '', $pictoisfullpath = false, $
if (empty($srconly) && in_array($pictowithouttext, array(
'1downarrow', '1uparrow', '1leftarrow', '1rightarrow', '1uparrow_selected', '1downarrow_selected', '1leftarrow_selected', '1rightarrow_selected',
- 'address', 'barcode', 'bank', 'bookmark', 'building', 'cash-register', 'check', 'close_title', 'cubes', 'delete', 'dolly', 'edit', 'ellipsis-h',
- 'filter', 'file-code', 'grip', 'grip_title', 'language', 'list', 'listlight', 'note',
+ 'object_accounting', 'object_category', 'address', 'barcode', 'bank', 'bookmark', 'building', 'cash-register', 'check', 'close_title', 'cubes', 'delete', 'dolly', 'edit', 'ellipsis-h',
+ 'filter', 'file-code', 'folder', 'folder-open', 'grip', 'grip_title', 'language', 'list', 'listlight', 'note',
'object_barcode', 'object_phoning', 'object_phoning_fax', 'object_email',
'object_bookmark', 'object_generic', 'object_list', 'object_calendar', 'object_calendarweek', 'object_calendarmonth', 'object_calendarday', 'object_calendarperuser',
'object_cash-register', 'object_printer', 'object_technic',
@@ -3159,6 +3159,7 @@ function img_picto($titlealt, $picto, $moreatt = '', $pictoisfullpath = false, $
$arrayconvpictotofa = array(
'address'=> 'address-book', 'setup'=>'cog', 'companies'=>'building', 'products'=>'cube', 'commercial'=>'suitcase', 'invoicing'=>'coins', 'accountancy'=>'money-check-alt',
+ 'accounting'=>'chart-line', 'category'=>'tag',
'hrm'=>'umbrella-beach', 'members'=>'users', 'ticket'=>'ticket-alt', 'generic'=>'folder-open', 'globe'=>'external-link-alt',
'phoning'=>'phone', 'phoning_fax'=>'fax', 'email'=>'at',
'generic'=>'file',
@@ -3226,6 +3227,10 @@ function img_picto($titlealt, $picto, $moreatt = '', $pictoisfullpath = false, $
$fakey = 'fa-crop';
$facolor = '#444';
}
+ elseif ($pictowithouttext == 'generic') {
+ $fakey = 'fa-file';
+ $fa = 'far';
+ }
elseif ($pictowithouttext == 'note') {
$fakey = 'fa-sticky-note';
$fa = 'far';
diff --git a/htdocs/theme/eldy/info-box.inc.php b/htdocs/theme/eldy/info-box.inc.php
index 0bcfe977871..59cc20d36a0 100644
--- a/htdocs/theme/eldy/info-box.inc.php
+++ b/htdocs/theme/eldy/info-box.inc.php
@@ -76,6 +76,10 @@ if (!defined('ISLOADEDBYSTEELSHEET')) die('Must be call by steelsheet'); ?>
.info-box-icon > img {
max-width: 100%;
}
+.info-box-module .info-box-icon > img {
+ max-width: 70%;
+}
+
.info-box-icon-text{
box-sizing: border-box;
display: block;
diff --git a/htdocs/theme/md/info-box.inc.php b/htdocs/theme/md/info-box.inc.php
index fb011e63e69..16c35052b11 100644
--- a/htdocs/theme/md/info-box.inc.php
+++ b/htdocs/theme/md/info-box.inc.php
@@ -60,6 +60,9 @@ span.info-box-icon-text { /* hide box text number due to problems */
.info-box-icon > img {
max-width: 100%;
}
+.info-box-module .info-box-icon > img {
+ max-width: 70%;
+}
.info-box-content {
padding: 5px 10px;
margin-left: 90px;
|