/trunk/bibliotheque/elements/labelhtml.php |
---|
46,8 → 46,10 |
$html = ''; |
$val = $this->options['nom_bdd']; |
// On ecrit le label uniquement si le champs obligatoire est a 1 |
if ($this->options['obligatoire'] == 1) $res .= '<div class="BAZ_label BAZ_rubrique_'.$GLOBALS['_BAZAR_']['class'].'">'. |
if ($this->options['obligatoire'] == 1) { |
$html .= '<div class="BAZ_label BAZ_rubrique_'.$GLOBALS['_BAZAR_']['class'].'">'. |
$this->options['label'].'</div>'."\n"; |
} |
return $html; |
} |