";
push @out, qq{};
push @out, qq{};
push @out, "$ref->{page}";
my $extra = qq{onChange="this.form.dopage$i.checked = true"};
push @out, " | ";
push @out, $Tag->display({
name => "settor$i",
type => 'select',
passed => $settor_passed,
value => $ref->{settor},
js => $extra,
});
push @out, " | ";
my $w;
my $h;
my $wid;
if($ref->{current} =~ /[\r\n]/) {
$w = 60;
$h = 3;
$wid = 'textarea';
}
else {
$w = 60;
$wid = 'text';
}
push @out, $Tag->display({
name => "value$i",
type => $wid,
height => $h,
width => $w,
value => $ref->{current},
extra => $extra,
});
push @out, " |
";
}
## Put the global settors
push @out, "Apply this to all";
push @out, " | ";
push @out, $Tag->display({
name => "allsettor",
type => 'select',
passed => $settor_passed,
});
push @out, " | ";
push @out, $Tag->display({
name => "allvalue",
type => 'text',
width => 60,
});
push @out, qq{};
push @out, qq{};
push @out, " |
";
$CGI->{change_button} = 1;
return join "", @out;
[/calc]
[if cgi change_button]