| Lines 1182-1219
          
      
      
        Link Here | 
        
          | 1182 |  | 1182 |  | 
        
          | 1183 |     <!-- Content Warning --> | 1183 |     <!-- Content Warning --> | 
        
          | 1184 |     <xsl:variable name="ContentWarningField" select="marc:sysprefs/marc:syspref[@name='ContentWarningField']"/> | 1184 |     <xsl:variable name="ContentWarningField" select="marc:sysprefs/marc:syspref[@name='ContentWarningField']"/> | 
          
            
              | 1185 |     <xsl:if test="marc:datafield[@tag=$ContentWarningField]"> | 1185 |     <xsl:call-template name="content-warning"> | 
            
              | 1186 |         <span class="results_summary content_warning"> | 1186 |         <xsl:with-param name="tag" select="$ContentWarningField" /> | 
            
              | 1187 |             <span class="label">Content warning: </span> | 1187 |     </xsl:call-template> | 
            
              | 1188 |             <xsl:for-each select="marc:datafield[@tag=$ContentWarningField]"> |  |  | 
            
              | 1189 |                 <xsl:choose> | 
            
              | 1190 |                        <xsl:when test="marc:subfield[@code='u']"> | 
            
              | 1191 |                            <a> | 
            
              | 1192 |                                <xsl:attribute name="href"> | 
            
              | 1193 |                                    <xsl:value-of select="marc:subfield[@code='u']"/> | 
            
              | 1194 |                                </xsl:attribute> | 
            
              | 1195 |                                <xsl:choose> | 
            
              | 1196 |                                    <xsl:when test="marc:subfield[@code='a']"> | 
            
              | 1197 |                                        <xsl:value-of select="marc:subfield[@code='a']"/> | 
            
              | 1198 |                     </xsl:when> | 
            
              | 1199 |                     <xsl:otherwise> | 
            
              | 1200 |                                        <xsl:value-of select="marc:subfield[@code='u']"/> | 
            
              | 1201 |                                    </xsl:otherwise> | 
            
              | 1202 |                                </xsl:choose> | 
            
              | 1203 |                            </a> | 
            
              | 1204 |                            <xsl:text> </xsl:text> | 
            
              | 1205 |                        </xsl:when> | 
            
              | 1206 |                        <xsl:when test="not(marc:subfield[@code='u']) and marc:subfield[@code='a']"> | 
            
              | 1207 |                            <xsl:value-of select="marc:subfield[@code='a']"/><xsl:text> </xsl:text> | 
            
              | 1208 |                        </xsl:when> | 
            
              | 1209 |                    </xsl:choose> | 
            
              | 1210 |                         <xsl:call-template name="subfieldSelect"> | 
            
              | 1211 |                         <xsl:with-param name="codes">bcdefghijklmnopqrstvwyz</xsl:with-param> | 
            
              | 1212 |                         </xsl:call-template> | 
            
              | 1213 |                 <xsl:if test="position()!=last()"><span class="separator"><xsl:text> | </xsl:text></span></xsl:if> | 
            
              | 1214 |             </xsl:for-each> | 
            
              | 1215 |         </span> | 
            
              | 1216 |     </xsl:if> | 
        
          | 1217 |  | 1188 |  | 
        
          | 1218 |     <xsl:if test="marc:datafield[@tag=856]"> | 1189 |     <xsl:if test="marc:datafield[@tag=856]"> | 
        
          | 1219 |         <xsl:if test="marc:datafield[@tag=856]/marc:subfield[@code='u']"> | 1190 |         <xsl:if test="marc:datafield[@tag=856]/marc:subfield[@code='u']"> |