diff --git a/htdocs/core/lib/functions.lib.php b/htdocs/core/lib/functions.lib.php index 96c892fbe2c..a73a107c0dc 100644 --- a/htdocs/core/lib/functions.lib.php +++ b/htdocs/core/lib/functions.lib.php @@ -3153,11 +3153,11 @@ function img_picto($titlealt, $picto, $moreatt = '', $pictoisfullpath = false, $ //if (in_array($picto, array('switch_off', 'switch_on', 'off', 'on'))) if (empty($srconly) && in_array($pictowithoutext, array( 'bank', 'close_title', 'delete', 'edit', 'ellipsis-h', 'filter', 'grip', 'grip_title', 'off', 'on', 'play', 'playdisabled', 'printer', 'resize', - 'switch_off', 'switch_on', 'unlink', 'uparrow') + 'switch_off', 'switch_on', 'unlink', 'uparrow', '1downarrow', '1uparrow') )) { $fakey = $pictowithoutext; - $facolor = ''; - $fasize = ''; + $facolor = ''; $fasize = ''; + $marginleftonlyshort = 0; if ($pictowithoutext == 'switch_off') { $fakey = 'fa-toggle-off'; $facolor = '#999'; @@ -3210,6 +3210,14 @@ function img_picto($titlealt, $picto, $moreatt = '', $pictoisfullpath = false, $ $fakey = 'fa-mail-forward'; $facolor = '#555'; } + elseif ($pictowithoutext == '1uparrow') { + $fakey = 'fa-caret-up'; + $marginleftonlyshort = 1; + } + elseif ($pictowithoutext == '1downarrow') { + $fakey = 'fa-caret-down'; + $marginleftonlyshort = 1; + } elseif ($pictowithoutext == 'unlink') { $fakey = 'fa-chain-broken'; $facolor = '#555'; @@ -3226,7 +3234,7 @@ function img_picto($titlealt, $picto, $moreatt = '', $pictoisfullpath = false, $ if (preg_match('/class="([^"]+)"/', $moreatt, $reg)) { $morecss.= ($morecss?' ':'').$reg[1]; } - $enabledisablehtml = ''; + $enabledisablehtml = ''; if (! empty($conf->global->MAIN_OPTIMIZEFORTEXTBROWSER)) { $enabledisablehtml.= $titlealt; } diff --git a/htdocs/core/tpl/admin_extrafields_view.tpl.php b/htdocs/core/tpl/admin_extrafields_view.tpl.php index ebe7a49877d..2672e593820 100644 --- a/htdocs/core/tpl/admin_extrafields_view.tpl.php +++ b/htdocs/core/tpl/admin_extrafields_view.tpl.php @@ -50,7 +50,9 @@ print ''; print ''; print ''; print ''; print ''; diff --git a/htdocs/install/check.php b/htdocs/install/check.php index a5913f9304f..f220978e4db 100644 --- a/htdocs/install/check.php +++ b/htdocs/install/check.php @@ -555,7 +555,7 @@ else if (count($notavailable_choices)) { print '
'; - print ' '.$langs->trans('ShowNotAvailableOptions').''; + print ''; print '
'; print '
'.$langs->trans("Position"); -print ''; +print ''; +print img_picto('A-Z', '1downarrow.png'); +print ''; print ''.$langs->trans("LabelOrTranslationKey").''.$langs->trans("TranslationString").'