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

(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt (-1 / +5 lines)
Lines 353-359 Link Here
353
                            [% END %]
353
                            [% END %]
354
354
355
                            <span class="results_summary">
355
                            <span class="results_summary">
356
                                <a class="OpenURL" href="[% OpenURLResolverURL %]?[% ocoins %]" title="[% OpenURLText %]">
356
                                [% OpenURLTarget = '_self' %]
357
                                [% IF ( OPACURLOpenInNewWindow ) %]
358
                                    [% OpenURLTarget = '_blank' %]
359
                                [% END %]
360
                                <a class="OpenURL" href="[% OpenURLResolverURL %]?[% ocoins %]" title="[% OpenURLText %]" target="[% OpenURLTarget %]">
357
                                [% IF openurlimagelocation %]
361
                                [% IF openurlimagelocation %]
358
                                    <img src="[% openurlimagelocation %]" />
362
                                    <img src="[% openurlimagelocation %]" />
359
                                [% ELSIF OpenURLText %]
363
                                [% ELSIF OpenURLText %]
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-results.tt (-1 / +5 lines)
Lines 173-178 Link Here
173
                                    [% ELSE %]
173
                                    [% ELSE %]
174
                                        [% openurlimagelocation = "$OpenURLImageLocation" %]
174
                                        [% openurlimagelocation = "$OpenURLImageLocation" %]
175
                                    [% END %]
175
                                    [% END %]
176
                                    [% OpenURLTarget = '_self' %]
177
                                    [% IF ( OPACURLOpenInNewWindow ) %]
178
                                        [% OpenURLTarget = '_blank' %]
179
                                    [% END %]
176
180
177
                                    <!-- Actual Search Results -->
181
                                    <!-- Actual Search Results -->
178
                                    [% FOREACH SEARCH_RESULT IN SEARCH_RESULTS %]
182
                                    [% FOREACH SEARCH_RESULT IN SEARCH_RESULTS %]
Lines 325-331 Link Here
325
                                                        &nbsp;
329
                                                        &nbsp;
326
                                                    [% END %]
330
                                                    [% END %]
327
                                                    [% IF (SEARCH_RESULT.ShowOpenURL && OpenURLResolverURL && SEARCH_RESULT.coins) %]
331
                                                    [% IF (SEARCH_RESULT.ShowOpenURL && OpenURLResolverURL && SEARCH_RESULT.coins) %]
328
                                                        <a class="OpenURL" href="[% OpenURLResolverURL %]?[% SEARCH_RESULT.coins %]" title="[% OpenURLText %]">
332
                                                        <a class="OpenURL" href="[% OpenURLResolverURL %]?[% SEARCH_RESULT.coins %]" title="[% OpenURLText %]" target="[% OpenURLTarget %]">
329
                                                        [% IF openurlimagelocation %]
333
                                                        [% IF openurlimagelocation %]
330
                                                            <img src="[% openurlimagelocation %]" />
334
                                                            <img src="[% openurlimagelocation %]" />
331
                                                        [% ELSIF OpenURLText %]
335
                                                        [% ELSIF OpenURLText %]
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACDetail.xsl (+5 lines)
Lines 1024-1029 Link Here
1024
            <xsl:attribute name="class">
1024
            <xsl:attribute name="class">
1025
              <xsl:text>OpenURL</xsl:text>
1025
              <xsl:text>OpenURL</xsl:text>
1026
            </xsl:attribute>
1026
            </xsl:attribute>
1027
            <xsl:if test="$OPACURLOpenInNewWindow='1'">
1028
              <xsl:attribute name="target">
1029
                <xsl:text>_blank</xsl:text>
1030
              </xsl:attribute>
1031
            </xsl:if>
1027
            <xsl:choose>
1032
            <xsl:choose>
1028
              <xsl:when test="$openurlimagelocation != ''">
1033
              <xsl:when test="$openurlimagelocation != ''">
1029
                <img>
1034
                <img>
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACResults.xsl (+5 lines)
Lines 481-486 Link Here
481
        <xsl:attribute name="class">
481
        <xsl:attribute name="class">
482
          <xsl:text>OpenURL</xsl:text>
482
          <xsl:text>OpenURL</xsl:text>
483
        </xsl:attribute>
483
        </xsl:attribute>
484
        <xsl:if test="$OPACURLOpenInNewWindow='1'">
485
          <xsl:attribute name="target">
486
            <xsl:text>_blank</xsl:text>
487
          </xsl:attribute>
488
        </xsl:if>
484
        <xsl:choose>
489
        <xsl:choose>
485
          <xsl:when test="$openurlimagelocation != ''">
490
          <xsl:when test="$openurlimagelocation != ''">
486
            <img>
491
            <img>
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/xslt/UNIMARCslim2OPACDetail.xsl (+5 lines)
Lines 481-486 Link Here
481
      <xsl:attribute name="class">
481
      <xsl:attribute name="class">
482
        <xsl:text>OpenURL</xsl:text>
482
        <xsl:text>OpenURL</xsl:text>
483
      </xsl:attribute>
483
      </xsl:attribute>
484
      <xsl:if test="$OPACURLOpenInNewWindow='1'">
485
        <xsl:attribute name="target">
486
          <xsl:text>_blank</xsl:text>
487
        </xsl:attribute>
488
      </xsl:if>
484
      <xsl:choose>
489
      <xsl:choose>
485
        <xsl:when test="$openurlimagelocation != ''">
490
        <xsl:when test="$openurlimagelocation != ''">
486
          <img>
491
          <img>
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/xslt/UNIMARCslim2OPACResults.xsl (-1 / +5 lines)
Lines 119-124 Link Here
119
      <xsl:attribute name="class">
119
      <xsl:attribute name="class">
120
        <xsl:text>OpenURL</xsl:text>
120
        <xsl:text>OpenURL</xsl:text>
121
      </xsl:attribute>
121
      </xsl:attribute>
122
      <xsl:if test="$OPACURLOpenInNewWindow='1'">
123
        <xsl:attribute name="target">
124
          <xsl:text>_blank</xsl:text>
125
        </xsl:attribute>
126
      </xsl:if>
122
      <xsl:choose>
127
      <xsl:choose>
123
        <xsl:when test="$openurlimagelocation != ''">
128
        <xsl:when test="$openurlimagelocation != ''">
124
          <img>
129
          <img>
125
- 

Return to bug 8995