Merge pull request #10552 from ATM-Nicolas/fix_default_fontawesome_signout_icon

FIX : Default sign out icon if not using Font Awesome 5
This commit is contained in:
Laurent Destailleur 2019-02-12 13:12:58 +01:00 committed by GitHub
commit 1c3520d040
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3056,6 +3056,7 @@ function img_picto($titlealt, $picto, $moreatt = '', $pictoisfullpath = false, $
$marginleftonlyshort = 1;
}
elseif ($pictowithoutext == 'sign-out') {
$fakey = 'fa-sign-out';
$marginleftonlyshort=0;
if (! empty($conf->global->MAIN_USE_FONT_AWESOME_5)) $fakey = 'fa-sign-out-alt';
}