From: Owen Leonard <[email protected]>

catmaintain.pl doesn't exist anymore. References to it in the
templates should be removed.

Signed-off-by: Stéphane Delaune <[email protected]>
---
 .../prog/en/modules/catalogue/detail.tt            |    3 -
 .../prog/en/modules/maint/catmaintain.tt           |  122 --------------------
 koha-tmpl/opac-tmpl/prog/en/modules/opac-detail.tt |    3 -
 3 files changed, 0 insertions(+), 128 deletions(-)
 delete mode 100644 koha-tmpl/intranet-tmpl/prog/en/modules/maint/catmaintain.tt

diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt 
b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt
index 2ea7091..e723781 100644
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt
+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt
@@ -370,9 +370,6 @@ function verify_images() {
                                        <td class="copynumber">[% 
itemloo.copynumber %]</td>
                                [% END %]
                 [% IF ( itemdata_itemnotes ) %]<td><div class="itemnotes">[% 
itemloo.itemnotes %]</div></td>[% END %]
-                [% IF ( itemloo.type ) %]
-                    <td><a 
href="/cgi-bin/koha/maint/catmaintain.pl?type=fixitemtype&amp;bi=[% 
itemloo.biblioitemnumber %]&amp;item=[% itemloo.itemtype %]">Fix 
Itemtype</a></td>
-                [% END %]
                [% IF ( SpineLabelShowPrintOnBibDetails ) %]
                        <td><a 
href="/cgi-bin/koha/labels/spinelabel-print.pl?barcode=[% itemloo.barcode %]" 
>Print Label</a></td>
                [% END %]
diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/maint/catmaintain.tt 
b/koha-tmpl/intranet-tmpl/prog/en/modules/maint/catmaintain.tt
deleted file mode 100644
index 996e33d..0000000
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/maint/catmaintain.tt
+++ /dev/null
@@ -1,122 +0,0 @@
-[% INCLUDE 'doc-head-open.inc' %]
-<title>Koha &rsaquo; Catalog Maintenance</title>
-[% INCLUDE 'doc-head-close.inc' %]
-</head>
-<body>
-[% INCLUDE 'header.inc' %]
-
-<div id="doc3" class="yui-t2">
-   
-   <div id="bd">
-       <div id="yui-main">
-       <div class="yui-b"><div class="yui-g">
-
-[% IF ( allsub_p ) %]
-<table>
-<caption>Results</caption>
-[% FOREACH loo IN loop %]
-<tr><td><a href="/cgi-bin/koha/maint/catmaintain.pl?type=allsub&amp;sub=[% 
loo.sub |url %]" 
onclick="messenger('/cgi-bin/koha/maint/catmaintain.pl?type=modsub&amp;sub=[% 
loo.sub2 |url %]');window1.focus()">[% loo.subject |html %]</a></td></tr>
-[% END %]
-</table>
-[% END %]
-
-
-[% IF ( modsub_p ) %]
-<form action="/cgi-bin/koha/maint/catmaintain.pl" method="post">
-This will change the subject headings on <strong>all</strong> the records this 
subject is applied to.
-<table>
-<caption>Subject Heading Global Update</caption>
-<tr><th scope="row"><label for="sub">Subject:</label></th><td><input 
type="text" value="[% sub |html %]" name="sub" id="sub" size="40" /><input 
type="hidden" name="type" value="upsub" />
-<input type="hidden" name="oldsub" value="[% sub |html %]" /></td></tr>
-</table>
-<input type="submit" value="Modify" />
-</form>
-[% END %]
-
-
-[% IF ( upsub_p ) %]
-Successfully modified [% oldsub |html %]
-is now [% sub |html %]
-<!-- <![ IGNORE [
-<p><a href="/cgi-bin/koha/maint/catmaintain.pl" onclick="window0.focus()">Back 
to catalogue maintenance</a><br />
-<a href=nowhere onclick="self.close()">Close this window</a>
-]]> -->
-[% END %]
-
-
-[% IF ( undel_p ) %]
-<table>
-<thead>
-<tr><th>Title</th><th>Author</th><th>Undelete</th></tr>
-[% FOREACH loo IN loop %]
-<tr>
-<td>[% loo.title |html %]</td>
-<td>[% loo.author |html %]</td>
-<td><a href="/cgi-bin/koha/maint/catmaintain.pl?[% loo.undelete |url 
%]">Undelete</a></td>
-</tr>
-[% END %]
-</table>
-[% END %]
-
-
-[% IF ( finun_p ) %]
-<h3>Successfully undeleted</h3>
-<p><a href="/cgi-bin/koha/maint/catmaintain.pl">Back to Catalog 
Maintenance</a></p>
-[% END %]
-
-
-[% IF ( fixitemtype_p ) %]
-<form method="post" action="/cgi-bin/koha/maint/catmaintain.pl">
-<table>
-<tr><th scope="row"><label for="itemtype">Itemtype:</label></th><td><input 
type="hidden" name="bi" value="[% bi |html %]" />
-<input type="hidden" name="type" value="updatetype" />
-<input type="text" name="itemtype" id="itemtype" value="[% item |html %]" 
/></td></tr>
-</table>
-<input type="submit" value="Change" />
-</form>
-[% END %]
-
-
-[% IF ( updatetype_p ) %]
-<h3>Updated successfully</h3>
-<p><a href="/cgi-bin/koha/maint/catmaintain.pl">Back to Catalog 
Maintenance</a></p>
-[% END %]
-
-
-[% IF ( mainmenu_p ) %]
-
-<h1>Catalog Maintenance</h1>
-<form action="/cgi-bin/koha/maint/catmaintain.pl" method="post">
-<table>
-<caption>Subject Maintenance</caption>
-<tr><th scope="row"><label for="sub">Show all subjects beginning with: 
</label></th><td><input type="text" name="sub" id="sub"><input type="hidden" 
name="type" value="allsub" /></td></tr>
-</table>
-<input type="submit" value="Show" />
-</form>
-
-<form action="/cgi-bin/koha/search.pl" method="post">
-<table>
-<caption>Group Maintenance</caption>
-<tr><th scope="row"><label for="title">Show all Titles beginning 
with:</label></th><td><input type="hidden" name="type" value="catmain"><input 
type="text" name="title" id="title" /></td></tr>
-<tr><th scope="row"><label for="item">Item Number:</label></th><td><input 
type="text" size="25" id="item" name="item" /></td></tr>
-</table>
-<input type="submit" value="Show" />
-</form>
-
-<form action="/cgi-bin/koha/maint/catmaintain.pl" method="post">
-<table>
-<caption>Undelete Biblio</caption>
-<tr><th scope="row"><label for="title">Show all Titles beginning 
with</label></th><td><input type="text" name="title" id="title" /><input 
type="hidden" name="type" value="undel" /></td></tr>
-</table>
-<input type="submit" value="Show" />
-</form>
-
-[% END %]
-
-</div>
-</div>
-</div>
-
-[% INCLUDE 'mainmenu.inc' %]
-[% INCLUDE 'intranet-bottom.inc' %]
-
diff --git a/koha-tmpl/opac-tmpl/prog/en/modules/opac-detail.tt 
b/koha-tmpl/opac-tmpl/prog/en/modules/opac-detail.tt
index 40af8f5..1950e4e 100644
--- a/koha-tmpl/opac-tmpl/prog/en/modules/opac-detail.tt
+++ b/koha-tmpl/opac-tmpl/prog/en/modules/opac-detail.tt
@@ -420,9 +420,6 @@ YAHOO.util.Event.onContentReady("furtherm", function () {
                <td>[% INCLUDE 'item-status.inc' item = ITEM_RESULT %]</td>
                [% IF ( itemdata_itemnotes ) %]<td>[% ITEM_RESULT.itemnotes 
%]</td>[% END %]
                <td>[% ITEM_RESULT.datedue %]</td>
-               [% IF ( ITEM_RESULT.type ) %]
-               <td><a 
href="/cgi-bin/koha/maint/catmaintain.pl?type=fixitemtype&amp;bi=[% 
ITEM_RESULT.biblioitemnumber %]&amp;item=[% ITEM_RESULT.itemtype %]">Fix 
Itemtype</a></td>
-               [% END %]
            </tr>
            [% END %]</tbody>
        </table>
-- 
1.7.0.4

_______________________________________________
Koha-patches mailing list
[email protected]
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-patches
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to