From 0ee4621e7828a205189368aa9b8a515574d9c030 Mon Sep 17 00:00:00 2001 From: "wurblzap%gmail.com" <> Date: Sun, 20 Aug 2006 00:20:23 +0000 Subject: Bug 224577: Bugzilla could use a web services interface. Patch by Marc Schumann ; r=mkanat; a=myk --- template/en/default/global/code-error.html.tmpl | 19 +++++++++++++++---- 1 file changed, 15 insertions(+), 4 deletions(-) (limited to 'template/en/default/global/code-error.html.tmpl') diff --git a/template/en/default/global/code-error.html.tmpl b/template/en/default/global/code-error.html.tmpl index 0fbc16249..bf91160cf 100644 --- a/template/en/default/global/code-error.html.tmpl +++ b/template/en/default/global/code-error.html.tmpl @@ -104,7 +104,7 @@ Unable to open the chart datafile [% filename FILTER html %]. [% ELSIF error == "chart_lines_not_installed" %] - [% admindocslinks = {'installation.html#install-perlmodules' => 'Installing perl modules necessary for Charting'} %] + [% admindocslinks = {'installation.html#install-perlmodules' => 'Installing Perl modules necessary for Charting'} %] Charts will not work without the Chart::Lines Perl module being installed. Run checksetup.pl for installation instructions. @@ -137,7 +137,7 @@ and [% type FILTER html %] together. [% ELSIF error == "gd_not_installed" %] - [% admindocslinks = {'installation.html#install-perlmodules' => 'Installing perl modules necessary for Charting'} %] + [% admindocslinks = {'installation.html#install-perlmodules' => 'Installing Perl modules necessary for Charting'} %] Charts will not work without the GD Perl module being installed. Run checksetup.pl for installation instructions. @@ -321,6 +321,12 @@ The value "[% value FILTER html %]" is not in the list of legal values for the [% name FILTER html %] setting. + [% ELSIF error == "soap_not_installed" %] + [% admindocslinks = {'installation.html#install-perlmodules' => 'Installing Perl modules'} %] + The XMLRPC interface will not work without the SOAP::Lite Perl module being + installed. + Run checksetup.pl for installation instructions. + [% ELSIF error == "token_generation_error" %] Something is seriously wrong with the token generation system. @@ -347,6 +353,9 @@ I could not figure out what you wanted to do. [% END %] + [% ELSIF error == "usage_mode_invalid" %] + '[% invalid_usage_mode %]' is not a valid usage mode. + [% ELSIF error == "must_be_patch" %] [% title = "Attachment Must Be Patch" %] Attachment #[% attach_id FILTER html %] must be a patch. @@ -383,9 +392,11 @@ [% END %] [% END %] -[%# If we are in batch mode, we want the error message to be plain text, not HTML %] +[%# If we are in ERROR_MODE_DIE, we want the error message to be plain text, + # not HTML +%] [% USE Bugzilla %] -[% IF Bugzilla.batch %] +[% IF Bugzilla.error_mode == ERROR_MODE_DIE %] [% error_message FILTER none %] [% RETURN %] [% END %] -- cgit v1.2.3-24-g4f1b