31,003
edits
| Line 180: | Line 180: | ||
<source lang="php"> | <source lang="php"> | ||
dol_fiche_head($links, $active='0', $title='', $notab=0, $picto='') | dol_fiche_head($links, $active='0', $title='', $notab=0, $picto='') | ||
$links // Tableau des onglets, appelé $head plus haut. | //$links // Tableau des onglets, appelé $head plus haut. | ||
$active // Onglet actif (mettre le nom de l'onglet défini dans votre fichier de module, ou un nom contenu dans $head[$h][2]). Cet onglet sera mis en surbrillance | //$active // Onglet actif (mettre le nom de l'onglet défini dans votre fichier de module, ou un nom contenu dans $head[$h][2]). Cet onglet sera mis en surbrillance | ||
$title // | //$title // Title to show (shown into a special tab that you can't click) | ||
$notab | //$notab | ||
$picto // | //$picto // Name of image to show into title. Possible values are: | ||
// product | // product | ||
// service | // service | ||
| Line 190: | Line 190: | ||
</source> | </source> | ||
This function will show required tabs and open an html element ''< div class="" >'' that correspond to the area under the tabs. To close area of a tab, just use ''< /div >'' into your PHP page. | |||
= [[File:Art.png]] Create your own PHP screens (optional) = | = [[File:Art.png]] Create your own PHP screens (optional) = | ||