mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-12-06 01:28:19 +01:00
Debug v21
This commit is contained in:
@@ -2596,7 +2596,7 @@ function dol_get_fiche_head($links = array(), $active = '', $title = '', $notab
|
||||
// Show tabs
|
||||
// if =0 we don't use the feature
|
||||
if (empty($limittoshow)) {
|
||||
$limittoshow = (!getDolGlobalString('MAIN_MAXTABS_IN_CARD') ? 99 : $conf->global->MAIN_MAXTABS_IN_CARD);
|
||||
$limittoshow = getDolGlobalInt('MAIN_MAXTABS_IN_CARD', 99);
|
||||
}
|
||||
if (!empty($conf->dol_optimize_smallscreen)) {
|
||||
$limittoshow = 2;
|
||||
@@ -2641,7 +2641,7 @@ function dol_get_fiche_head($links = array(), $active = '', $title = '', $notab
|
||||
$out .= '<a'.(!empty($links[$i][2]) ? ' id="'.$links[$i][2].'"' : '').' class="tab inline-block valignmiddle'.($morecss ? ' '.$morecss : '').(!empty($links[$i][5]) ? ' '.$links[$i][5] : '').'" href="'.$links[$i][0].'" title="'.dol_escape_htmltag($titletoshow).'">';
|
||||
}
|
||||
|
||||
if ($displaytab == 0) {
|
||||
if ($displaytab == 0 && $picto) {
|
||||
$out .= img_picto($title, $picto, '', $pictoisfullpath, 0, 0, '', 'imgTabTitle paddingright marginrightonlyshort');
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user