f25f0aa254
This patch changes the 400, 401, 402, 403, 404, 500 error pages to be handled by only one template for staff and only one template for OPAC. Additionally it removes a translatability issues due to sentence splitings by html tags. To test: - Apply patch - Trigger 404 error for staff and for OPAC by calling a page that does not exist - Try to trigger other error pages and/or carefully review code changes in the *.pl files - Review koha-tmpl/opac-tmpl/bootstrap/en/modules/errors/errorpage.tt and koha-tmpl/intranet-tmpl/prog/en/modules/errorpage.tt (Amended to fix a typo) (Amended for comment #6) (Amended to cover OPAC error pages as well) Signed-off-by: Hector Castro <hector.hecaxmmx@gmail.com> Works as advertised Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> Signed-off-by: Brendan A Gallagher <brendan@bywatersolutions.com>
36 lines
1.4 KiB
Text
36 lines
1.4 KiB
Text
[% INCLUDE 'doc-head-open.inc' %]
|
|
<title>Koha › Error [% errno %]</title>
|
|
[% INCLUDE 'doc-head-close.inc' %]
|
|
</head>
|
|
<body id="err_[% errno %]" class="err">
|
|
|
|
[% INCLUDE 'header.inc' %]
|
|
[% INCLUDE 'cat-search.inc' %]
|
|
|
|
<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> › Error [% errno %]</div>
|
|
|
|
<div id="doc" class="yui-t7">
|
|
|
|
<div id="bd">
|
|
<div id="yui-main">
|
|
<div class="yui-b"><div class="yui-g">
|
|
<h1>An error has occurred!</h1>
|
|
<h2><em>Error [% errno %]</em></h2>
|
|
<h3>This message may have been caused by any of the following reasons:</h3>
|
|
<ul style="padding-bottom: 0.5em;">
|
|
<li>You made use of an external link to an item that is no longer available</li>
|
|
<li>You followed an outdated link e.g. from a search engine or a bookmark</li>
|
|
<li>You tried to access a page that needs authentification</li>
|
|
<li>An internal link in the client is broken and the page does not exist</li>
|
|
</ul>
|
|
<h3>What's next?</h3>
|
|
<ul style="margin-bottom: 1em; padding-bottom: 1em; border-bottom: 1px solid #CCC;">
|
|
<li>Use top menu bar to navigate to another part of Koha.</li>
|
|
<li>To report a broken link or any other issue, please contact the Koha Administrator. <a href="mailto:[% admin %]">Send email</a></li>
|
|
</ul>
|
|
</div>
|
|
|
|
</div>
|
|
</div>
|
|
|
|
[% INCLUDE 'intranet-bottom.inc' %]
|