*/
class LSformElement_textarea extends LSformElement {
/*
* Affiche l'élément
*
* Cette méthode affiche l'élement
*
* @retval void
*/
function display(){
echo "\t
\n";
$this -> displayLabel();
// value
if (!$this -> isFreeze()) {
echo "\t\t\n";
if (empty($this -> values)) {
echo "\t\t\t\n";
}
else {
foreach($this -> values as $value) {
echo "\t\t\t\n";
}
}
echo "\t\t | \n";
}
else {
echo "\t\t\n";
if (empty($this -> values)) {
echo "\t\t\t\t"._('Aucunes valeur definie')."\n";
}
else {
foreach ($this -> values as $value) {
echo "\t\t\t\t".$value."\n";
}
}
echo "\t\t | \n";
}
echo "\t
\n";
}
}
?>