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

(-)a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl (-3 / +9 lines)
Lines 296-305 Link Here
296
                <xsl:with-param name="label">Publisher: </xsl:with-param>
296
                <xsl:with-param name="label">Publisher: </xsl:with-param>
297
            </xsl:call-template>
297
            </xsl:call-template>
298
        </xsl:if>
298
        </xsl:if>
299
        
299
300
        <xsl:if test="marc:datafield[@tag=260]">
300
        <xsl:if test="marc:datafield[@tag=260]">
301
        <span class="results_summary publisher"><span class="label">Publisher: </span>
301
        <span class="results_summary publisher"><span class="label">Publisher: </span>
302
            <xsl:for-each select="marc:datafield[@tag=260]">
302
            <xsl:for-each select="marc:datafield[@tag=260]">
303
                <xsl:if test="marc:subfield[@code='a']">
304
                    <xsl:call-template name="subfieldSelect">
305
                        <xsl:with-param name="codes">a</xsl:with-param>
306
                    </xsl:call-template>
307
                </xsl:if>
308
                <xsl:text> </xsl:text>
303
                <xsl:if test="marc:subfield[@code='b']">
309
                <xsl:if test="marc:subfield[@code='b']">
304
                <a href="/cgi-bin/koha/catalogue/search.pl?q=pb:{marc:subfield[@code='b']}">
310
                <a href="/cgi-bin/koha/catalogue/search.pl?q=pb:{marc:subfield[@code='b']}">
305
                    <xsl:call-template name="subfieldSelect">
311
                    <xsl:call-template name="subfieldSelect">
Lines 311-321 Link Here
311
                <xsl:call-template name="chopPunctuation">
317
                <xsl:call-template name="chopPunctuation">
312
                  <xsl:with-param name="chopString">
318
                  <xsl:with-param name="chopString">
313
                    <xsl:call-template name="subfieldSelect">
319
                    <xsl:call-template name="subfieldSelect">
314
                        <xsl:with-param name="codes">acg</xsl:with-param>
320
                        <xsl:with-param name="codes">cg</xsl:with-param>
315
                    </xsl:call-template>
321
                    </xsl:call-template>
316
                   </xsl:with-param>
322
                   </xsl:with-param>
317
               </xsl:call-template>
323
               </xsl:call-template>
318
                    <xsl:choose><xsl:when test="position()=last()"><xsl:text>.</xsl:text></xsl:when><xsl:otherwise><xsl:text>; </xsl:text></xsl:otherwise></xsl:choose>
324
                    <xsl:choose><xsl:when test="position()=last()"><xsl:text></xsl:text></xsl:when><xsl:otherwise><xsl:text>; </xsl:text></xsl:otherwise></xsl:choose>
319
            </xsl:for-each>
325
            </xsl:for-each>
320
        </span>
326
        </span>
321
        </xsl:if>
327
        </xsl:if>
(-)a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetResults.xsl (-4 / +20 lines)
Lines 769-782 Link Here
769
    </xsl:if>
769
    </xsl:if>
770
770
771
    <xsl:if test="marc:datafield[@tag=260]">
771
    <xsl:if test="marc:datafield[@tag=260]">
772
	<span class="results_summary">
772
        <span class="results_summary publisher"><span class="label">Publisher: </span>
773
    <span class="label">Publisher: </span>
774
            <xsl:for-each select="marc:datafield[@tag=260]">
773
            <xsl:for-each select="marc:datafield[@tag=260]">
774
                <xsl:if test="marc:subfield[@code='a']">
775
                    <xsl:call-template name="subfieldSelect">
775
                    <xsl:call-template name="subfieldSelect">
776
                        <xsl:with-param name="codes">abcg</xsl:with-param>
776
                        <xsl:with-param name="codes">a</xsl:with-param>
777
                    </xsl:call-template>
777
                    </xsl:call-template>
778
                </xsl:if>
779
                <xsl:text> </xsl:text>
780
                <xsl:if test="marc:subfield[@code='b']">
781
                    <xsl:call-template name="subfieldSelect">
782
                        <xsl:with-param name="codes">b</xsl:with-param>
783
                    </xsl:call-template>
784
                </xsl:if>
785
                <xsl:text> </xsl:text>
786
                <xsl:call-template name="chopPunctuation">
787
                  <xsl:with-param name="chopString">
788
                    <xsl:call-template name="subfieldSelect">
789
                        <xsl:with-param name="codes">cg</xsl:with-param>
790
                    </xsl:call-template>
791
                   </xsl:with-param>
792
                </xsl:call-template>
793
                <xsl:choose><xsl:when test="position()=last()"><xsl:text></xsl:text></xsl:when><xsl:otherwise><xsl:text>; </xsl:text></xsl:otherwise></xsl:choose>
778
            </xsl:for-each>
794
            </xsl:for-each>
779
	</span>
795
        </span>
