Bugzilla – Attachment 45424 Details for
Bug 15288
Error pages: Code duplication removal and better translatability
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 15288: (followup) Remove obsolete *.tt files
Bug-15288-followup-Remove-obsolete-tt-files.patch (text/plain), 12.07 KB, created by
Marc Véron
on 2015-12-04 20:13:41 UTC
(
hide
)
Description:
Bug 15288: (followup) Remove obsolete *.tt files
Filename:
MIME Type:
Creator:
Marc Véron
Created:
2015-12-04 20:13:41 UTC
Size:
12.07 KB
patch
obsolete
>From a8c776ce863fc6ff470ee1d64016eef1198d0be5 Mon Sep 17 00:00:00 2001 >From: =?UTF-8?q?Marc=20V=C3=A9ron?= <veron@veron.ch> >Date: Thu, 3 Dec 2015 05:16:55 +0100 >Subject: [PATCH] Bug 15288: (followup) Remove obsolete *.tt files > >Follwoing files were not yet deleted: > >koha-tmpl/opac-tmpl/bootstrap/en/modules/errors/400.tt >koha-tmpl/opac-tmpl/bootstrap/en/modules/errors/401.tt >koha-tmpl/opac-tmpl/bootstrap/en/modules/errors/402.tt >koha-tmpl/opac-tmpl/bootstrap/en/modules/errors/403.tt >koha-tmpl/opac-tmpl/bootstrap/en/modules/errors/500.tt > >Note: the 404.tt file was renamed to errorpage.tt > >To test: Verify that files are deleted. >--- > .../opac-tmpl/bootstrap/en/modules/errors/400.tt | 44 ------------------- > .../opac-tmpl/bootstrap/en/modules/errors/401.tt | 45 -------------------- > .../opac-tmpl/bootstrap/en/modules/errors/402.tt | 44 ------------------- > .../opac-tmpl/bootstrap/en/modules/errors/403.tt | 44 ------------------- > .../opac-tmpl/bootstrap/en/modules/errors/500.tt | 44 ------------------- > 5 files changed, 221 deletions(-) > delete mode 100644 koha-tmpl/opac-tmpl/bootstrap/en/modules/errors/400.tt > delete mode 100644 koha-tmpl/opac-tmpl/bootstrap/en/modules/errors/401.tt > delete mode 100644 koha-tmpl/opac-tmpl/bootstrap/en/modules/errors/402.tt > delete mode 100644 koha-tmpl/opac-tmpl/bootstrap/en/modules/errors/403.tt > delete mode 100644 koha-tmpl/opac-tmpl/bootstrap/en/modules/errors/500.tt > >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/errors/400.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/errors/400.tt >deleted file mode 100644 >index d0bd247..0000000 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/errors/400.tt >+++ /dev/null >@@ -1,44 +0,0 @@ >-[% INCLUDE 'doc-head-open.inc' %] >-<title>[% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %]Koha online[% END %] catalog › An error has occurred</title> >-[% INCLUDE 'doc-head-close.inc' %] >-[% BLOCK cssinclude %][% END %] >-</head> >-<body id="error400" class="error"> >-[% INCLUDE 'masthead.inc' %] >- >- <div class="main"> >- <ul class="breadcrumb"> >- <li><a href="/cgi-bin/koha/opac-main.pl">Home</a> <span class="divider">›</span></li> >- <li><a href="#">Error 400</a></li> >- </ul> >- >- <div class="container-fluid"> >- <div class="row-fluid"> >- [% IF ( OpacNav || OpacNavBottom ) %] >- <div class="span2"> >- <div id="navigation"> >- [% INCLUDE 'navigation.inc' %] >- </div> >- </div> >- <div class="span10"> >- [% ELSE %] >- <div class="span12"> >- [% END %] >- <div id="errormsg400"> >- <h3>An error has occurred</h3> >- <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 >- <a href="mailto:[% admin %]">email the Koha Administrator</a>.</li> >- <li>Return to the <a href="/cgi-bin/koha/opac-main.pl">catalog home page</a>.</li> >- </ul> >- </div> <!-- / #errormsg400 --> >- </div> <!-- / .span10/12 --> >- </div> <!-- / .row-fluid --> >- </div> <!-- / .container-fluid --> >- </div> <!-- / .main --> >- >-[% INCLUDE 'opac-bottom.inc' %] >-[% BLOCK jsinclude %] >-[% END %] >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/errors/401.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/errors/401.tt >deleted file mode 100644 >index 96221cb..0000000 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/errors/401.tt >+++ /dev/null >@@ -1,45 +0,0 @@ >-[% INCLUDE 'doc-head-open.inc' %] >-<title>[% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %]Koha online[% END %] catalog › An error has occurred</title> >-[% INCLUDE 'doc-head-close.inc' %] >-[% BLOCK cssinclude %][% END %] >-</head> >-<body id="error401" class="error"> >-[% INCLUDE 'masthead.inc' %] >- >- <div class="main"> >- <ul class="breadcrumb"> >- <li><a href="/cgi-bin/koha/opac-main.pl">Home</a> <span class="divider">›</span></li> >- <li><a href="#">Error 401</a></li> >- </ul> >- >- <div class="container-fluid"> >- <div class="row-fluid"> >- [% IF ( OpacNav || OpacNavBottom ) %] >- <div class="span2"> >- <div id="navigation"> >- [% INCLUDE 'navigation.inc' %] >- </div> >- </div> >- <div class="span10"> >- [% ELSE %] >- <div class="span12"> >- [% END %] >- <div id="errormsg401"> >- <h3>An error has occurred</h3> >- <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> >- <li>To report this error, you can >- <a href="mailto:[% admin %]">email the Koha Administrator</a>.</li> >- <li>Return to the <a href="/cgi-bin/koha/opac-main.pl">catalog home page</a>.</li> >- </ul> >- </div> <!-- / #errormsg401 --> >- </div> <!-- / .span10/12 --> >- </div> <!-- / .row-fluid --> >- </div> <!-- / .container-fluid --> >- </div> <!-- / .main --> >- >-[% INCLUDE 'opac-bottom.inc' %] >-[% BLOCK jsinclude %] >-[% END %] >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/errors/402.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/errors/402.tt >deleted file mode 100644 >index 6d53062..0000000 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/errors/402.tt >+++ /dev/null >@@ -1,44 +0,0 @@ >-[% INCLUDE 'doc-head-open.inc' %] >-<title>[% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %]Koha online[% END %] catalog › An error has occurred</title> >-[% INCLUDE 'doc-head-close.inc' %] >-[% BLOCK cssinclude %][% END %] >-</head> >-<body id="error402" class="error"> >-[% INCLUDE 'masthead.inc' %] >- >- <div class="main"> >- <ul class="breadcrumb"> >- <li><a href="/cgi-bin/koha/opac-main.pl">Home</a> <span class="divider">›</span></li> >- <li><a href="#">Error 402</a></li> >- </ul> >- >- <div class="container-fluid"> >- <div class="row-fluid"> >- [% IF ( OpacNav || OpacNavBottom ) %] >- <div class="span2"> >- <div id="navigation"> >- [% INCLUDE 'navigation.inc' %] >- </div> >- </div> >- <div class="span10"> >- [% ELSE %] >- <div class="span12"> >- [% END %] >- <div id="errormsg402"> >- <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:[% admin %]">email the Koha Administrator</a>.</li> >- <li>Return to the <a href="/cgi-bin/koha/opac-main.pl">catalog home page</a>.</li> >- </ul> >- </div> <!-- / #errormsg402 --> >- </div> <!-- / .span10/12 --> >- </div> <!-- / .row-fluid --> >- </div> <!-- / .container-fluid --> >- </div> <!-- / .main --> >- >-[% INCLUDE 'opac-bottom.inc' %] >-[% BLOCK jsinclude %] >-[% END %] >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/errors/403.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/errors/403.tt >deleted file mode 100644 >index 4a886f0..0000000 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/errors/403.tt >+++ /dev/null >@@ -1,44 +0,0 @@ >-[% INCLUDE 'doc-head-open.inc' %] >-<title>[% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %]Koha online[% END %] catalog › An error has occurred</title> >-[% INCLUDE 'doc-head-close.inc' %] >-[% BLOCK cssinclude %][% END %] >-</head> >-<body id="error403" class="error"> >-[% INCLUDE 'masthead.inc' %] >- >- <div class="main"> >- <ul class="breadcrumb"> >- <li><a href="/cgi-bin/koha/opac-main.pl">Home</a> <span class="divider">›</span></li> >- <li><a href="#">Error 403</a></li> >- </ul> >- >- <div class="container-fluid"> >- <div class="row-fluid"> >- [% IF ( OpacNav || OpacNavBottom ) %] >- <div class="span2"> >- <div id="navigation"> >- [% INCLUDE 'navigation.inc' %] >- </div> >- </div> >- <div class="span10"> >- [% ELSE %] >- <div class="span12"> >- [% END %] >- <div id="errormsg403"> >- <h3>An error has occurred</h3> >- <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 >- <a href="mailto:[% admin %]">email the Koha Administrator</a>.</li> >- <li>Return to the <a href="/cgi-bin/koha/opac-main.pl">catalog home page</a>.</li> >- </ul> >- </div> <!-- / #errormsg403 --> >- </div> <!-- / .span10/12 --> >- </div> <!-- / .row-fluid --> >- </div> <!-- / .container-fluid --> >- </div> <!-- / .main --> >- >-[% INCLUDE 'opac-bottom.inc' %] >-[% BLOCK jsinclude %] >-[% END %] >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/errors/500.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/errors/500.tt >deleted file mode 100644 >index 51dcf01..0000000 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/errors/500.tt >+++ /dev/null >@@ -1,44 +0,0 @@ >-[% INCLUDE 'doc-head-open.inc' %] >-<title>[% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %]Koha online[% END %] catalog › An error has occurred</title> >-[% INCLUDE 'doc-head-close.inc' %] >-[% BLOCK cssinclude %][% END %] >-</head> >-<body id="error500" class="error"> >-[% INCLUDE 'masthead.inc' %] >- >- <div class="main"> >- <ul class="breadcrumb"> >- <li><a href="/cgi-bin/koha/opac-main.pl">Home</a> <span class="divider">›</span></li> >- <li><a href="#">Error 500</a></li> >- </ul> >- >- <div class="container-fluid"> >- <div class="row-fluid"> >- [% IF ( OpacNav || OpacNavBottom ) %] >- <div class="span2"> >- <div id="navigation"> >- [% INCLUDE 'navigation.inc' %] >- </div> >- </div> >- <div class="span10"> >- [% ELSE %] >- <div class="span12"> >- [% END %] >- <div id="errormsg500"> >- <h3>An error has occurred</h3> >- <h4>Error 500</h4> >- <ul> >- <li>An error occurred while try to process your request.</li> >- <li>To report this error, you can >- <a href="mailto:[% admin %]">email the Koha Administrator</a>.</li> >- <li>Return to the <a href="/cgi-bin/koha/opac-main.pl">catalog home page</a>.</li> >- </ul> >- </div> <!-- / #errormsg500 --> >- </div> <!-- / .span10/12 --> >- </div> <!-- / .row-fluid --> >- </div> <!-- / .container-fluid --> >- </div> <!-- / .main --> >- >-[% INCLUDE 'opac-bottom.inc' %] >-[% BLOCK jsinclude %] >-[% END %] >-- >1.7.10.4
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 15288
:
45354
|
45355
|
45356
|
45357
|
45396
|
45422
|
45424
|
45425
|
45426
|
46303
|
46316
|
46322
|
46323
|
46324
|
47464
|
48476