MT 1587 : CSV export for cart and shelves, with the ability to define different expor...
[koha.git] / koha-tmpl / opac-tmpl / prog / en / modules / opac-addbybiblionumber.tmpl
1 <!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->
2 <!-- TMPL_IF NAME="LibraryNameTitle" --><!-- TMPL_VAR NAME="LibraryNameTitle" --><!-- TMPL_ELSE -->Koha Online<!-- /TMPL_IF --> Catalog &rsaquo; Add to Your List
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; } 
6    </style>
7 </head>
8 <body id="addtolist">
9 <div id="custom-doc" class="yui-t7">
10 <div class="container">
11 <!-- TMPL_IF NAME="authorized" -->
12         <!-- TMPL_UNLESS NAME="newshelf" -->
13                 <!-- TMPL_IF NAME="multiple"-->
14                 <h1>Add <!-- TMPL_VAR NAME="total"--> items to <!-- TMPL_IF NAME="singleshelf" --><em><!-- TMPL_VAR NAME="shelfname" --></em>: <!-- TMPL_ELSE -->a list:<!-- /TMPL_IF --></h1>
15                 <!-- TMPL_ELSE -->
16                         <h1>Add to <!-- TMPL_IF NAME="singleshelf" --><em><!-- TMPL_VAR NAME="shelfname" --></em><!-- TMPL_ELSE -->a list:<!-- /TMPL_IF --></h1>
17                 <!-- /TMPL_IF -->
18         <ul>
19                 <!-- TMPL_LOOP NAME="biblios"-->
20                 <li> <span class="title"><!-- TMPL_VAR NAME="title"--></span> 
21                 <!-- TMPL_IF NAME="author"--><span class="author"> <!-- TMPL_VAR NAME="author"--> </span><!-- /TMPL_IF -->
22                 </li>
23         <!-- /TMPL_LOOP -->
24                 </ul>
25                 <!-- TMPL_IF NAME="CGIvirtualshelves"-->
26                         <form name="f1" action="/cgi-bin/koha/opac-addbybiblionumber.pl" method="post">
27                 <fieldset class="rows"><legend>Select a List</legend>
28                         <ol><li>    <label for="shelfnumber">Add to list:</label> <!-- TMPL_VAR NAME="CGIvirtualshelves" --></li></ol>
29                         <!-- TMPL_LOOP NAME="biblios" --> <input type="hidden" name="biblionumber" value="<!-- TMPL_VAR NAME="biblionumber" -->" /><!-- /TMPL_LOOP -->
30                 <input type="hidden" name="modifyshelfcontents" value="1" /></fieldset>
31                 <fieldset class="action"><input type="submit" value="Save" class="submit" /> <a class="close cancel" href="#">Cancel</a></fieldset>
32                         </form>
33                         <p>...or...</p>
34                 <!-- TMPL_ELSE -->
35                         <!-- TMPL_IF NAME="singleshelf" -->
36                                 <form name="f1" action="/cgi-bin/koha/opac-addbybiblionumber.pl" method="post">
37                                 <!-- TMPL_LOOP NAME="biblios" --> <input type="hidden" name="biblionumber" value="<!-- TMPL_VAR NAME="biblionumber" -->"><!-- /TMPL_LOOP -->
38                                 <input type="hidden" name="shelfnumber" value="<!-- TMPL_VAR NAME="shelfnumber" -->" />
39                                 <input type="hidden" name="modifyshelfcontents" value="1" /></fieldset>
40                                 <fieldset class="action"><input type="submit" value="Save" class="submit" /> <a class="close cancel" href="#">Cancel</a></fieldset>
41                                 </form>
42                         <!-- /TMPL_IF -->
43                 <!-- /TMPL_IF -->
44         <!-- /TMPL_UNLESS -->
45         <!-- TMPL_UNLESS NAME="singleshelf" --><form name="f2" method="post" action="/cgi-bin/koha/opac-addbybiblionumber.pl">
46                 <fieldset class="rows">    <legend>Add to a New List:</legend>
47                 <ol><li>
48                 <label for="newvirtualshelf">
49                 List Name:
50                 </label>
51                 <input type="text" name="newvirtualshelf" id="newvirtualshelf" size="40" />
52                 </li>
53                 <li><label for="category">Category:</label>
54                 <select name="category" id="category">
55                 <option value="1">Private</option>
56                 <option value="2">Public</option>
57                 </select></li></ol></fieldset>
58                 <!-- TMPL_LOOP NAME="biblios" --> <input type="hidden" name="biblionumber" value="<!-- TMPL_VAR NAME="biblionumber" -->" /><!-- /TMPL_LOOP -->
59                 <fieldset class="action"><input type="submit" value="Save" class="submit" /> <a class="close cancel" href="#">Cancel</a></fieldset>
60                 </form>
61         <!-- /TMPL_UNLESS -->
62 <!-- TMPL_ELSE -->
63         <p align="center">
64                 This is not an open list.
65                 Items cannot be added to it.
66         </p>
67 <!-- /TMPL_IF -->
68 <p align="center">
69     <a href="#" class="close">Close this window.</a>
70 </p>
71 </div></div>
72 </body>
73 </html>