Fix for Bug 3136, Show hold/send/tag links for lists even for non-logged-in users
authorOwen Leonard <oleonard@myacpl.org>
Sat, 18 Apr 2009 22:22:41 +0000 (17:22 -0500)
committerGalen Charlton <galen.charlton@liblime.com>
Sun, 19 Apr 2009 13:34:33 +0000 (08:34 -0500)
The patch adds link to "send list" and the text "Log in to place holds or add tags" (with link, similar to the log in message users see in the global lists menu).

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
koha-tmpl/opac-tmpl/prog/en/modules/opac-shelves.tmpl

index e4f5ddc..18ebcf2 100644 (file)
@@ -188,6 +188,8 @@ $(document).ready(function(){
                       <a href="#" id="tagsel_cancel" onclick="tagCanceled(); return false;" style="display:inline">Cancel</a>
                     </span>
                   </div>
+                               <!-- TMPL_ELSE -->
+                               <div style="margin-left:1em;"><a href="#" class="send tag_hides" onclick="open(CGIBIN+'opac-sendshelf.pl?shelfid=<!-- TMPL_VAR NAME="shelfnumber" -->','win_form','dependant=yes,scrollbars=no,resizable=no,height=300,width=450,top=50,left=100')">Send List</a> | <span><a href="/cgi-bin/koha/opac-user.pl">Log in</a> to place holds or add tags</span></div>
                 <!-- /TMPL_IF -->
                 <!-- TMPL_IF NAME="manageshelf" -->
                   <form action="/cgi-bin/koha/opac-shelves.pl" method="post" name="myform" class="checkboxed">