Ajout d'onglets additionels si definit dans l'objet
This commit is contained in:
parent
8292b511b9
commit
b932fc7845
@ -123,7 +123,19 @@ function product_prepare_head($product, $user)
|
|||||||
$h++;
|
$h++;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Onglets additionnels pour les canvas
|
||||||
|
*/
|
||||||
|
if(is_array($product->onglets))
|
||||||
|
{
|
||||||
|
foreach ($product->onglets as $onglet)
|
||||||
|
{
|
||||||
|
$head[$h] = $onglet;
|
||||||
|
$h++;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
return $head;
|
return $head;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user