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 <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">
10 <div id="useraddbybiblionumber" class="container">
11 [% IF ( authorized ) %]
12 [% UNLESS ( newshelf ) %]
14 <h1>Add [% total %] items to [% IF ( singleshelf ) %]<em>[% shelfname %]</em>: [% ELSE %]a list:[% END %]</h1>
16 <h1>Add to [% IF ( singleshelf ) %]<em>[% shelfname %]</em>[% ELSE %]a list:[% END %]</h1>
19 [% FOREACH biblio IN biblios %]
20 <li> <span class="title">[% biblio.title |html %]</span>
21 [% IF ( biblio.author ) %]<span class="author"> [% biblio.author %] </span>[% END %]
25 [% IF ( existingshelves ) %]
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> <select name="shelfnumber" id="shelfnumber">
29 [% IF ( privatevirtualshelves ) %]<optgroup label="Private Lists">
30 [% FOREACH privatevirtualshelve IN privatevirtualshelves %]
31 <option value="[% privatevirtualshelve.shelfnumber %]">[% privatevirtualshelve.shelfname %]</option>
34 [% IF ( publicvirtualshelves ) %]<optgroup label="Public Lists">
35 [% FOREACH publicvirtualshelve IN publicvirtualshelves %]
36 <option value="[% publicvirtualshelve.shelfnumber %]">[% publicvirtualshelve.shelfname %]</option>
40 [% FOREACH biblio IN biblios %] <input type="hidden" name="biblionumber" value="[% biblio.biblionumber %]" />[% END %]
41 <input type="hidden" name="modifyshelfcontents" value="1" /></fieldset>
42 <fieldset class="action"><input type="submit" value="Save" class="submit" /> <a class="close cancel" href="#">Cancel</a></fieldset>
46 [% IF ( singleshelf ) %]
47 <form name="f1" action="/cgi-bin/koha/opac-addbybiblionumber.pl" method="post">
48 [% FOREACH biblio IN biblios %] <input type="hidden" name="biblionumber" value="[% biblio.biblionumber %]">[% END %]
49 <input type="hidden" name="shelfnumber" value="[% shelfnumber %]" />
50 <input type="hidden" name="modifyshelfcontents" value="1" /></fieldset>
51 <fieldset class="action"><input type="submit" value="Save" class="submit" /> <a class="close cancel" href="#">Cancel</a></fieldset>
56 [% UNLESS ( singleshelf ) %]<form name="f2" method="post" action="/cgi-bin/koha/opac-addbybiblionumber.pl">
57 <fieldset class="rows"> <legend>Add to a New List:</legend>
59 <label for="newvirtualshelf">
62 <input type="text" name="newvirtualshelf" id="newvirtualshelf" size="40" />
64 <li><label for="category">Category:</label>
65 <select name="category" id="category">
66 <option value="1">Private</option>
67 <option value="2">Public</option>
68 </select></li></ol></fieldset>
69 [% FOREACH biblio IN biblios %] <input type="hidden" name="biblionumber" value="[% biblio.biblionumber | html%]" />[% END %]
70 <fieldset class="action"><input type="submit" value="Save" class="submit" /> <a class="close cancel" href="#">Cancel</a></fieldset>
75 This is not an open list.
76 Items cannot be added to it.
80 <a href="#" class="close">Close this window.</a>