[Koha-patches] [PATCH] Bug 8912 - Remove unused hold-menu.inc

Owen Leonard oleonard at myacpl.org
Fri Oct 12 16:30:26 CEST 2012


hold-menu.inc is not used on any page in Koha and
can be safely removed.

To confirm, search the Koha source for "hold-menu.inc." No
instances should be found.
---
 .../intranet-tmpl/prog/en/includes/hold-menu.inc   |   35 --------------------
 1 file changed, 35 deletions(-)
 delete mode 100644 koha-tmpl/intranet-tmpl/prog/en/includes/hold-menu.inc

diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/hold-menu.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/hold-menu.inc
deleted file mode 100644
index 9372275..0000000
--- a/koha-tmpl/intranet-tmpl/prog/en/includes/hold-menu.inc
+++ /dev/null
@@ -1,35 +0,0 @@
-[% IF ( borrowernumber ) %]
-<div class="patroninfo"><h5>[% borrowerfirstname %] [% borrowersurname %]</h5>
-<ul>
-	        <li>[% IF ( borrowerstreetaddress ) %]
-            [% borrowerstreetaddress %],
-        [% ELSE %]
-            <span class="problem">No address stored for patron.</span>
-        [% END %]</li>
-       <li> [% IF ( borrowercity ) %]
-            [% borrowercity %]
-        [% ELSE %]
-            No city stored.
-        [% END %]</li>
-   <li> [% IF ( borrowerphone ) %]
-        [% borrowerphone %]
-    [% ELSE %]
-        <span class="problem">No phone stored.</span>    
-    [% END %]</li>
-	<li>[% borrowerphonepro %]</li>
-	<li>[% borrowermobile %]</li>
-	    [% IF ( borroweremail ) %]
-   <li> <a href="mailto:[% email %]">[% borroweremail %]</a></li>
-    [% END %]
-		    [% IF ( borroweremailpro ) %]
-   <li> <a href="mailto:[% emailpro %]">[% borroweremailpro %]</a></li>
-    [% END %]
-    <li>Category: [% borrowercategorycode %]</li>
-</ul></div>
-<div class="patronviews">
-<ul><li><a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% borrowernumber %]">Details</a></li>
-	<li><a href="/cgi-bin/koha/members/boraccount.pl?borrowernumber=[% borrowernumber %]">Fines</a></li>
-    [% IF ( intranetreadinghistory ) %]<li><a href="/cgi-bin/koha/members/readingrec.pl?borrowernumber=[% borrowernumber %]">Reading record</a></li>[% END %]
-    [% IF ( CAN_user_parameters ) %]<li><a href="/cgi-bin/koha/tools/viewlog.pl?do_it=1&amp;modules=MEMBERS&amp;action=MODIFY&amp;object=[% borrowernumber %]">Modification log</a></li>[% END %]</ul>
-</div>
-[% END %]
-- 
1.7.9.5



More information about the Koha-patches mailing list