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

(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt (-5 / +4 lines)
Lines 1348-1362 Link Here
1348
                                [% IF Koha.Preference('URLLinkText') %]
1348
                                [% IF Koha.Preference('URLLinkText') %]
1349
                                    [% IF trackclicks == 'track' || trackclicks == 'anonymous' %]
1349
                                    [% IF trackclicks == 'track' || trackclicks == 'anonymous' %]
1350
                                        [% IF Koha.Preference("OPACURLOpenInNewWindow") %]
1350
                                        [% IF Koha.Preference("OPACURLOpenInNewWindow") %]
1351
                                        <a target="_blank" rel="noreferrer" href="/cgi-bin/koha/tracklinks.pl?uri=[% ITEM_RESULT.uri | uri %]&amp;biblionumber=[% biblio.biblionumber | html %]&amp;itemnumber=[% ITEM_RESULT.itemnumber | url %]" property="url">[% Koha.Preference('URLLinkText') %]</a>
1351
                                        <a target="_blank" rel="noreferrer" href="/cgi-bin/koha/tracklinks.pl?uri=[% ITEM_RESULT.uri | uri %]&amp;biblionumber=[% biblio.biblionumber | html %]&amp;itemnumber=[% ITEM_RESULT.itemnumber | url %]" property="url">[% Koha.Preference('URLLinkText') | html %]</a>
1352
                                        [% ELSE %]
1352
                                        [% ELSE %]
1353
                                        <a href="/cgi-bin/koha/tracklinks.pl?uri=[% ITEM_RESULT.uri | uri %]&amp;biblionumber=[% biblio.biblionumber | uri %]&amp;itemnumber=[% ITEM_RESULT.itemnumber | url %]" property="url">[% Koha.Preference('URLLinkText') %]</a>
1353
                                        <a href="/cgi-bin/koha/tracklinks.pl?uri=[% ITEM_RESULT.uri | uri %]&amp;biblionumber=[% biblio.biblionumber | uri %]&amp;itemnumber=[% ITEM_RESULT.itemnumber | url %]" property="url">[% Koha.Preference('URLLinkText') | html %]</a>
1354
                                        [% END %]
1354
                                        [% END %]
1355
                                    [% ELSE %]
1355
                                    [% ELSE %]
1356
                                        [% IF Koha.Preference("OPACURLOpenInNewWindow") %]
1356
                                        [% IF Koha.Preference("OPACURLOpenInNewWindow") %]
1357
                                        <a target="_blank" rel="noreferrer" href="[% ITEM_RESULT.uri | url %]" property="url">[% Koha.Preference('URLLinkText') %]</a>
1357
                                        <a target="_blank" rel="noreferrer" href="[% ITEM_RESULT.uri | url %]" property="url">[% Koha.Preference('URLLinkText') | html %]</a>
1358
                                        [% ELSE %]
1358
                                        [% ELSE %]
1359
                                        <a href="[% ITEM_RESULT.uri | url %]" property="url">[% Koha.Preference('URLLinkText') %]</a>
1359
                                        <a href="[% ITEM_RESULT.uri | url %]" property="url">[% Koha.Preference('URLLinkText') | html %]</a>
1360
                                        [% END %]
1360
                                        [% END %]
1361
                                    [% END %]
1361
                                    [% END %]
1362
                                [% ELSE %]
1362
                                [% ELSE %]
1363
- 

Return to bug 15352