1 [% INCLUDE 'doc-head-open.inc' %]
2 <title>Koha › Add to list</title>
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; }
8 <body id="lists_addbybiblionumber" class="lists">
10 [% UNLESS (authorized) %]
12 [% IF (errcode==1) %]Could not create a new list. Please check the name.<br/>[% END %]
13 [% IF (errcode==2) %]Sorry, you do not have permission to add items to this list.<br/>[% END %]
14 <a href="javascript:self.close();">Close this window.</a>
17 <div id="custom-doc" class="yui-t7">
20 <h1>Add [% total %] items to [% IF ( singleshelf ) %]<em>[% shelfname %]</em>: [% ELSE %]a list:[% END %]</h1>
22 <h1>Add to [% IF ( singleshelf ) %]<em>[% shelfname %]</em>[% ELSE %]a list:[% END %]</h1>
25 [% FOREACH biblio IN biblios %]
26 <li> <span class="title">[% biblio.title |html %]</span>
27 [% IF ( biblio.author ) %]<span class="author"> [% biblio.author %] </span>[% END %]
32 <form name="f1" action="/cgi-bin/koha/virtualshelves/addbybiblionumber.pl" method="post">
33 [% FOREACH biblio IN biblios %] <input type="hidden" name="biblionumber" value="[% biblio.biblionumber %]" />[% END %]
34 <input type="hidden" name="confirmed" value="1" />
35 [% IF ( shelfnumber ) %]<input type="hidden" name="shelfnumber" value="[% shelfnumber %]" />[% END %]
37 [% UNLESS ( shelfnumber ) %]
39 [% UNLESS ( newshelf ) %]
40 <fieldset class="rows">
41 <legend>Select an existing list</legend>
44 <label>Choose list</label>
45 <select name="shelfnumber" id="shelfnumber">
46 [% IF ( privatevirtualshelves ) %]
47 <optgroup label="Private lists">
48 [% FOREACH privatevirtualshelve IN privatevirtualshelves %]
49 <option value="[% privatevirtualshelve.shelfnumber %]">[% privatevirtualshelve.shelfname %]</option>
53 [% IF ( publicvirtualshelves ) %]
54 <optgroup label="Public lists">
55 [% FOREACH publicvirtualshelve IN publicvirtualshelves %]
56 <option value="[% publicvirtualshelve.shelfnumber %]">[% publicvirtualshelve.shelfname %]</option>
63 [% FOREACH biblio IN biblios %]<input type="hidden" name="biblionumber" value="[% biblio.biblionumber %]" />[% END %]
64 [% UNLESS ( biblionumbers ) %]
65 <input type="hidden" name="biblionumber" value="[% biblionumber %]" />
67 <input type="hidden" name="biblionumbers" value="[% biblionumbers %]" />
74 <fieldset class="rows"><legend>Add to a new list:</legend>
76 <label for="newvirtualshelf">
79 [% FOREACH biblio IN biblios %]<input type="hidden" name="biblionumber" value="[% biblio.biblionumber %]" />[% END %]
80 [% UNLESS ( biblionumbers ) %]
81 <input type="hidden" name="biblionumber" id="biblionumber" value="[% biblionumber %]" />
83 <input type="hidden" name="biblionumbers" id="biblionumbers" value="[% biblionumbers %]" />
85 <input type="text" name="newvirtualshelf" id="newvirtualshelf" size="40" />
86 <input type="hidden" name="confirmed" value="1" />
89 <label for="category">Category:</label>
90 <select name="category" id="category">
91 <option value="1">Private</option>
92 <option value="2">Public</option>
102 <fieldset class="action">
103 <input type="submit" value="Save" class="submit" /> <a class="close cancel" href="#">Cancel</a>
110 [% INCLUDE 'intranet-bottom.inc' %]