View | Details | Raw Unified | Return to bug 15288
Collapse All | Expand All

(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/errors/errorpage.tt (-11 / +9 lines)
Lines 1-4 Link Here
1
NCLUDE 'doc-head-open.inc' %]
1
[% INCLUDE 'doc-head-open.inc' %]
2
<title>[% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %]Koha online[% END %] catalog &rsaquo;  An error has occurred</title>
2
<title>[% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %]Koha online[% END %] catalog &rsaquo;  An error has occurred</title>
3
[% INCLUDE 'doc-head-close.inc' %]
3
[% INCLUDE 'doc-head-close.inc' %]
4
[% BLOCK cssinclude %][% END %]
4
[% BLOCK cssinclude %][% END %]
Lines 27-49 NCLUDE 'doc-head-open.inc' %] Link Here
27
                    <div id="errormsg[% errno %]">
27
                    <div id="errormsg[% errno %]">
28
                        <h3>Sorry, the requested page is not available</h3>
28
                        <h3>Sorry, the requested page is not available</h3>
29
                        <h4>Error [% errno %]</h4>
29
                        <h4>Error [% errno %]</h4>
30
                        <h3>This message can have following reason(s)</h3>
30
                        <h3>This message can have the following reason(s):</h3>
31
                        <ul>
31
                        <ul>
32
                            [% IF ( errno == 400 ) %]
32
                            [% IF ( errno == 400 ) %]
33
                                <li>Koha is pointed an invalid link.</li>
33
                                <li>The link is broken and the page does not exist.</li>
34
                            [% END %]
34
                            [% END %]
35
35
36
                            [% IF ( errno == 401 ) %]
36
                            [% IF ( errno == 401 ) %]
37
                                <li>You are trying to access a link that you're not authorized to see.</li>
37
                                <li>You are not authorized to view this page.</li>
38
                                <li>Try logging in to the catalog.</li>
39
                            [% END %]
38
                            [% END %]
40
39
41
                            [% IF ( errno == 402 ) %]
40
                            [% IF ( errno == 402 ) %]
42
                               <li>Koha is pointed an invalid link.</li>
41
                               <li>The link is invalid.</li>
43
                            [% END %]
42
                            [% END %]
44
43
45
                            [% IF ( errno == 403 ) %]
44
                            [% IF ( errno == 403 ) %]
46
                                <li>You are forbidden for some reason to see this page.</li>
45
                                <li>You are forbidden to view this page.</li>
47
                            [% END %]
46
                            [% END %]
48
47
49
                            [% IF ( errno == 404 ) %]
48
                            [% IF ( errno == 404 ) %]
Lines 53-65 NCLUDE 'doc-head-open.inc' %] Link Here
53
                                <li>An internal link in our catalog home page is broken and the page does not exist.</li>
52
                                <li>An internal link in our catalog home page is broken and the page does not exist.</li>
54
                            [% END %]
53
                            [% END %]
55
                            [% IF ( errno == 500 ) %]
54
                            [% IF ( errno == 500 ) %]
56
                                <li>An error occurred while try to process your request.</li>
55
                                <li>An error occurred while processing your request.</li>
57
                            [% END %]
56
                            [% END %]
58
                        </ul>
57
                        </ul>
59
                        <h3>What's next?</h3>
58
                        <h3>What's next?</h3>
60
                        <ul>
59
                        <ul>
61
                            [% IF ( errno == 401 ) %]
60
                            [% IF ( errno == 401 ) && ( Koha.Preference( 'opacuserlogin' ) == 1 ) %]
62
                                <li>Try logging in to the catalog.</li>
61
                                <li>Please log in to the catalog and try again. <a href="/cgi-bin/koha/opac-user.pl">Login page</a></li>
63
                            [% END %]
62
                            [% END %]
64
                            <li>You can use the menu and links at the top of the page</li>
63
                            <li>You can use the menu and links at the top of the page</li>
65
                            <li>You can search our catalog using the search form at the top of this page.</li>
64
                            <li>You can search our catalog using the search form at the top of this page.</li>
66
- 

Return to bug 15288