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

(-)a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl (-31 / +25 lines)
Lines 284-325 Link Here
284
                <span class="results_summary publisher"><span class="label">Publication details: </span>
284
                <span class="results_summary publisher"><span class="label">Publication details: </span>
285
                    <xsl:for-each select="marc:datafield[@tag=260]">
285
                    <xsl:for-each select="marc:datafield[@tag=260]">
286
                        <xsl:for-each select="marc:subfield">
286
                        <xsl:for-each select="marc:subfield">
287
                        <xsl:if test="@code='a'">
287
                            <xsl:if test="@code='a'">
288
                            <a>
288
                                <a>
289
                                <xsl:attribute name="href">/cgi-bin/koha/catalogue/search.pl?q=pl:"<xsl:value-of select="str:encode-uri(current(), true())"/>"</xsl:attribute>
289
                                    <xsl:attribute name="href">/cgi-bin/koha/catalogue/search.pl?q=pl:"<xsl:value-of select="str:encode-uri(current(), true())"/>"</xsl:attribute>
290
                                <xsl:value-of select="current()"/>
290
                                    <xsl:value-of select="current()"/>
291
                            </a>
291
                                </a>
292
                            <xsl:if test="position() != last()">
292
                            </xsl:if>
293
                                <xsl:text> </xsl:text>
293
                            <xsl:if test="@code='b'">
294
                                <a>
295
                                    <xsl:attribute name="href">/cgi-bin/koha/catalogue/search.pl?q=Provider:"<xsl:value-of select="str:encode-uri(current(), true())"/>"</xsl:attribute>
296
                                    <xsl:value-of select="current()"/>
297
                                </a>
298
                            </xsl:if>
299
                            <xsl:if test="@code='c'">
300
                                <a>
301
                                    <xsl:attribute name="href">/cgi-bin/koha/catalogue/search.pl?q=copydate:"<xsl:value-of select="str:encode-uri(current(), true())"/>"</xsl:attribute>
302
                                    <xsl:value-of select="current()"/>
303
                                </a>
304
                            </xsl:if>
305
                            <xsl:if test="@code='g'">
306
                                <xsl:call-template name="chopPunctuation">
307
                                   <xsl:with-param name="chopString">
308
                                      <xsl:value-of select="current()"/>
309
                                   </xsl:with-param>
310
                                </xsl:call-template>
294
                            </xsl:if>
311
                            </xsl:if>
295
                            <xsl:text> </xsl:text>
296
                        </xsl:if>
297
                        <xsl:if test="@code='b'">
298
                            <a>
299
                                <xsl:attribute name="href">/cgi-bin/koha/catalogue/search.pl?q=Provider:"<xsl:value-of select="str:encode-uri(current(), true())"/>"</xsl:attribute>
300
                                <xsl:value-of select="current()"/>
301
                            </a>
302
                            <xsl:text> </xsl:text>
303
                        </xsl:if>
304
                        <xsl:if test="@code='c'">
305
                            <a>
306
                                <xsl:attribute name="href">/cgi-bin/koha/catalogue/search.pl?q=copydate:"<xsl:value-of select="str:encode-uri(current(), true())"/>"</xsl:attribute>
307
                                <xsl:value-of select="current()"/>
308
                            </a>
309
                            <xsl:if test="position() != last()">
312
                            <xsl:if test="position() != last()">
310
                                <xsl:text> </xsl:text>
313
                                <xsl:text> </xsl:text>
311
                            </xsl:if>
314
                            </xsl:if>
312
                            <xsl:text> </xsl:text>
313
                        </xsl:if>
314
                        <xsl:if test="@code='g'">
315
                            <xsl:call-template name="chopPunctuation">
316
                               <xsl:with-param name="chopString">
317
                                  <xsl:value-of select="current()"/>
318
                               </xsl:with-param>
319
                            </xsl:call-template>
320
                        </xsl:if>
321
                        </xsl:for-each>
315
                        </xsl:for-each>
322
                            <xsl:choose><xsl:when test="position()=last()"><xsl:text></xsl:text></xsl:when><xsl:otherwise><xsl:text>; </xsl:text></xsl:otherwise></xsl:choose>
316
                        <xsl:choose><xsl:when test="position()=last()"><xsl:text></xsl:text></xsl:when><xsl:otherwise><xsl:text>; </xsl:text></xsl:otherwise></xsl:choose>
323
                    </xsl:for-each>
317
                    </xsl:for-each>
324
                </span>
318
                </span>
325
            </xsl:when>
319
            </xsl:when>
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACDetail.xsl (-43 / +36 lines)
Lines 326-374 Link Here
326
             <span class="results_summary publisher"><span class="label">Publication details: </span>
326
             <span class="results_summary publisher"><span class="label">Publication details: </span>
327
                 <xsl:for-each select="marc:datafield[@tag=260]">
