*/
class LSformElement_text 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";
echo "\t\t\t\n";
echo "\t\t | \n";
}
else {
echo "\t\t\n";
echo "\t\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\t \n";
echo "\t\t | \n";
}
echo "\t
\n";
}
}
?>