XHTML Bugfixes
This commit is contained in:
parent
3d65ae2158
commit
0a0195fd60
4 changed files with 17 additions and 7 deletions
|
|
@ -96,8 +96,10 @@ Renders an input tag of type password.
|
|||
|
||||
sub toHtml {
|
||||
my $self = shift;
|
||||
return '<input type="password" name="'.$self->{name}.'" value="'.$self->fixQuotes($self->{value}).'" size="'.
|
||||
$self->{size}.'" id="'.$self->{id}.'" maxlength="'.$self->{maxLength}.'" '.$self->{extras}.' />';
|
||||
my $html = '<input type="password" name="'.$self->{name}.'" value="'.$self->fixQuotes($self->{value}).'" size="'.$self->{size}.'" id="'.$self->{id}.'" ';
|
||||
$html .= 'maxlength="'.$self->{maxLength}.'" ' if ($self->{maxLength});
|
||||
$html .= $self->{extras}.' />';
|
||||
return $html;
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue