Bugzilla – Attachment 5109 Details for
Bug 5028
Remove references to catmaintain.pl
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Proposed fix
0001-Fix-for-Bug-5028-Remove-references-to-catmaintain.pl.patch (text/plain), 6.59 KB, created by
Owen Leonard
on 2011-08-23 18:59:49 UTC
(
hide
)
Description:
Proposed fix
Filename:
MIME Type:
Creator:
Owen Leonard
Created:
2011-08-23 18:59:49 UTC
Size:
6.59 KB
patch
obsolete
>From d0a3ebcaa18e58044b5fdd8d0ba517103f28d1fa Mon Sep 17 00:00:00 2001 >From: Owen Leonard <oleonard@myacpl.org> >Date: Tue, 23 Aug 2011 14:57:02 -0400 >Subject: [PATCH] Fix for Bug 5028 - Remove references to catmaintain.pl >Content-Type: text/plain; charset="utf-8" > >catmaintain.pl doesn't exist anymore. References to it in the >templates should be removed. >--- > .../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&bi=[% itemloo.biblioitemnumber %]&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 › 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&sub=[% loo.sub |url %]" onclick="messenger('/cgi-bin/koha/maint/catmaintain.pl?type=modsub&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&bi=[% ITEM_RESULT.biblioitemnumber %]&item=[% ITEM_RESULT.itemtype %]">Fix Itemtype</a></td> >- [% END %] > </tr> > [% END %]</tbody> > </table> >-- >1.7.3 >
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 5028
: 5109