mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-02-20 13:46:52 +01:00
NEW - Font param Look and Feel (#29302)
Co-authored-by: Anthony Berton <anthony.berton@bb2a.fr>
This commit is contained in:
parent
f7eb0b9fde
commit
fed71b035c
|
|
@ -8,6 +8,7 @@ English Dolibarr ChangeLog
|
|||
For users:
|
||||
----------
|
||||
NEW: Compatibility with PHP 8.2 (with no need to disable warnings)
|
||||
NEW: Font param Look and Feel THEME_FONT_FAMILY
|
||||
...
|
||||
|
||||
For developers or integrators:
|
||||
|
|
|
|||
|
|
@ -108,8 +108,15 @@ if (getDolGlobalString('MAIN_OVERWRITE_THEME_RES')) {
|
|||
}
|
||||
|
||||
// Define image path files and other constants
|
||||
$fontlist = 'arial,tahoma,verdana,helvetica'; //$fontlist='helvetica, verdana, arial, sans-serif';
|
||||
//$fontlist='"open sans", "Helvetica Neue", Helvetica, Arial, sans-serif;';
|
||||
|
||||
//$fontlist='helvetica, verdana, arial, sans-serif';
|
||||
//$fontlist='"open sans", "Helvetica Neue", Helvetica, Arial, sans-serif';
|
||||
|
||||
$fontlist = 'arial,tahoma,verdana,helvetica';
|
||||
if (getDolGlobalString('THEME_FONT_FAMILY')) {
|
||||
$fontlist = getDolGlobalString('THEME_FONT_FAMILY').', '.$fontlist;
|
||||
}
|
||||
|
||||
$img_head = '';
|
||||
$img_button = dol_buildpath($path.'/theme/'.$theme.'/img/button_bg.png', 1);
|
||||
$dol_hide_topmenu = $conf->dol_hide_topmenu;
|
||||
|
|
|
|||
|
|
@ -112,6 +112,10 @@ if (getDolGlobalString('MAIN_OVERWRITE_THEME_RES')) {
|
|||
|
||||
// Define image path files and other constants
|
||||
$fontlist = 'roboto,arial,tahoma,verdana,helvetica'; //$fontlist='verdana,helvetica,arial,sans-serif';
|
||||
if (getDolGlobalString('THEME_FONT_FAMILY')) {
|
||||
$fontlist = getDolGlobalString('THEME_FONT_FAMILY').', '.$fontlist;
|
||||
}
|
||||
|
||||
$img_head = '';
|
||||
$img_button = dol_buildpath($path.'/theme/'.$theme.'/img/button_bg.png', 1);
|
||||
$dol_hide_topmenu = $conf->dol_hide_topmenu;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user