[Koha-patches] [PATCH] Bug 10201 [Follow-up] Old OPAC patron update system should be removed

Owen Leonard oleonard at myacpl.org
Tue May 7 18:14:58 CEST 2013


The previous patch missed removal of one template, kohaerror.tt, which
was used only by opac-userupdate.pl. This patch removes it.

To test, apply the patch and search Koha source files for references to
kohaerror. There should be none.
---
 koha-tmpl/opac-tmpl/prog/en/modules/kohaerror.tt |   26 ----------------------
 1 file changed, 26 deletions(-)
 delete mode 100644 koha-tmpl/opac-tmpl/prog/en/modules/kohaerror.tt

diff --git a/koha-tmpl/opac-tmpl/prog/en/modules/kohaerror.tt b/koha-tmpl/opac-tmpl/prog/en/modules/kohaerror.tt
deleted file mode 100644
index 61ef820..0000000
--- a/koha-tmpl/opac-tmpl/prog/en/modules/kohaerror.tt
+++ /dev/null
@@ -1,26 +0,0 @@
-[% INCLUDE 'doc-head-open.inc' %][% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %]Koha online[% END %] catalog ›  An error has occurred
-[% INCLUDE 'doc-head-close.inc' %]
-</head>
-<body>
-<div id="doc3" class="yui-t7">
-   <div id="bd">
-[% INCLUDE 'masthead.inc' %]
-
-<div id="yui-g">
-<div id="kohaerrorcontainer" class="container">
-<div id="kohaerror">
-<div class="dialog message">
-<h3>An error has occurred</h3>
-[% IF ( noadminemail ) %]
-<p>An error occurred when sending your message to the administrator. Please visit the library to update your personal details. </p>
-<p><a href="/cgi-bin/koha/opac-user.pl">Return to your summary.</a></p>
-[% ELSE %]
-<p>[% errormessage %]</p>
-[% END %]
-</div>
-</div>
-</div>
-</div>
-</div>
-
-[% INCLUDE 'opac-bottom.inc' %]
-- 
1.7.9.5


More information about the Koha-patches mailing list