Lines 211-227
Link Here
|
211 |
</div> |
211 |
</div> |
212 |
|
212 |
|
213 |
<div class="links"> |
213 |
<div class="links"> |
214 |
[% IF ( ( Koha.Preference( 'opacbookbag' ) == 1 ) || ( Koha.Preference( 'virtualshelves' ) == 1 ) || loggedinusername ) %] |
214 |
[% IF ( ( Koha.Preference( 'opacbookbag' ) == 1 ) || ( Koha.Preference( 'opacuserlogin' ) == 1 && Koha.Preference('virtualshelves') ) || loggedinusername ) %] |
215 |
<span class="selections">Select titles to:</span> |
215 |
<span class="selections">Select titles to:</span> |
216 |
[% END %] |
216 |
[% END %] |
217 |
[% IF Koha.Preference( 'opacbookbag' ) == 1 OR Koha.Preference('virtualshelves') %] |
217 |
[% IF ( ( Koha.Preference( 'opacbookbag' ) == 1 ) || ( Koha.Preference( 'opacuserlogin' ) == 1 && Koha.Preference('virtualshelves') ) ) %] |
218 |
<span class="addto"> |
218 |
<span class="addto"> |
219 |
<select class="disabled form-control form-control-sm" name="addto" id="addto"> |
219 |
<select class="disabled form-control form-control-sm" name="addto" id="addto"> |
220 |
<option>Add to...</option> |
220 |
<option>Add to...</option> |
221 |
[% IF Koha.Preference( 'opacbookbag' ) == 1 %] |
221 |
[% IF Koha.Preference( 'opacbookbag' ) == 1 %] |
222 |
<option value="addtocart">Cart</option> |
222 |
<option value="addtocart">Cart</option> |
223 |
[% END %] |
223 |
[% END %] |
224 |
[% IF Koha.Preference('virtualshelves') %] |
224 |
[% IF Koha.Preference('virtualshelves') && Koha.Preference('opacuserlogin') == 1 %] |
225 |
[% IF loggedinusername AND add_to_some_private_shelves.count %] |
225 |
[% IF loggedinusername AND add_to_some_private_shelves.count %] |
226 |
<optgroup label="Your lists:"> |
226 |
<optgroup label="Your lists:"> |
227 |
[% SET number_of_private_shelves = 0 %] |
227 |
[% SET number_of_private_shelves = 0 %] |
Lines 250-256
Link Here
|
250 |
<option value="morelists">[ More lists ]</option> |
250 |
<option value="morelists">[ More lists ]</option> |
251 |
[% END %] |
251 |
[% END %] |
252 |
<option value="newlist">[ New list ]</option> |
252 |
<option value="newlist">[ New list ]</option> |
253 |
[% END # /IF virtualshelves %] |
253 |
[% END # /IF virtualshelves and opacuserlogin %] |
254 |
</select> |
254 |
</select> |
255 |
<input type="submit" class="btn btn-sm btn-primary" value="Save" /> |
255 |
<input type="submit" class="btn btn-sm btn-primary" value="Save" /> |
256 |
</span> |
256 |
</span> |
257 |
- |
|
|