Lines 38-65
Link Here
|
38 |
|
38 |
|
39 |
[% UNLESS ( newshelf ) %] |
39 |
[% UNLESS ( newshelf ) %] |
40 |
<fieldset class="rows"> |
40 |
<fieldset class="rows"> |
41 |
<legend>Select an existing list</legend> |
41 |
<legend>Select an existing list</legend> |
42 |
<ol> |
42 |
<ol> |
43 |
<li> |
43 |
<li> |
44 |
<label>Choose list</label> |
44 |
<label>Choose list</label> |
45 |
<select name="shelfnumber" id="shelfnumber"> |
45 |
<select name="shelfnumber" id="shelfnumber"> |
46 |
[% IF ( privatevirtualshelves ) %] |
46 |
[% IF private_shelves.count %] |
47 |
<optgroup label="Private lists"> |
47 |
<optgroup label="Private lists"> |
48 |
[% FOREACH privatevirtualshelve IN privatevirtualshelves %] |
48 |
[% FOREACH private_shelf IN private_shelves %] |
49 |
<option value="[% privatevirtualshelve.shelfnumber %]">[% privatevirtualshelve.shelfname | html%]</option> |
49 |
<option value="[% private_shelf.shelfnumber %]">[% private_shelf.shelfname | html%]</option> |
50 |
[% END %] |
50 |
[% END %] |
51 |
</optgroup> |
51 |
</optgroup> |
52 |
[% END %] |
52 |
[% END %] |
53 |
[% IF ( publicvirtualshelves ) %] |
53 |
[% IF private_shelves_shared_with_me.count %] |
54 |
<optgroup label="Public lists"> |
54 |
<optgroup label="Private lists shared with me"> |
55 |
[% FOREACH publicvirtualshelve IN publicvirtualshelves %] |
55 |
[% FOREACH private_shelf IN private_shelves_shared_with_me %] |
56 |
<option value="[% publicvirtualshelve.shelfnumber %]">[% publicvirtualshelve.shelfname | html%]</option> |
56 |
<option value="[% private_shelf.shelfnumber %]">[% private_shelf.shelfname | html%]</option> |
57 |
[% END %] |
57 |
[% END %] |
58 |
</optgroup> |
58 |
</optgroup> |
59 |
[% END %] |
59 |
[% END %] |
60 |
</select> |
60 |
[% IF public_shelves.count %] |
61 |
</li> |
61 |
<optgroup label="Public lists"> |
62 |
</ol> |
62 |
[% FOREACH public_shelf IN public_shelves %] |
|
|
63 |
<option value="[% public_shelf.shelfnumber %]">[% public_shelf.shelfname | html%]</option> |
64 |
[% END %] |
65 |
</optgroup> |
66 |
[% END %] |
67 |
</select> |
68 |
</li> |
69 |
</ol> |
63 |
[% FOREACH biblio IN biblios %]<input type="hidden" name="biblionumber" value="[% biblio.biblionumber %]" />[% END %] |
70 |
[% FOREACH biblio IN biblios %]<input type="hidden" name="biblionumber" value="[% biblio.biblionumber %]" />[% END %] |
64 |
[% UNLESS ( biblionumbers ) %] |
71 |
[% UNLESS ( biblionumbers ) %] |
65 |
<input type="hidden" name="biblionumber" value="[% biblionumber %]" /> |
72 |
<input type="hidden" name="biblionumber" value="[% biblionumber %]" /> |
Lines 100-105
Link Here
|
100 |
|
107 |
|
101 |
<!-- SAVE --> |
108 |
<!-- SAVE --> |
102 |
<fieldset class="action"> |
109 |
<fieldset class="action"> |
|
|
110 |
<input type="hidden" name="sortfield" value="title" /> |
103 |
<input type="submit" value="Save" class="submit" /> <a class="close cancel" href="#">Cancel</a> |
111 |
<input type="submit" value="Save" class="submit" /> <a class="close cancel" href="#">Cancel</a> |
104 |
</fieldset> |
112 |
</fieldset> |
105 |
</form> |
113 |
</form> |