|
Lines 220-236
Link Here
|
| 220 |
</div> |
220 |
</div> |
| 221 |
|
221 |
|
| 222 |
<div class="links"> |
222 |
<div class="links"> |
| 223 |
[% IF ( ( Koha.Preference( 'opacbookbag' ) == 1 ) || ( Koha.Preference( 'virtualshelves' ) == 1 ) || loggedinusername ) %] |
223 |
[% IF ( ( Koha.Preference( 'opacbookbag' ) == 1 ) || ( Koha.Preference( 'opacuserlogin' ) == 1 && Koha.Preference('virtualshelves') ) || loggedinusername ) %] |
| 224 |
<span class="selections">Select titles to:</span> |
224 |
<span class="selections">Select titles to:</span> |
| 225 |
[% END %] |
225 |
[% END %] |
| 226 |
[% IF Koha.Preference( 'opacbookbag' ) == 1 OR Koha.Preference('virtualshelves') %] |
226 |
[% IF ( ( Koha.Preference( 'opacbookbag' ) == 1 ) || ( Koha.Preference( 'opacuserlogin' ) == 1 && Koha.Preference('virtualshelves') ) ) %] |
| 227 |
<span class="addto"> |
227 |
<span class="addto"> |
| 228 |
<select class="disabled form-control form-control-sm" name="addto" id="addto"> |
228 |
<select class="disabled form-control form-control-sm" name="addto" id="addto"> |
| 229 |
<option>Add to...</option> |
229 |
<option>Add to...</option> |
| 230 |
[% IF Koha.Preference( 'opacbookbag' ) == 1 %] |
230 |
[% IF Koha.Preference( 'opacbookbag' ) == 1 %] |
| 231 |
<option value="addtocart">Cart</option> |
231 |
<option value="addtocart">Cart</option> |
| 232 |
[% END %] |
232 |
[% END %] |
| 233 |
[% IF Koha.Preference('virtualshelves') %] |
233 |
[% IF Koha.Preference('virtualshelves') && Koha.Preference('opacuserlogin') == 1 %] |
| 234 |
[% IF loggedinusername AND add_to_some_private_shelves.count %] |
234 |
[% IF loggedinusername AND add_to_some_private_shelves.count %] |
| 235 |
<optgroup label="Your lists:"> |
235 |
<optgroup label="Your lists:"> |
| 236 |
[% SET number_of_private_shelves = 0 %] |
236 |
[% SET number_of_private_shelves = 0 %] |
|
Lines 259-265
Link Here
|
| 259 |
<option value="morelists">[ More lists ]</option> |
259 |
<option value="morelists">[ More lists ]</option> |
| 260 |
[% END %] |
260 |
[% END %] |
| 261 |
<option value="newlist">[ New list ]</option> |
261 |
<option value="newlist">[ New list ]</option> |
| 262 |
[% END # /IF virtualshelves %] |
262 |
[% END # /IF virtualshelves and opacuserlogin %] |
| 263 |
</select> |
263 |
</select> |
| 264 |
<input type="submit" class="btn btn-sm btn-primary" value="Save" /> |
264 |
<input type="submit" class="btn btn-sm btn-primary" value="Save" /> |
| 265 |
</span> |
265 |
</span> |
| 266 |
- |
|
|