diff --git a/inc/ajax.class.php b/inc/ajax.class.php index 54798f3d2e2..6a021f01179 100644 --- a/inc/ajax.class.php +++ b/inc/ajax.class.php @@ -290,8 +290,10 @@ static function createTabs($tabdiv_id='tabspanel', $tabdivcontent_id='tabcontent $rand = mt_rand(); if (count($tabs) > 0) { - - echo "
"; + echo "
"; + if (in_array($_SESSION['glpilayout'], array('classic', 'vsplit'))) { + $orientation = 'horizontal'; + } echo "