forked from Wavyzz/dolibarr
Merge pull request #11685 from ptibogxiv/patch-224
FIX for MAIN_MAXTABS_IN_CARD = $i card
This commit is contained in:
@@ -1147,7 +1147,7 @@ function dol_get_fiche_head($links = array(), $active = '', $title = '', $notab
|
|||||||
$isactive=false;
|
$isactive=false;
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($i < $limittoshow || $isactive)
|
if ($i <= $limittoshow || $isactive)
|
||||||
{
|
{
|
||||||
$out.='<div class="inline-block tabsElem'.($isactive ? ' tabsElemActive' : '').((! $isactive && ! empty($conf->global->MAIN_HIDE_INACTIVETAB_ON_PRINT))?' hideonprint':'').'"><!-- id tab = '.(empty($links[$i][2])?'':$links[$i][2]).' -->';
|
$out.='<div class="inline-block tabsElem'.($isactive ? ' tabsElemActive' : '').((! $isactive && ! empty($conf->global->MAIN_HIDE_INACTIVETAB_ON_PRINT))?' hideonprint':'').'"><!-- id tab = '.(empty($links[$i][2])?'':$links[$i][2]).' -->';
|
||||||
if (isset($links[$i][2]) && $links[$i][2] == 'image')
|
if (isset($links[$i][2]) && $links[$i][2] == 'image')
|
||||||
|
|||||||
Reference in New Issue
Block a user