diff options
author | Byron Jones <bjones@mozilla.com> | 2011-05-24 09:32:23 +0200 |
---|---|---|
committer | Byron Jones <bjones@mozilla.com> | 2011-05-24 09:32:23 +0200 |
commit | cf2298c98a9aca3b5fe79d5af4085d631aee200e (patch) | |
tree | bdee9ccbb04fc01a21055efe96be857b26dc9015 | |
parent | df2d2daab9a4c9e6675abbef2eadc6123b4d5e82 (diff) | |
download | bugzilla-cf2298c98a9aca3b5fe79d5af4085d631aee200e.tar.gz bugzilla-cf2298c98a9aca3b5fe79d5af4085d631aee200e.tar.xz |
Bug 655210: Allows custom bug creation formats to specify a "created" format
r=dkl, a=LpSolit
-rwxr-xr-x | post_bug.cgi | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/post_bug.cgi b/post_bug.cgi index 734b5978d..e6b77f8ea 100755 --- a/post_bug.cgi +++ b/post_bug.cgi @@ -256,8 +256,11 @@ foreach my $dep (@{$bug->dependson || []}, @{$bug->blocked || []}) { } $vars->{sentmail} = \@all_mail_results; +$format = $template->get_format("bug/create/created", + scalar($cgi->param('created-format')), + "html"); print $cgi->header(); -$template->process("bug/create/created.html.tmpl", $vars) +$template->process($format->{'template'}, $vars) || ThrowTemplateError($template->error()); 1; |