327
                 <xsl:for-each select="marc:datafield[@tag=260]">
328
                     <xsl:for-each select="marc:subfield">
328
                     <xsl:for-each select="marc:subfield">
329
                     <xsl:if test="@code='a'">
329
                         <xsl:if test="@code='a'">
330
                         <span property="publisher" typeof="Organization">
330
                             <span class="publisher_place" property="location">
331
                            <span class="publisher_place" property="location">
331
                                 <a>
332
                                <a>
332
                                     <xsl:attribute name="href">/cgi-bin/koha/opac-search.pl?q=pl:"<xsl:value-of select="str:encode-uri(current(), true())"/>"</xsl:attribute>
333
                                    <xsl:attribute name="href">/cgi-bin/koha/opac-search.pl?q=pl:"<xsl:value-of select="str:encode-uri(current(), true())"/>"</xsl:attribute>
333
                                     <xsl:value-of select="current()"/>
334
                                    <xsl:value-of select="current()"/>
334
                                 </a>
335
                                </a>
335
                             </span>
336
                         </xsl:if>
337
                         <xsl:if test="@code='b'">
338
                             <span property="publisher" typeof="Organization">
339
                                 <span property="name" class="publisher_name">
340
                                     <a><xsl:attribute name="href">/cgi-bin/koha/opac-search.pl?q=Provider:<xsl:value-of select="str:encode-uri(current(), true())"/></xsl:attribute>
341
                                         <xsl:value-of select="current()"/>
342
                                    </a>
343
                                 </span>
344
                             </span>
345
                         </xsl:if>
346
                         <xsl:if test="@code='c'">
347
                             <span property="datePublished" class="publisher_date">
348
                                 <a>
349
                                     <xsl:attribute name="href">/cgi-bin/koha/opac-search.pl?q=copydate:"<xsl:value-of select="str:encode-uri(current(), true())"/>"</xsl:attribute>
350
                                     <xsl:value-of select="current()"/>
351
                                 </a>
352
                             </span>
353
                         </xsl:if>
354
                         <xsl:if test="@code='g'">
355
                            <span property="datePublished" class="publisher_date">
356
                               <xsl:call-template name="chopPunctuation">
357
                                   <xsl:with-param name="chopString">
358
                                     <xsl:value-of select="current()"/>
359
                                    </xsl:with-param>
360
                                </xsl:call-template>
336
                            </span>
361
                            </span>
337
                         </span>
362
                         </xsl:if>
338
                            <xsl:if test="position() != last()">
363
                         <xsl:if test="position() != last()">
339
                                <xsl:text> </xsl:text>
364
                             <xsl:text> </xsl:text>
340
                            </xsl:if>
365
                         </xsl:if>
341
                         <xsl:text> </xsl:text>
342
                     </xsl:if>
343
                     <xsl:if test="@code='b'">
344
                        <span property="name" class="publisher_name">
345
                            <a><xsl:attribute name="href">/cgi-bin/koha/opac-search.pl?q=Provider:<xsl:value-of select="str:encode-uri(current(), true())"/></xsl:attribute>
346
                                <xsl:value-of select="current()"/>
347
                            </a>
348
                        </span>
349
                        <xsl:text> </xsl:text>
350
                     </xsl:if>
351
                     <xsl:if test="@code='c'">
352
                         <span property="datePublished" class="publisher_date">
353
                             <a>
354
                                 <xsl:attribute name="href">/cgi-bin/koha/opac-search.pl?q=copydate:"<xsl:value-of select="str:encode-uri(current(), true())"/>"</xsl:attribute>
355
                                 <xsl:value-of select="current()"/>
356
                             </a>
357
                             <xsl:if test="position() != last()">
358
                                 <xsl:text> </xsl:text>
359
                             </xsl:if>
360
                         </span>
361
                         <xsl:text> </xsl:text>
362
                     </xsl:if>
363
                     <xsl:if test="@code='g'">
364
                        <span property="datePublished" class="publisher_date">
365
                           <xsl:call-template name="chopPunctuation">
366
                               <xsl:with-param name="chopString">
367
                                 <xsl:value-of select="current()"/>
368
                                </xsl:with-param>
369
                            </xsl:call-template>
370
                        </span>
371
                     </xsl:if>
372
                     </xsl:for-each>
366
                     </xsl:for-each>
373
                     <xsl:choose><xsl:when test="position()=last()"><xsl:text></xsl:text></xsl:when><xsl:otherwise><xsl:text>; </xsl:text></xsl:otherwise></xsl:choose>
367
                     <xsl:choose><xsl:when test="position()=last()"><xsl:text></xsl:text></xsl:when><xsl:otherwise><xsl:text>; </xsl:text></xsl:otherwise></xsl:choose>
374
                 </xsl:for-each>
368
                 </xsl:for-each>
375
- 

Return to bug 15594