Browse Source

Fix for Bug 5028 - Remove references to catmaintain.pl

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

Signed-off-by: Ian Walls <ian.walls@bywatersolutions.com>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
3.6.x-rmaint/testing
Owen Leonard 13 years ago
committed by Chris Cormack
parent
commit
ca16532ea8
  1. 3
      koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt
  2. 122
      koha-tmpl/intranet-tmpl/prog/en/modules/maint/catmaintain.tt
  3. 3
      koha-tmpl/opac-tmpl/prog/en/modules/opac-detail.tt

3
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 %]

122
koha-tmpl/intranet-tmpl/prog/en/modules/maint/catmaintain.tt

@ -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' %]

3
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>

Loading…
Cancel
Save