From 3078bf97cf44970987a7c1a2e17864d6e01096af Mon Sep 17 00:00:00 2001 From: Garry Collum Date: Tue, 2 Feb 2010 17:21:38 -0500 Subject: [PATCH] Bug 4098: Fixes missing error templates. Adds the missing 402.tmpl. Fixes the

element in 400, 401, 403, and 500, all of which displayed 404. Signed-off-by: Galen Charlton --- .../opac-tmpl/prog/en/modules/errors/400.tmpl | 2 +- .../opac-tmpl/prog/en/modules/errors/401.tmpl | 2 +- .../opac-tmpl/prog/en/modules/errors/402.tmpl | 29 +++++++++++++++++++ .../opac-tmpl/prog/en/modules/errors/403.tmpl | 2 +- .../opac-tmpl/prog/en/modules/errors/500.tmpl | 2 +- 5 files changed, 33 insertions(+), 4 deletions(-) create mode 100644 koha-tmpl/opac-tmpl/prog/en/modules/errors/402.tmpl diff --git a/koha-tmpl/opac-tmpl/prog/en/modules/errors/400.tmpl b/koha-tmpl/opac-tmpl/prog/en/modules/errors/400.tmpl index b4a0c90d48..49fd9e663b 100644 --- a/koha-tmpl/opac-tmpl/prog/en/modules/errors/400.tmpl +++ b/koha-tmpl/opac-tmpl/prog/en/modules/errors/400.tmpl @@ -10,7 +10,7 @@

An Error has Occurred

-

Error 404

+

Error 400

  • This error means that the Koha is pointed an invalid link.
  • To report this error, you can diff --git a/koha-tmpl/opac-tmpl/prog/en/modules/errors/401.tmpl b/koha-tmpl/opac-tmpl/prog/en/modules/errors/401.tmpl index 7d70c01279..73ed72b0af 100644 --- a/koha-tmpl/opac-tmpl/prog/en/modules/errors/401.tmpl +++ b/koha-tmpl/opac-tmpl/prog/en/modules/errors/401.tmpl @@ -10,7 +10,7 @@

    An Error has Occurred

    -

    Error 404

    +

    Error 401

    • This error means that the you are trying to access a link that you're not authorized to see.
    • Try logging in to the catalog
    • diff --git a/koha-tmpl/opac-tmpl/prog/en/modules/errors/402.tmpl b/koha-tmpl/opac-tmpl/prog/en/modules/errors/402.tmpl new file mode 100644 index 0000000000..13eb795c3d --- /dev/null +++ b/koha-tmpl/opac-tmpl/prog/en/modules/errors/402.tmpl @@ -0,0 +1,29 @@ +Koha Online Catalog › An Error Has Occurred + + + + + + +
      +
      +
      +
      +

      An Error has Occurred

      +

      Error 402

      +
        +
      • This error means that the Koha is pointed an invalid link.
      • +
      • To report this error, you can + ">email the Koha Administrator.
      • +
      • Use top menu bar to navigate to another part of Koha.
      • +
      +
      +
      +
      +
      +
      + + + + + diff --git a/koha-tmpl/opac-tmpl/prog/en/modules/errors/403.tmpl b/koha-tmpl/opac-tmpl/prog/en/modules/errors/403.tmpl index d8fc6b29dd..81b15da9d1 100644 --- a/koha-tmpl/opac-tmpl/prog/en/modules/errors/403.tmpl +++ b/koha-tmpl/opac-tmpl/prog/en/modules/errors/403.tmpl @@ -10,7 +10,7 @@

      An Error has Occurred

      -

      Error 404

      +

      Error 403

      • This error means that you are forbidden for some reason to see this page.
      • To report this error, you can diff --git a/koha-tmpl/opac-tmpl/prog/en/modules/errors/500.tmpl b/koha-tmpl/opac-tmpl/prog/en/modules/errors/500.tmpl index 27121ff2a9..f96e407559 100644 --- a/koha-tmpl/opac-tmpl/prog/en/modules/errors/500.tmpl +++ b/koha-tmpl/opac-tmpl/prog/en/modules/errors/500.tmpl @@ -10,7 +10,7 @@

        An Error has Occurred

        -

        Error 404

        +

        Error 500

        • An error occurred while try to process your request.
        • To report this error, you can -- 2.39.5