diff options
author | gerv%gerv.net <> | 2002-04-24 14:24:43 +0000 |
---|---|---|
committer | gerv%gerv.net <> | 2002-04-24 14:24:43 +0000 |
commit | 05d101e58b400b1a52adcc86515b5442b85cd2f5 (patch) | |
tree | ded36788873d147ce2a62bd76239e0e99974c621 /describecomponents.cgi | |
parent | Bug 138582 - convert all INCLUDEs to PROCESS. Patch by gerv, r=bbaetz, afranke. (diff) | |
download | bugzilla-05d101e58b400b1a52adcc86515b5442b85cd2f5.tar.gz bugzilla-05d101e58b400b1a52adcc86515b5442b85cd2f5.tar.bz2 bugzilla-05d101e58b400b1a52adcc86515b5442b85cd2f5.zip |
Bug 138588 - change to use new template structure. Patch by gerv, r=myk, afranke.
Diffstat (limited to 'describecomponents.cgi')
-rwxr-xr-x | describecomponents.cgi | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/describecomponents.cgi b/describecomponents.cgi index 57eef27cf..8d2c219f4 100755 --- a/describecomponents.cgi +++ b/describecomponents.cgi @@ -67,8 +67,8 @@ if (!defined $::FORM{'product'}) { "Please specify the product whose components you want described."; print "Content-type: text/html\n\n"; - $::template->process("global/choose_product.tmpl", $::vars) - || DisplayError("Template process failed: " . $::template->error()); + $::template->process("global/choose-product.html.tmpl", $::vars) + || ThrowTemplateError($::template->error()); exit; } @@ -123,6 +123,6 @@ $::vars->{'product'} = $product; $::vars->{'components'} = \@components; print "Content-type: text/html\n\n"; -$::template->process("info/describe-components.tmpl", $::vars) - || DisplayError("Template process failed: " . $::template->error()); +$::template->process("reports/components.html.tmpl", $::vars) + || ThrowTemplateError($::template->error()); |