while($request->Accept() >= 0) {
+ my $cgi = CGI->new;
+
$vars->{"ip"} = $ENV{'REMOTE_ADDR'} || '?';
$vars->{"uri"} = $ENV{'REQUEST_URI'} // '/';
my $method = $ENV{'REQUEST_METHOD'} || '';
$location = $vars->{"uri"};
}
- my $cgi = CGI->new;
-
print $cgi->header(
-Content_Type => 'text/html',
-charset => 'UTF-8',
<div id="title">[% uri %] - [% description %]</div>
<form method="POST">
<table>
+ <tbody>
<tr>
<td>Name</td>
<td>
<textarea name="post" cols="48" rows="4" wrap="soft" tabindex="4"></textarea>
</td>
</tr>
+ </tbody>
</table>
</form>
[% FOREACH thread IN threads %]