View | Details | Raw Unified | Return to bug 10858
Collapse All | Expand All

(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-results.tt (-14 / +7 lines)
Lines 215-234 Link Here
215
                                        <tr>
215
                                        <tr>
216
                                            [% # Cell 1: Checkbox %]
216
                                            [% # Cell 1: Checkbox %]
217
                                            <td class="select selectcol">
217
                                            <td class="select selectcol">
218
                                                [% IF Koha.Preference( 'opacbookbag' ) == 1 %]
218
                                                [% IF
219
                                                     ( Koha.Preference('opacbookbag') == 1 )
220
                                                  || ( Koha.Preference('virtualshelves') == 1 )
221
                                                  || ( Koha.Preference('OpacBrowseResults') == 1 )
222
                                                  || ( Koha.Preference('RequestOnOpac') == 1 && (not SEARCH_RESULT.norequests) && Koha.Preference('opacuserlogin') )
223
                                                %]
219
                                                    <input type="checkbox" class="cb" id="bib[% SEARCH_RESULT.biblionumber | html %]" name="biblionumber" value="[% SEARCH_RESULT.biblionumber | html %]" /> <label for="bib[% SEARCH_RESULT.biblionumber | html %]"></label>
224
                                                    <input type="checkbox" class="cb" id="bib[% SEARCH_RESULT.biblionumber | html %]" name="biblionumber" value="[% SEARCH_RESULT.biblionumber | html %]" /> <label for="bib[% SEARCH_RESULT.biblionumber | html %]"></label>
220
                                                [% ELSE %]
225
                                                [% END %]
221
                                                    [% IF Koha.Preference( 'virtualshelves' ) == 1 %]
222
                                                        <input type="checkbox" class="cb" id="bib[% SEARCH_RESULT.biblionumber | html %]" name="biblionumber" value="[% SEARCH_RESULT.biblionumber | html %]" /> <label for="bib[% SEARCH_RESULT.biblionumber | html %]"></label>
223
                                                    [% ELSE %]
224
                                                        [% IF Koha.Preference( 'RequestOnOpac' ) == 1 %]
225
                                                            [% UNLESS ( SEARCH_RESULT.norequests ) %]
226
                                                                [% IF Koha.Preference( 'opacuserlogin' ) == 1 %]<input type="checkbox" class="cb" id="bib[% SEARCH_RESULT.biblionumber | html %]" name="biblionumber" value="[% SEARCH_RESULT.biblionumber | html %]" /> <label for="bib[% SEARCH_RESULT.biblionumber | html %]"></label>
227
                                                                [% END %]
228
                                                            [% END %]
229
                                                        [% END # IF RequestOnOpac %]
230
                                                    [% END # IF virtualshelves %]
231
                                                [% END # IF opacbookbag%]
232
                                            </td>
226
                                            </td>
233
                                            [% # Cell 2: Show result number if OpacHiddenItems is empty %]
227
                                            [% # Cell 2: Show result number if OpacHiddenItems is empty %]
234
                                            <td class="select selectcol">
228
                                            <td class="select selectcol">
235
- 

Return to bug 10858