summaryrefslogtreecommitdiffstats
path: root/post_bug.cgi
diff options
context:
space:
mode:
Diffstat (limited to 'post_bug.cgi')
-rwxr-xr-xpost_bug.cgi11
1 files changed, 6 insertions, 5 deletions
diff --git a/post_bug.cgi b/post_bug.cgi
index a50369592..b727396d0 100755
--- a/post_bug.cgi
+++ b/post_bug.cgi
@@ -57,7 +57,8 @@ confirm_login();
my $comment;
$vars->{'form'} = \%::FORM;
-$template->process("entry/comment.txt.tmpl", $vars, \$comment)
+
+$template->process("bug/create/initial-comment.txt.tmpl", $vars, \$comment)
|| ThrowTemplateError($template->error());
ValidateComment($comment);
@@ -80,8 +81,8 @@ if (defined $::FORM{'maketemplate'}) {
$vars->{'url'} = $::buffer;
print "Content-type: text/html\n\n";
- $template->process("entry/create-template.html.tmpl", $vars)
- || DisplayError("Template process failed: " . $template->error());
+ $template->process("bug/create/make-template.html.tmpl", $vars)
+ || ThrowTemplateError($template->error());
exit;
}
@@ -301,5 +302,5 @@ $vars->{'bug_id'} = $id;
$vars->{'mailresults'} = $mailresults;
print "Content-type: text/html\n\n";
-$template->process("entry/post-bug.html.tmpl", $vars)
- || DisplayError("Template process failed: " . $template->error());
+$template->process("bug/create/created.html.tmpl", $vars)
+ || ThrowTemplateError($template->error());