Lines 26-31
Link Here
|
26 |
|
26 |
|
27 |
<xsl:variable name="SubjectModifier"><xsl:if test="marc:sysprefs/marc:syspref[@name='TraceCompleteSubfields']='1'">,complete-subfield</xsl:if></xsl:variable> |
27 |
<xsl:variable name="SubjectModifier"><xsl:if test="marc:sysprefs/marc:syspref[@name='TraceCompleteSubfields']='1'">,complete-subfield</xsl:if></xsl:variable> |
28 |
<xsl:variable name="UseAuthoritiesForTracings" select="marc:sysprefs/marc:syspref[@name='UseAuthoritiesForTracings']"/> |
28 |
<xsl:variable name="UseAuthoritiesForTracings" select="marc:sysprefs/marc:syspref[@name='UseAuthoritiesForTracings']"/> |
|
|
29 |
<xsl:variable name="AuthorLinkSortBy" select="marc:sysprefs/marc:syspref[@name='AuthorLinkSortBy']"/> |
30 |
<xsl:variable name="AuthorLinkSortOrder" select="marc:sysprefs/marc:syspref[@name='AuthorLinkSortOrder']"/> |
29 |
<xsl:variable name="TraceSubjectSubdivisions" select="marc:sysprefs/marc:syspref[@name='TraceSubjectSubdivisions']"/> |
31 |
<xsl:variable name="TraceSubjectSubdivisions" select="marc:sysprefs/marc:syspref[@name='TraceSubjectSubdivisions']"/> |
30 |
<xsl:variable name="Show856uAsImage" select="marc:sysprefs/marc:syspref[@name='OPACDisplay856uAsImage']"/> |
32 |
<xsl:variable name="Show856uAsImage" select="marc:sysprefs/marc:syspref[@name='OPACDisplay856uAsImage']"/> |
31 |
<xsl:variable name="OPACTrackClicks" select="marc:sysprefs/marc:syspref[@name='TrackClicks']"/> |
33 |
<xsl:variable name="OPACTrackClicks" select="marc:sysprefs/marc:syspref[@name='TrackClicks']"/> |
Lines 174-179
Link Here
|
174 |
<xsl:call-template name="showAuthor"> |
176 |
<xsl:call-template name="showAuthor"> |
175 |
<xsl:with-param name="authorfield" select="marc:datafield[(@tag=100 or @tag=110 or @tag=111)]"/> |
177 |
<xsl:with-param name="authorfield" select="marc:datafield[(@tag=100 or @tag=110 or @tag=111)]"/> |
176 |
<xsl:with-param name="UseAuthoritiesForTracings" select="$UseAuthoritiesForTracings"/> |
178 |
<xsl:with-param name="UseAuthoritiesForTracings" select="$UseAuthoritiesForTracings"/> |
|
|
179 |
<xsl:with-param name="AuthorLinkSortOrder" select="$AuthorLinkSortOrder"/> |
180 |
<xsl:with-param name="AuthorLinkSortBy" select="$AuthorLinkSortBy"/> |
177 |
<xsl:with-param name="materialTypeLabel" select="$materialTypeLabel"/> |
181 |
<xsl:with-param name="materialTypeLabel" select="$materialTypeLabel"/> |
178 |
<xsl:with-param name="theme" select="$theme"/> |
182 |
<xsl:with-param name="theme" select="$theme"/> |
179 |
</xsl:call-template> |
183 |
</xsl:call-template> |
Lines 182-187
Link Here
|
182 |
<!-- #13382 suppress 700$i and 7xx/@ind2=2 --> |
186 |
<!-- #13382 suppress 700$i and 7xx/@ind2=2 --> |
183 |
<xsl:with-param name="authorfield" select="marc:datafield[(@tag=700 or @tag=710 or @tag=711) and not(@ind2=2) and not(marc:subfield[@code='i'])]"/> |
187 |
<xsl:with-param name="authorfield" select="marc:datafield[(@tag=700 or @tag=710 or @tag=711) and not(@ind2=2) and not(marc:subfield[@code='i'])]"/> |
184 |
<xsl:with-param name="UseAuthoritiesForTracings" select="$UseAuthoritiesForTracings"/> |
188 |
<xsl:with-param name="UseAuthoritiesForTracings" select="$UseAuthoritiesForTracings"/> |
|
|
189 |
<xsl:with-param name="AuthorLinkSortOrder" select="$AuthorLinkSortOrder"/> |
190 |
<xsl:with-param name="AuthorLinkSortBy" select="$AuthorLinkSortBy"/> |
185 |
<xsl:with-param name="materialTypeLabel" select="$materialTypeLabel"/> |
191 |
<xsl:with-param name="materialTypeLabel" select="$materialTypeLabel"/> |
186 |
<xsl:with-param name="theme" select="$theme"/> |
192 |
<xsl:with-param name="theme" select="$theme"/> |
187 |
</xsl:call-template> |
193 |
</xsl:call-template> |
Lines 1802-1807
Link Here
|
1802 |
<xsl:template name="showAuthor"> |
1808 |
<xsl:template name="showAuthor"> |
1803 |
<xsl:param name="authorfield" /> |
1809 |
<xsl:param name="authorfield" /> |
1804 |
<xsl:param name="UseAuthoritiesForTracings" /> |
1810 |
<xsl:param name="UseAuthoritiesForTracings" /> |
|
|
1811 |
<xsl:param name="AuthorLinkSortBy"/> |
1812 |
<xsl:param name="AuthorLinkSortOrder"/> |
1805 |
<xsl:param name="materialTypeLabel" /> |
1813 |
<xsl:param name="materialTypeLabel" /> |
1806 |
<xsl:param name="theme" /> |
1814 |
<xsl:param name="theme" /> |
1807 |
<xsl:if test="count($authorfield)>0"> |
1815 |
<xsl:if test="count($authorfield)>0"> |
Lines 1831-1840
Link Here
|
1831 |
<a> |
1839 |
<a> |
1832 |
<xsl:choose> |
1840 |
<xsl:choose> |
1833 |
<xsl:when test="marc:subfield[@code=9] and $UseAuthoritiesForTracings='1'"> |
1841 |
<xsl:when test="marc:subfield[@code=9] and $UseAuthoritiesForTracings='1'"> |
1834 |
<xsl:attribute name="href">/cgi-bin/koha/opac-search.pl?q=an:"<xsl:value-of select="str:encode-uri(marc:subfield[@code=9], true())"/>"</xsl:attribute> |
1842 |
<xsl:attribute name="href"> |
|
|
1843 |
<xsl:text>/cgi-bin/koha/opac-search.pl?q=an:</xsl:text> |
1844 |
<xsl:value-of select="str:encode-uri(marc:subfield[@code=9], true())"/> |
1845 |
<xsl:if test="$AuthorLinkSortBy!='default'"> |
1846 |
<xsl:text>&sort_by=</xsl:text> |
1847 |
<xsl:value-of select="$AuthorLinkSortBy"/> |
1848 |
<xsl:text>_</xsl:text> |
1849 |
<xsl:value-of select="$AuthorLinkSortOrder" /> |
1850 |
</xsl:if> |
1851 |
</xsl:attribute> |
1835 |
</xsl:when> |
1852 |
</xsl:when> |
1836 |
<xsl:otherwise> |
1853 |
<xsl:otherwise> |
1837 |
<xsl:attribute name="href">/cgi-bin/koha/opac-search.pl?q=au:"<xsl:value-of select="str:encode-uri(marc:subfield[@code='a'], true())"/>"</xsl:attribute> |
1854 |
<xsl:attribute name="href"> |
|
|
1855 |
<xsl:text>/cgi-bin/koha/opac-search.pl?q=au:"</xsl:text> |
1856 |
<xsl:value-of select="str:encode-uri(marc:subfield[@code='a'], true())"/> |
1857 |
<xsl:text>"</xsl:text> |
1858 |
<xsl:if test="$AuthorLinkSortBy!='default'"> |
1859 |
<xsl:text>&sort_by=</xsl:text> |
1860 |
<xsl:value-of select="$AuthorLinkSortBy"/> |
1861 |
<xsl:text>_</xsl:text> |
1862 |
<xsl:value-of select="$AuthorLinkSortOrder" /> |
1863 |
</xsl:if> |
1864 |
</xsl:attribute> |
1838 |
</xsl:otherwise> |
1865 |
</xsl:otherwise> |
1839 |
</xsl:choose> |
1866 |
</xsl:choose> |
1840 |
<xsl:attribute name="class">contributors</xsl:attribute> |
1867 |
<xsl:attribute name="class">contributors</xsl:attribute> |