1 [% INCLUDE 'doc-head-open.inc' %]
2 [% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %]Koha online[% END %] catalog › Add to your list
3 [% INCLUDE 'doc-head-close.inc' %]
4 [% BLOCK cssinclude %][% END %]
6 [% INCLUDE 'bodytag.inc' bodyid='addtolist' bodyclass='popup' %]
8 <div class="container-fluid">
9 <div class="row-fluid">
11 <div id="useraddbybiblionumber">
12 [% IF ( authorized ) %]
13 [% UNLESS ( newshelf ) %]
15 <h1>Add [% total %] items to [% IF ( singleshelf ) %]<em>[% shelfname | html %]</em>: [% ELSE %]a list:[% END %]</h1>
17 <h1>Add to [% IF ( singleshelf ) %]<em>[% shelfname | html %]</em>[% ELSE %]a list:[% END %]</h1>
20 [% FOREACH biblio IN biblios %]
21 <li> <span class="title">[% biblio.title |html %]</span>
22 [% IF ( biblio.author ) %]<span class="author"> [% biblio.author %] </span>[% END %]
26 [% IF ( existingshelves ) %]
27 <form name="f1" action="/cgi-bin/koha/opac-addbybiblionumber.pl" method="post">
29 <legend>Select a list</legend>
30 <label for="shelfnumber">Add to list:</label> <select name="shelfnumber" id="shelfnumber">
31 [% IF ( privatevirtualshelves ) %]<optgroup label="Private Lists">
32 [% FOREACH privatevirtualshelve IN privatevirtualshelves %]
33 <option value="[% privatevirtualshelve.shelfnumber %]">[% privatevirtualshelve.shelfname | html%]</option>
36 [% IF ( publicvirtualshelves ) %]<optgroup label="Public Lists">
37 [% FOREACH publicvirtualshelve IN publicvirtualshelves %]
38 <option value="[% publicvirtualshelve.shelfnumber %]">[% publicvirtualshelve.shelfname |html%]</option>
42 [% FOREACH biblio IN biblios %]
43 <input type="hidden" name="biblionumber" value="[% biblio.biblionumber %]" />
45 <input type="hidden" name="modifyshelfcontents" value="1" />
47 <fieldset class="action">
48 <input type="submit" value="Save" class="btn" />
49 <a class="close cancel" href="#">Cancel</a>
54 [% IF ( singleshelf ) %]
55 <form name="f1" action="/cgi-bin/koha/opac-addbybiblionumber.pl" method="post">
56 [% FOREACH biblio IN biblios %]
57 <input type="hidden" name="biblionumber" value="[% biblio.biblionumber %]">
59 <input type="hidden" name="shelfnumber" value="[% shelfnumber %]" />
60 <input type="hidden" name="modifyshelfcontents" value="1" /></fieldset>
61 <fieldset class="action">
62 <input type="submit" value="Save" class="btn" />
63 <a class="close cancel" href="#">Cancel</a>
67 [% END # IF / existingshelves %]
68 [% END # / UNLESS newshelf %]
70 [% UNLESS ( singleshelf ) %]
71 <form name="f2" method="post" action="/cgi-bin/koha/opac-addbybiblionumber.pl">
73 <legend>Add to a new list:</legend>
74 <label for="newvirtualshelf">List name:</label>
75 <input type="text" name="newvirtualshelf" id="newvirtualshelf" size="40" />
76 <label for="category">Category:</label>
77 <select name="category" id="category">
78 <option value="1">Private</option>
79 [% IF (OpacAllowPublicListCreation) %]
80 <option value="2">Public</option>
84 [% FOREACH biblio IN biblios %]
85 <input type="hidden" name="biblionumber" value="[% biblio.biblionumber | html%]" />
87 <fieldset class="action">
88 <input type="submit" value="Save" class="btn" />
89 <a class="close cancel" href="#">Cancel</a>
92 [% END # / UNLESS singleshelf %]
96 Could not create new list. Please check if the name is unique.
98 Sorry, you cannot add items to this list.
101 [% END # IF authorized %]
102 <p><a href="#" class="close">Close this window.</a></p>
103 </div> <!-- / #useraddbybiblionumber -->
104 </div> <!-- / .span12 -->
105 </div> <!-- / .row-fluid -->
106 </div> <!-- / .container-fluid -->
107 </div> <!-- / .main -->
109 [% INCLUDE 'opac-bottom.inc' is_popup=1 %]
110 [% BLOCK jsinclude %][% END %]