Bug 4098: Fixes missing error templates.
authorGarry Collum <gcollum@gmail.com>
Tue, 2 Feb 2010 22:21:38 +0000 (17:21 -0500)
committerGalen Charlton <gmcharlt@gmail.com>
Tue, 2 Feb 2010 23:42:31 +0000 (18:42 -0500)
Adds the missing 402.tmpl.
Fixes the <h4> element in 400, 401, 403, and 500, all of which displayed 404.

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
koha-tmpl/opac-tmpl/prog/en/modules/errors/400.tmpl
koha-tmpl/opac-tmpl/prog/en/modules/errors/401.tmpl
koha-tmpl/opac-tmpl/prog/en/modules/errors/402.tmpl [new file with mode: 0644]
koha-tmpl/opac-tmpl/prog/en/modules/errors/403.tmpl
koha-tmpl/opac-tmpl/prog/en/modules/errors/500.tmpl

index b4a0c90..49fd9e6 100644 (file)
@@ -10,7 +10,7 @@
         <div id="yui-main">
         <div class="yui-b"><div class="yui-g">
             <h3>An Error has Occurred</h3>
-            <h4>Error 404</h4>
+            <h4>Error 400</h4>
             <ul>
                 <li>This error means that the Koha is pointed an invalid link.</li>
                 <li>To report this error, you can 
index 7d70c01..73ed72b 100644 (file)
@@ -10,7 +10,7 @@
         <div id="yui-main">
         <div class="yui-b"><div class="yui-g">
             <h3>An Error has Occurred</h3>
-            <h4>Error 404</h4>
+            <h4>Error 401</h4>
             <ul>
                 <li>This error means that the you are trying to access a link that you're not authorized to see.</li>
                 <li>Try logging in to the catalog</li>
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 (file)
index 0000000..13eb795
--- /dev/null
@@ -0,0 +1,29 @@
+<!-- TMPL_INCLUDE NAME="doc-head-open.inc" --><!-- TMPL_IF NAME="LibraryNameTitle" --><!-- TMPL_VAR NAME="LibraryNameTitle" --><!-- TMPL_ELSE -->Koha Online<!-- /TMPL_IF --> Catalog &rsaquo;  An Error Has Occurred
+<!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
+</head>
+<body>
+<!--TMPL_INCLUDE NAME="masthead.inc" -->
+<!--TMPL_INCLUDE NAME="navigation.inc" -->
+
+<div id="doc3" class="yui-t1">
+   <div id="bd">
+        <div id="yui-main">
+        <div class="yui-b"><div class="yui-g">
+            <h3>An Error has Occurred</h3>
+            <h4>Error 402</h4>
+            <ul>
+                <li>This error means that the Koha is pointed an invalid link.</li>
+                <li>To report this error, you can 
+                        <a href="mailto:<!-- TMPL_VAR NAME="admin" -->">email the Koha Administrator</a>.</li>
+                <li>Use top menu bar to navigate to another part of Koha.</li>
+            </ul>
+        </div>
+        </div>
+        </div>
+    </div>
+</div>
+
+<!-- <div id="main"> -->
+<!-- </div> -->
+</body>
+</html>
index d8fc6b2..81b15da 100644 (file)
@@ -10,7 +10,7 @@
         <div id="yui-main">
         <div class="yui-b"><div class="yui-g">
             <h3>An Error has Occurred</h3>
-            <h4>Error 404</h4>
+            <h4>Error 403</h4>
             <ul>
                 <li>This error means that you are forbidden for some reason to see this page.</li>
                 <li>To report this error, you can 
index 27121ff..f96e407 100644 (file)
@@ -10,7 +10,7 @@
         <div id="yui-main">
         <div class="yui-b"><div class="yui-g">
             <h3>An Error has Occurred</h3>
-            <h4>Error 404</h4>
+            <h4>Error 500</h4>
             <ul>
                 <li>An error occurred while try to process your request.</li>
                 <li>To report this error, you can