[Koha-cvs] koha/koha-tmpl/opac-tmpl/prog/en opac-addbookby... [rel_3_0]

Antoine Farnault antoine at koha-fr.org
Mon Feb 5 17:52:59 CET 2007


CVSROOT:	/sources/koha
Module name:	koha
Branch:		rel_3_0
Changes by:	Antoine Farnault <toins>	07/02/05 16:52:59

Modified files:
	koha-tmpl/opac-tmpl/prog/en: opac-addbookbybiblionumber.tmpl 

Log message:
	display enhancement. do not ask for adding a biblio to a virtual shelf if the current user hasn't one.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/koha/koha-tmpl/opac-tmpl/prog/en/opac-addbookbybiblionumber.tmpl?cvsroot=koha&only_with_tag=rel_3_0&r1=1.1.2.3&r2=1.1.2.4

Patches:
Index: opac-addbookbybiblionumber.tmpl
===================================================================
RCS file: /sources/koha/koha/koha-tmpl/opac-tmpl/prog/en/opac-addbookbybiblionumber.tmpl,v
retrieving revision 1.1.2.3
retrieving revision 1.1.2.4
diff -u -b -r1.1.2.3 -r1.1.2.4
--- opac-addbookbybiblionumber.tmpl	15 Jan 2007 17:12:18 -0000	1.1.2.3
+++ opac-addbookbybiblionumber.tmpl	5 Feb 2007 16:52:59 -0000	1.1.2.4
@@ -19,16 +19,17 @@
 </h1>
 <!-- /TMPL_IF -->
 
+<!-- TMPL_IF NAME="CGIbookshelves"-->
 <form name="f1" action="/cgi-bin/koha/opac-addbookbybiblionumber.pl" method="POST">
-
     <p><b>Select an Existing Bookshelf</b></p>
     <label>Add to virtual shelf</label> <!-- TMPL_VAR NAME="CGIbookshelves" -->
     <input type="hidden" name="biblionumber" value="<!-- TMPL_VAR NAME="biblionumber" -->" />
     <input type="hidden" name="modifyshelfcontents" value="1" />
     <input type="submit" value="Add to virtual shelf" class="submit" />
-
 </form>
 <p>...or...</p>
+<!-- /TMPL_IF -->
+
 <form name="f2" method="POST" action="/cgi-bin/koha/opac-addbookbybiblionumber.pl">
     <b>Add to a New Bookshelf:</b>
         <p>
@@ -47,6 +48,7 @@
 </form>
 
 <p align="center">
+    <br /><br />
     <a href="javascript:closePopup();">close this window.</a>
 </p>
 





More information about the Koha-cvs mailing list