2011-04-05 14:11:19 +00:00
|
|
|
<?php
|
|
|
|
function selectInTab($tab, $labelConfig)
|
|
|
|
{
|
|
|
|
static $title;
|
|
|
|
|
|
|
|
foreach($tab as $champ => $valeur)
|
|
|
|
{
|
|
|
|
if(!is_object($valeur)){
|
|
|
|
echo '<tr>';
|
|
|
|
echo '<td width="30"></td>';
|
|
|
|
echo '<td width="200" valign="top"><b>'.SelectTrueLabel($labelConfig, $champ).'</b></td>';
|
|
|
|
echo '<td width="350">'.$valeur.'</td>';
|
|
|
|
echo '</tr>';
|
|
|
|
} else {
|
|
|
|
echo '<tr>';
|
|
|
|
echo '<td colspan="3" id="categorieIdentite"><b>'.SelectTrueLabel($labelConfig, $champ).'</b></td>';
|
|
|
|
echo '</tr>';
|
|
|
|
$title = true;
|
|
|
|
selectInTab($valeur, $labelConfig);
|
|
|
|
}}
|
|
|
|
}
|
|
|
|
?>
|
2011-04-06 14:18:39 +00:00
|
|
|
|
2011-04-05 14:11:19 +00:00
|
|
|
<table>
|
|
|
|
<?php selectInTab($this->identitePart1, $this->labelConfig['Section_rapportIdentitie']);?>
|
|
|
|
</table>
|
|
|
|
<h2><?php echo SelectTrueLabel($this->labelConfig['Section_rapportIdentitie'], 'RaisonSociale')?></h2>
|
|
|
|
<table>
|
|
|
|
<?php selectInTab($this->identitePart2, $this->labelConfig['Section_rapportIdentitie']);?>
|
|
|
|
</table>
|
|
|
|
<h2><?php echo SelectTrueLabel($this->labelConfig['Section_rapportIdentitie'], 'ActiviteEtChiffre')?></h2>
|
|
|
|
<table>
|
|
|
|
<?php selectInTab($this->identitePart3, $this->labelConfig['Section_rapportIdentitie']);?>
|
|
|
|
</table>
|