Changeset 30560

Show
Ignore:
Timestamp:
02.06.2016 14:41:42 (3 years ago)
Author:
kjdon
Message:

added in basic handling for HTML type classifiers

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone3/web/interfaces/default/transform/classifiertools.xsl

    r29279 r30560  
    173173                </xsl:for-each> 
    174174            </xsl:when> 
    175             <xsl:otherwise/> 
     175            <xsl:when test="@childType = 'HTML'"> 
     176              <xsl:variable name="URL"><xsl:value-of select="documentNode/@nodeID"/></xsl:variable> 
     177      <iframe width="100%" height="600" frameborder="0"><xsl:attribute name="src"><xsl:value-of select="$URL"/></xsl:attribute>Frame for <xsl:value-of select="$URL"/></iframe> 
     178            </xsl:when> 
     179            <xsl:otherwise> 
     180              we are in the other wise 
     181            </xsl:otherwise> 
    176182        </xsl:choose> 
    177183    </xsl:template>