Lines 77-82
Link Here
|
77 |
</xsl:for-each> |
77 |
</xsl:for-each> |
78 |
</xsl:if> |
78 |
</xsl:if> |
79 |
|
79 |
|
|
|
80 |
<!-- OpenURL --> |
81 |
<xsl:variable name="OPACShowOpenURL" select="marc:sysprefs/marc:syspref[@name='OPACShowOpenURL']" /> |
82 |
<xsl:variable name="OpenURLResolverURL" select="marc:sysprefs/marc:syspref[@name='OpenURLResolverURL']" /> |
83 |
<xsl:variable name="OpenURLImageLocation" select="marc:sysprefs/marc:syspref[@name='OpenURLImageLocation']" /> |
84 |
<xsl:variable name="OpenURLText" select="marc:sysprefs/marc:syspref[@name='OpenURLText']" /> |
85 |
<xsl:variable name="COinS" select="marc:variables/marc:variable[@name='COinS']" /> |
86 |
|
87 |
<xsl:if test="$OPACShowOpenURL = 1 and $OpenURLResolverURL != '' and $COinS != ''"> |
88 |
<xsl:variable name="openurltext"> |
89 |
<xsl:choose> |
90 |
<xsl:when test="$OpenURLText != ''"> |
91 |
<xsl:value-of select="$OpenURLText" /> |
92 |
</xsl:when> |
93 |
<xsl:otherwise> |
94 |
<xsl:text>OpenURL</xsl:text> |
95 |
</xsl:otherwise> |
96 |
</xsl:choose> |
97 |
</xsl:variable> |
98 |
<xsl:variable name="openurlimagelocation"> |
99 |
<xsl:choose> |
100 |
<xsl:when test="starts-with($OpenURLImageLocation, 'http://') or starts-with($OpenURLImageLocation, 'https://')"> |
101 |
<xsl:value-of select="$OpenURLImageLocation" /> |
102 |
</xsl:when> |
103 |
<xsl:when test="$OpenURLImageLocation != ''"> |
104 |
<xsl:text>/opac-tmpl/prog/images/</xsl:text> |
105 |
<xsl:value-of select="$OpenURLImageLocation" /> |
106 |
</xsl:when> |
107 |
</xsl:choose> |
108 |
</xsl:variable> |
109 |
|
110 |
<span class="results_summary"><a> |
111 |
<xsl:attribute name="href"> |
112 |
<xsl:value-of select="$OpenURLResolverURL" /> |
113 |
<xsl:text>?</xsl:text> |
114 |
<xsl:value-of select="$COinS" /> |
115 |
</xsl:attribute> |
116 |
<xsl:attribute name="title"> |
117 |
<xsl:value-of select="$openurltext" /> |
118 |
</xsl:attribute> |
119 |
<xsl:attribute name="class"> |
120 |
<xsl:text>OpenURL</xsl:text> |
121 |
</xsl:attribute> |
122 |
<xsl:choose> |
123 |
<xsl:when test="$openurlimagelocation != ''"> |
124 |
<img> |
125 |
<xsl:attribute name="src"> |
126 |
<xsl:value-of select="$openurlimagelocation" /> |
127 |
</xsl:attribute> |
128 |
</img> |
129 |
</xsl:when> |
130 |
<xsl:otherwise> |
131 |
<xsl:value-of select="$openurltext" /> |
132 |
</xsl:otherwise> |
133 |
</xsl:choose> |
134 |
</a></span> |
135 |
</xsl:if> |
136 |
<!-- End of OpenURL --> |
137 |
|
80 |
<xsl:call-template name="tag_title"> |
138 |
<xsl:call-template name="tag_title"> |
81 |
<xsl:with-param name="tag">454</xsl:with-param> |
139 |
<xsl:with-param name="tag">454</xsl:with-param> |
82 |
<xsl:with-param name="label">Translation of</xsl:with-param> |
140 |
<xsl:with-param name="label">Translation of</xsl:with-param> |
83 |
- |
|
|