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 189-208 Link Here
189
                                        <tr>
189
                                        <tr>
190
                                            [% # Cell 1: Checkbox %]
190
                                            [% # Cell 1: Checkbox %]
191
                                            <td class="select selectcol">
191
                                            <td class="select selectcol">
192
                                                [% IF Koha.Preference( 'opacbookbag' ) == 1 %]
192
                                                [% IF
193
                                                     ( Koha.Preference('opacbookbag') == 1 )
194
                                                  || ( Koha.Preference('virtualshelves') == 1 )
195
                                                  || ( Koha.Preference('OpacBrowseResults') == 1 )
196
                                                  || ( Koha.Preference('RequestOnOpac') == 1 && (not SEARCH_RESULT.norequests) && Koha.Preference('opacuserlogin') )
197
                                                %]
193
                                                    <input type="checkbox" class="cb" id="bib[% SEARCH_RESULT.biblionumber %]" name="biblionumber" value="[% SEARCH_RESULT.biblionumber %]" /> <label for="bib[% SEARCH_RESULT.biblionumber %]"></label>
198
                                                    <input type="checkbox" class="cb" id="bib[% SEARCH_RESULT.biblionumber %]" name="biblionumber" value="[% SEARCH_RESULT.biblionumber %]" /> <label for="bib[% SEARCH_RESULT.biblionumber %]"></label>
194
                                                [% ELSE %]
199
                                                [% END %]
195
                                                    [% IF Koha.Preference( 'virtualshelves' ) == 1 %]
196
                                                        <input type="checkbox" class="cb" id="bib[% SEARCH_RESULT.biblionumber %]" name="biblionumber" value="[% SEARCH_RESULT.biblionumber %]" /> <label for="bib[% SEARCH_RESULT.biblionumber %]"></label>
197
                                                    [% ELSE %]
198
                                                        [% IF Koha.Preference( 'RequestOnOpac' ) == 1 %]
199
                                                            [% UNLESS ( SEARCH_RESULT.norequests ) %]
200
                                                                [% IF Koha.Preference( 'opacuserlogin' ) == 1 %]<input type="checkbox" class="cb" id="bib[% SEARCH_RESULT.biblionumber %]" name="biblionumber" value="[% SEARCH_RESULT.biblionumber %]" /> <label for="bib[% SEARCH_RESULT.biblionumber %]"></label>
201
                                                                [% END %]
202
                                                            [% END %]
203
                                                        [% END # IF RequestOnOpac %]
204
                                                    [% END # IF virtualshelves %]
205
                                                [% END # IF opacbookbag%]
206
                                            </td>
200
                                            </td>
207
                                            [% # Cell 2: Show result number if OpacHiddenItems is empty %]
201
                                            [% # Cell 2: Show result number if OpacHiddenItems is empty %]
208
                                            <td class="select selectcol">
202
                                            <td class="select selectcol">
209
- 

Return to bug 10858