Merge commit '4635b91554' into WebGUI8. Syntax clean up to 7.10.2
This commit is contained in:
commit
87326192a3
46 changed files with 956 additions and 969 deletions
|
|
@ -163,16 +163,9 @@ Renders an input tag of type text.
|
|||
sub toHtml {
|
||||
my $self = shift;
|
||||
my $value = $self->fixMacros($self->fixTags($self->fixSpecialCharacters(scalar $self->getOriginalValue)));
|
||||
my $width = $self->get('width') || '100%';
|
||||
if ( $width !~ /%|px/ ) {
|
||||
$width .= 'px';
|
||||
}
|
||||
my $height = $self->get('height') || '100%';
|
||||
if ( $height !~ /%|px/ ) {
|
||||
$height .= 'px';
|
||||
}
|
||||
my ($style, $url, $stow) = $self->session->quick(qw(style url stow));
|
||||
my $sizeStyle = ' width: ' . $width . '; height: ' . $height . ';';
|
||||
my $width = $self->get('width') || 400;
|
||||
my $height = $self->get('height') || 150;
|
||||
my $sizeStyle = ' width: ' . $width . 'px; height: ' . $height . 'px;';
|
||||
my $out
|
||||
= '<textarea id="' . $self->get('id') . '"'
|
||||
. ' name="' . $self->get("name") . '"'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue