Subversion Repositories Applications.bazar

Rev

Rev 430 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 430 Rev 468
Line 44... Line 44...
44
	
44
	
45
	function toHTML($valeur) {
45
	function toHTML($valeur) {
46
		$html = '';
46
		$html = '';
47
		$val = $this->options['nom_bdd'];
47
		$val = $this->options['nom_bdd'];
48
		// On ecrit le label uniquement si le champs obligatoire est a 1
-
 
49
		if ($this->options['obligatoire'] == 1) {
48
		// On ecrit le label uniquement si le champs obligatoire est a 1
50
		    $html .= '<div class="BAZ_label BAZ_rubrique_'.$GLOBALS['_BAZAR_']['class'].'">'.
49
		if ($this->options['obligatoire'] == 1) $res .= '<div class="BAZ_label BAZ_rubrique_'.$GLOBALS['_BAZAR_']['class'].'">'.
51
                        $this->options['label'].'</div>'."\n";
-
 
Line 52... Line 50...
52
		} 
50
						$this->options['label'].'</div>'."\n";
53
 
51
 
54
		return $html;
52
		return $html;
Line 55... Line 53...
55
	}
53
	}
56
}
54
}
57
 
55
 
-
 
56
/* +--Fin du code ----------------------------------------------------------------------------------------+
-
 
57
*
-
 
58
* $Log: labelhtml.php,v $
58
/* +--Fin du code ----------------------------------------------------------------------------------------+
59
* Revision 1.2  2008-09-17 14:18:12  alexandre_tb
59
*
60
* fusion avec aha
60
* $Log: not supported by cvs2svn $
61
*
61
* Revision 1.1.2.1  2008-04-16 12:35:25  alexandre_tb
62
* Revision 1.1.2.1  2008-04-16 12:35:25  alexandre_tb
62
* version initiale
63
* version initiale