New: Add option MAXTABS_IN_CARD to limit number of visible tabs.
This commit is contained in:
parent
4a3e4d6ec9
commit
3bdf8864a9
@ -688,7 +688,7 @@ function dol_get_fiche_head($links=array(), $active='0', $title='', $notab=0, $p
|
|||||||
// Show tabs
|
// Show tabs
|
||||||
$bactive=false;
|
$bactive=false;
|
||||||
// if =0 we don't use the feature
|
// if =0 we don't use the feature
|
||||||
$limittoshow=($conf->global->MAXTABS_IN_CARD?$conf->global->MAXTABS_IN_CARD:99);
|
$limittoshow=($conf->global->MAIN_MAXTABS_IN_CARD?$conf->global->MAIN_MAXTABS_IN_CARD:99);
|
||||||
$displaytab=0;
|
$displaytab=0;
|
||||||
|
|
||||||
for ($i = 0 ; $i <= $maxkey ; $i++)
|
for ($i = 0 ; $i <= $maxkey ; $i++)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user