780
    </xsl:if>
796
    </xsl:if>
781
797
782
    <!-- Other Title  Statement: Alternate Graphic Representation (MARC 880) -->
798
    <!-- Other Title  Statement: Alternate Graphic Representation (MARC 880) -->
(-)a/koha-tmpl/opac-tmpl/prog/en/xslt/MARC21slim2OPACDetail.xsl (-2 / +3 lines)
Lines 310-317 Link Here
310
                <xsl:if test="marc:subfield[@code='a']">
310
                <xsl:if test="marc:subfield[@code='a']">
311
                    <xsl:call-template name="subfieldSelect">
311
                    <xsl:call-template name="subfieldSelect">
312
                        <xsl:with-param name="codes">a</xsl:with-param>
312
                        <xsl:with-param name="codes">a</xsl:with-param>
313
                    </xsl:call-template>&nbsp;
313
                    </xsl:call-template>
314
                </xsl:if>
314
                </xsl:if>
315
                <xsl:text> </xsl:text>
315
                <xsl:if test="marc:subfield[@code='b']">
316
                <xsl:if test="marc:subfield[@code='b']">
316
                <a href="/cgi-bin/koha/opac-search.pl?q=pb:{marc:subfield[@code='b']}">
317
                <a href="/cgi-bin/koha/opac-search.pl?q=pb:{marc:subfield[@code='b']}">
317
                    <xsl:call-template name="subfieldSelect">
318
                    <xsl:call-template name="subfieldSelect">
Lines 327-333 Link Here
327
                    </xsl:call-template>
328
                    </xsl:call-template>
328
                   </xsl:with-param>
329
                   </xsl:with-param>
329
               </xsl:call-template>
330
               </xsl:call-template>
330
                    <xsl:choose><xsl:when test="position()=last()"><xsl:text>.</xsl:text></xsl:when><xsl:otherwise><xsl:text>; </xsl:text></xsl:otherwise></xsl:choose>
331
                    <xsl:choose><xsl:when test="position()=last()"><xsl:text></xsl:text></xsl:when><xsl:otherwise><xsl:text>; </xsl:text></xsl:otherwise></xsl:choose>
331
            </xsl:for-each>
332
            </xsl:for-each>
332
        </span>
333
        </span>
333
        </xsl:if>
334
        </xsl:if>
(-)a/koha-tmpl/opac-tmpl/prog/en/xslt/MARC21slim2OPACResults.xsl (-6 / +21 lines)
Lines 871-886 Link Here
871
        <xsl:with-param name="label">Publisher: </xsl:with-param>
871
        <xsl:with-param name="label">Publisher: </xsl:with-param>
872
      </xsl:call-template>
872
      </xsl:call-template>
873
    </xsl:if>
873
    </xsl:if>
874
        
874
875
    <xsl:if test="marc:datafield[@tag=260]">
875
    <xsl:if test="marc:datafield[@tag=260]">
876
	<span class="results_summary">
876
        <span class="results_summary publisher"><span class="label">Publisher: </span>
877
    <span class="label">Publisher: </span> 
878
            <xsl:for-each select="marc:datafield[@tag=260]">
877
            <xsl:for-each select="marc:datafield[@tag=260]">
878
                <xsl:if test="marc:subfield[@code='a']">
879
                    <xsl:call-template name="subfieldSelect">
880
                        <xsl:with-param name="codes">a</xsl:with-param>
881
                    </xsl:call-template>
882
                </xsl:if>
883
                <xsl:text> </xsl:text>
884
                <xsl:if test="marc:subfield[@code='b']">
879
                    <xsl:call-template name="subfieldSelect">
885
                    <xsl:call-template name="subfieldSelect">
880
                        <xsl:with-param name="codes">abcg</xsl:with-param>
886
                        <xsl:with-param name="codes">b</xsl:with-param>
881
                    </xsl:call-template>
887
                    </xsl:call-template>
888
                </xsl:if>
889
                <xsl:text> </xsl:text>
890
                <xsl:call-template name="chopPunctuation">
891
                  <xsl:with-param name="chopString">
892
                    <xsl:call-template name="subfieldSelect">
893
                        <xsl:with-param name="codes">cg</xsl:with-param>
894
                    </xsl:call-template>
895
                   </xsl:with-param>
896
                </xsl:call-template>
897
                <xsl:choose><xsl:when test="position()=last()"><xsl:text></xsl:text></xsl:when><xsl:otherwise><xsl:text>; </xsl:text></xsl:otherwise></xsl:choose>
882
            </xsl:for-each>
898
            </xsl:for-each>
883
	</span>
899
        </span>
884
    </xsl:if>
900
    </xsl:if>
885
901
886
    <!-- Other Title  Statement: Alternate Graphic Representation (MARC 880) -->
902
    <!-- Other Title  Statement: Alternate Graphic Representation (MARC 880) -->
887
- 

Return to bug 7845