diff --git a/htdocs/core/lib/functions.lib.php b/htdocs/core/lib/functions.lib.php index 4b2644d33d8..c98df1da5e6 100644 --- a/htdocs/core/lib/functions.lib.php +++ b/htdocs/core/lib/functions.lib.php @@ -1705,7 +1705,7 @@ function img_picto_common($alt, $picto, $options='', $pictoisfullpath=0) global $conf; if (! preg_match('/(\.png|\.gif)$/i',$picto)) $picto.='.png'; if ($pictoisfullpath) return ''.dol_escape_htmltag($alt).''; - if (! empty($conf->global->MAIN_MODULE_CAN_OVERWRITE_COMMONICONS) && file_exists(DOL_DOCUMENT_ROOT.'/theme/'.$conf->theme.'/'.$picto)) return ''.dol_escape_htmltag($alt).''; + if (! empty($conf->global->MAIN_MODULE_CAN_OVERWRITE_COMMONICONS) && file_exists(DOL_DOCUMENT_ROOT.'/theme/'.$conf->theme.'/img/'.$picto)) return ''.dol_escape_htmltag($alt).''; return ''.dol_escape_htmltag($alt).''; } diff --git a/htdocs/main.inc.php b/htdocs/main.inc.php index a3bfc1f222f..309b93c9984 100644 --- a/htdocs/main.inc.php +++ b/htdocs/main.inc.php @@ -1446,7 +1446,7 @@ function left_menu($menu_array_before, $helppagename='', $moresearchform='', $me print '" href="'; print sprintf($helpbaseurl,urlencode(html_entity_decode($helppage))); print '">'; - print img_picto('',DOL_URL_ROOT.'/theme/common/helpdoc.png','',1).' '; + print img_picto('', 'helpdoc').' '; print $langs->trans($mode == 'wiki' ? 'OnlineHelp': 'Help'); //if ($mode == 'wiki') print ' ('.dol_trunc(strtr($helppage,'_',' '),8).')'; print ''; diff --git a/htdocs/theme/common/helpdoc.png b/htdocs/theme/auguria/img/helpdoc.png similarity index 100% rename from htdocs/theme/common/helpdoc.png rename to htdocs/theme/auguria/img/helpdoc.png diff --git a/htdocs/theme/bureau2crea/img/helpdoc.png b/htdocs/theme/bureau2crea/img/helpdoc.png new file mode 100644 index 00000000000..8cd950e7be1 Binary files /dev/null and b/htdocs/theme/bureau2crea/img/helpdoc.png differ diff --git a/htdocs/theme/cameleo/img/helpdoc.png b/htdocs/theme/cameleo/img/helpdoc.png new file mode 100644 index 00000000000..8cd950e7be1 Binary files /dev/null and b/htdocs/theme/cameleo/img/helpdoc.png differ diff --git a/htdocs/theme/eldy/img/helpdoc.png b/htdocs/theme/eldy/img/helpdoc.png new file mode 100644 index 00000000000..8cd950e7be1 Binary files /dev/null and b/htdocs/theme/eldy/img/helpdoc.png differ