1 <!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->
2 <!-- TMPL_IF NAME="LibraryNameTitle" --><!-- TMPL_VAR NAME="LibraryNameTitle" --><!-- TMPL_ELSE -->Koha Online<!-- /TMPL_IF --> Catalog › Add to My Virtual Shelf
3 <!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
4 <style type="text/css">
5 #custom-doc { width:34.62em;*width:33.78em;min-width:450px; margin:auto; margin-top: .4em;text-align:left; }
9 <div id="custom-doc" class="yui-t7">
11 <!-- TMPL_IF NAME="multiple"-->
12 <h1>Add <!-- TMPL_VAR NAME="total"--> items to a book list:</h1>
14 <h1>Add to a book list:</h1>
16 <ul> <!-- TMPL_LOOP NAME="biblios"-->
17 <li> <span class="title"><!-- TMPL_VAR NAME="title"--></span>
18 <!-- TMPL_IF NAME="author"--><span class="author"> <!-- TMPL_VAR NAME="author"--> </span><!-- /TMPL_IF -->
22 <!-- TMPL_IF NAME="CGIvirtualshelves"-->
23 <form name="f1" action="/cgi-bin/koha/opac-addbybiblionumber.pl" method="post">
24 <fieldset class="rows"><legend>Select an Existing List</legend>
25 <ol><li> <label for="shelfnumber">Add to list:</label> <!-- TMPL_VAR NAME="CGIvirtualshelves" --></li></ol>
26 <!-- TMPL_LOOP NAME="biblios" --> <input type="hidden" name="biblionumber" value="<!-- TMPL_VAR NAME="biblionumber" -->"><!-- /TMPL_LOOP -->
27 <input type="hidden" name="modifyshelfcontents" value="1" /></fieldset>
28 <fieldset class="action"><input type="submit" value="Save" class="submit" /> <a class="cancel" href="#" onclick="closePopup();">Cancel</a></fieldset>
33 <form name="f2" method="post" action="/cgi-bin/koha/opac-addbybiblionumber.pl">
34 <fieldset class="rows"> <legend>Add to a New List:</legend>
36 <label for="newvirtualshelf">
39 <input type="text" name="newvirtualshelf" id="newvirtualshelf" size="40" />
41 <li><label for="category">Category:</label>
42 <select name="category" id="category">
43 <option value="1">Private</option>
44 <option value="2">Public</option>
45 </select></li></ol></fieldset>
46 <!-- TMPL_LOOP NAME="biblios" --> <input type="hidden" name="biblionumber" value="<!-- TMPL_VAR NAME="biblionumber" -->"><!-- /TMPL_LOOP -->
47 <fieldset class="action"><input type="submit" value="Save" class="submit" /> <a class="cancel" href="#" onclick="closePopup();">Cancel</a></fieldset>
52 <a href="javascript:closePopup();">close this window.</a>
55 <script type="text/javascript" language="javascript">
56 function closePopup () {