/** * @param string $label_name text contained into the label * @param string $id the id of the element * @param string $name the name of the element * @param string $maxlenght the max number of characters * @param string $alt_name the alt name for the field * @param string $other_after optional html code added after the input element * @param string $other_before optional html code added before the label element * @return string with the html code for the input type="text" element */ public static function getPassword($label_name, $id, $name, $maxlenght, $alt_name = '', $other_after = '', $other_before = '', $value = '') { if ($alt_name == '') { $alt_name = strip_tags($label_name); } return Form::getLinePassword('form_line_l', 'floating', $label_name, 'textfield', $id, $name, $alt_name, $maxlenght, '', $other_after, $other_before, $value); }