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 /sidebar.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 'sidebar.cgi')
-rwxr-xr-x | sidebar.cgi | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/sidebar.cgi b/sidebar.cgi index 385086b5b..2f1b92a69 100755 --- a/sidebar.cgi +++ b/sidebar.cgi @@ -73,9 +73,8 @@ my $useragent = $ENV{HTTP_USER_AGENT}; if ($useragent =~ m:Mozilla/([1-9][0-9]*):i && $1 >= 5 && $useragent !~ m/compatible/i) { print "Content-type: application/vnd.mozilla.xul+xml\n\n"; # Generate and return the XUL from the appropriate template. - $template->process("sidebar/xul.tmpl", $vars) - || DisplayError("Template process failed: " . $template->error()) - && exit; + $template->process("sidebar.xul.tmpl", $vars) + || ThrowTemplateError($template->error()); } else { DisplayError("sidebar.cgi currently only supports Mozilla based web browsers"); exit; |