--- Comment.pm~ Sat Aug 7 19:25:35 2004 +++ Comment.pm Thu Sep 30 07:46:54 2004 @@ -137,13 +137,17 @@ } } + my $noform = $attrs->remove("noform"); + if ( $input !~ m/^%RED%/o ) { $input =~ s/%DISABLED%/$disable/go; $input =~ s/%MESSAGE%/$message/g; my $n = $$pidx + 0; + unless ($noform eq "on") { $input = "
\n$input"; + } if ( $disable eq "" ) { $input .= "\n"; @@ -167,7 +171,9 @@ "type=\"hidden\" value=\"$$pidx\" />\n"; } } + unless ($noform eq "on") { $input .= "
\n"; + } } $$pidx++; return $input;