Fixed balance of td introduced by MAX_TAB option.
This commit is contained in:
parent
e10b5637d4
commit
a2c9d5bd4a
@ -659,7 +659,7 @@ function dol_fiche_head($links=array(), $active='0', $title='', $notab=0, $picto
|
|||||||
*/
|
*/
|
||||||
function dol_get_fiche_head($links=array(), $active='0', $title='', $notab=0, $picto='', $pictoisfullpath=0)
|
function dol_get_fiche_head($links=array(), $active='0', $title='', $notab=0, $picto='', $pictoisfullpath=0)
|
||||||
{
|
{
|
||||||
global $conf;
|
global $conf,$langs;
|
||||||
|
|
||||||
$out="\n".'<div class="tabs" data-role="controlgroup" data-type="horizontal">'."\n";
|
$out="\n".'<div class="tabs" data-role="controlgroup" data-type="horizontal">'."\n";
|
||||||
|
|
||||||
@ -749,8 +749,6 @@ function dol_get_fiche_head($links=array(), $active='0', $title='', $notab=0, $p
|
|||||||
$displaytab=$i;
|
$displaytab=$i;
|
||||||
}
|
}
|
||||||
|
|
||||||
$out.="</div>\n";
|
|
||||||
|
|
||||||
if ($displaytab > $limittoshow)
|
if ($displaytab > $limittoshow)
|
||||||
{
|
{
|
||||||
$out.='<div id="moretabs" class="inline-block tabsElem">';
|
$out.='<div id="moretabs" class="inline-block tabsElem">';
|
||||||
@ -764,6 +762,8 @@ function dol_get_fiche_head($links=array(), $active='0', $title='', $notab=0, $p
|
|||||||
$out.="</script>";
|
$out.="</script>";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$out.="</div>\n";
|
||||||
|
|
||||||
if (! $notab) $out.="\n".'<div class="tabBar">'."\n";
|
if (! $notab) $out.="\n".'<div class="tabBar">'."\n";
|
||||||
|
|
||||||
return $out;
|
return $out;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user