[Koha-cvs] koha/koha-tmpl/opac-tmpl/npl/en opac-searchresu... [rel_2_2]

Ryan Higgins rch at liblime.com
Sun Apr 8 18:41:05 CEST 2007


CVSROOT:	/sources/koha
Module name:	koha
Branch:		rel_2_2
Changes by:	Ryan Higgins <rych>	07/04/08 16:41:05

Modified files:
	koha-tmpl/opac-tmpl/npl/en: opac-searchresults.tmpl 

Log message:
	bulk add to virtual shelf fix

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/koha/koha-tmpl/opac-tmpl/npl/en/opac-searchresults.tmpl?cvsroot=koha&only_with_tag=rel_2_2&r1=1.1.2.14&r2=1.1.2.15

Patches:
Index: opac-searchresults.tmpl
===================================================================
RCS file: /sources/koha/koha/koha-tmpl/opac-tmpl/npl/en/Attic/opac-searchresults.tmpl,v
retrieving revision 1.1.2.14
retrieving revision 1.1.2.15
diff -u -b -r1.1.2.14 -r1.1.2.15
--- opac-searchresults.tmpl	18 Aug 2006 15:16:03 -0000	1.1.2.14
+++ opac-searchresults.tmpl	8 Apr 2007 16:41:05 -0000	1.1.2.15
@@ -36,7 +36,9 @@
 <!-- TMPL_IF NAME="total" -->
 <!-- TMPL_IF NAME="opacbookbag" -->
 <form action="opac-searchresults.pl" method="get" name="myform">
-<input type="submit" class="icon addchecked" value="Add Checked Items to Book Bag" onclick="addMultiple(); return false;"> <input type="reset" value="Clear All" class="icon clearall"><!-- /TMPL_IF -->
+<input type="submit" class="icon addchecked" value="Add Checked Items to Book Bag" onclick="addMultiple(); return false;"> 
+<!-- TMPL_IF NAME="virtualshelves" --><input type="submit" class="icon addchecked" value="Add Checked Items to Virtual Shelf" onclick="<!-- TMPL_IF NAME="loggedinusername" -->if (vShelfAdd()) {Dopop('/cgi-bin/koha/opac-addbookbybiblionumber.pl?' + vShelfAdd());} <!-- TMPL_ELSE --> alert('You must be logged in to create or add to Virtual Shelves'); <!-- /TMPL_IF -->  return false;" /><!-- /TMPL_IF -->
+<input type="reset" value="Clear All" class="icon clearall"><!-- /TMPL_IF -->
 	<table>
 		<tr>
 			<th><!--TMPL_IF NAME="opacbookbag" --><a href="#" onclick="CheckAll(); return false;"><img src="<!-- TMPL_VAR NAME="themelang" -->/images/checkall.gif" height="18" width="18" alt="Check All" title="Check All" border="0" /></a><!-- TMPL_ELSE -->&nbsp;<!-- /TMPL_IF --></th>





More information about the Koha-cvs mailing list