Loading plugins/img_viewer/img_viewer.xsl +9 −10 Original line number Diff line number Diff line Loading @@ -40,14 +40,7 @@ </div> </xsl:template> <xsl:template match="tei:graphic|ead:dao"> <xsl:variable name="href"> <xsl:value-of select="concat($baseuri,$project,'/',$imagesRepository ,@url)"/> </xsl:variable> <xsl:variable name="id"> <xsl:value-of select="generate-id(.) "/> </xsl:variable> <xsl:variable name="link"> <xsl:choose> <xsl:when test="@url"> Loading @@ -58,15 +51,21 @@ </xsl:otherwise> </xsl:choose> </xsl:variable> <xsl:variable name="href"> <xsl:value-of select="concat($baseuri,$project,'/',$imagesRepository ,$link)"/> </xsl:variable> <xsl:variable name="id"> <xsl:value-of select="generate-id(.) "/> </xsl:variable> <img class="viewable img_viewer_link" id="{$id}"> <xsl:attribute name="onclick">MAX.plugins['img_viewer'].openImageInDialog('<xsl:value-of select="$href"/>')</xsl:attribute> <xsl:attribute name="src"> <xsl:value-of select="concat($baseuri,$project,'/',$imagesRepository,$link)"/> <xsl:value-of select="concat($baseuri,$project, '/ui/images/',$link)"/> </xsl:attribute> </img> </xsl:template> <xsl:template match="ead:dao[@xlink:role!='']"> <!-- <xsl:template match="ead:dao[@xlink:role!='']"> <xsl:variable name="resource"> <xsl:value-of select="concat($baseuri,$project,'/ui/js/')"/> <xsl:value-of select="ancestor::ead:c[@otherlevel='manuscrit'][1]/@id"/> Loading @@ -79,7 +78,7 @@ <xsl:text>')</xsl:text> </xsl:attribute> </img> </xsl:template> </xsl:template> --> <xsl:template match="ead:daogrp"> <div id="diaporama"> Loading Loading
plugins/img_viewer/img_viewer.xsl +9 −10 Original line number Diff line number Diff line Loading @@ -40,14 +40,7 @@ </div> </xsl:template> <xsl:template match="tei:graphic|ead:dao"> <xsl:variable name="href"> <xsl:value-of select="concat($baseuri,$project,'/',$imagesRepository ,@url)"/> </xsl:variable> <xsl:variable name="id"> <xsl:value-of select="generate-id(.) "/> </xsl:variable> <xsl:variable name="link"> <xsl:choose> <xsl:when test="@url"> Loading @@ -58,15 +51,21 @@ </xsl:otherwise> </xsl:choose> </xsl:variable> <xsl:variable name="href"> <xsl:value-of select="concat($baseuri,$project,'/',$imagesRepository ,$link)"/> </xsl:variable> <xsl:variable name="id"> <xsl:value-of select="generate-id(.) "/> </xsl:variable> <img class="viewable img_viewer_link" id="{$id}"> <xsl:attribute name="onclick">MAX.plugins['img_viewer'].openImageInDialog('<xsl:value-of select="$href"/>')</xsl:attribute> <xsl:attribute name="src"> <xsl:value-of select="concat($baseuri,$project,'/',$imagesRepository,$link)"/> <xsl:value-of select="concat($baseuri,$project, '/ui/images/',$link)"/> </xsl:attribute> </img> </xsl:template> <xsl:template match="ead:dao[@xlink:role!='']"> <!-- <xsl:template match="ead:dao[@xlink:role!='']"> <xsl:variable name="resource"> <xsl:value-of select="concat($baseuri,$project,'/ui/js/')"/> <xsl:value-of select="ancestor::ead:c[@otherlevel='manuscrit'][1]/@id"/> Loading @@ -79,7 +78,7 @@ <xsl:text>')</xsl:text> </xsl:attribute> </img> </xsl:template> </xsl:template> --> <xsl:template match="ead:daogrp"> <div id="diaporama"> Loading