From a86ee3a1ca5213d5401c6425cfb0fcfc7bb15e78 Mon Sep 17 00:00:00 2001 From: "mkanat%bugzilla.org" <> Date: Tue, 31 Mar 2009 06:37:53 +0000 Subject: Bug 432907: Create a JSON frontend for WebServices Patch by Max Kanat-Alexander r=dkl, a=mkanat --- template/en/default/global/code-error.html.tmpl | 7 +++++++ template/en/default/global/user-error.html.tmpl | 4 ++++ 2 files changed, 11 insertions(+) (limited to 'template') diff --git a/template/en/default/global/code-error.html.tmpl b/template/en/default/global/code-error.html.tmpl index da8f902d4..9d182d25f 100644 --- a/template/en/default/global/code-error.html.tmpl +++ b/template/en/default/global/code-error.html.tmpl @@ -292,6 +292,13 @@ the job "[% job FILTER html %]". You need to add this job type to the JOB_MAP constant in Bugzilla::JobQueue. + [% ELSIF error == "json_rpc_not_installed" %] + [% admindocslinks = { 'installation.html#install-perlmodules' + => 'Installing Perl modules' } %] + The JSON-RPC interface will not work without the JSON::RPC + Perl module being installed. Run checksetup.pl for + installation instructions. + [% ELSIF error == "ldap_bind_failed" %] Failed to bind to the LDAP server. The error message was: [% errstr FILTER html %] diff --git a/template/en/default/global/user-error.html.tmpl b/template/en/default/global/user-error.html.tmpl index 58be9ea73..338088178 100644 --- a/template/en/default/global/user-error.html.tmpl +++ b/template/en/default/global/user-error.html.tmpl @@ -949,6 +949,10 @@ [% title = "Invalid Username Or Password" %] The username or password you entered is not valid. + [% ELSIF error == "json_rpc_post_only" %] + For security reasons, you may only use JSON-RPC with the POST + HTTP method. + [% ELSIF error == "keyword_already_exists" %] [% title = "Keyword Already Exists" %] A keyword with the name [% name FILTER html %] already exists. -- cgit v1.2.3-24-g4f1b