Changeset 37005
- Timestamp:
- 2022-12-09T22:47:23+13:00 (6 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/greenstone3/web/interfaces/default/transform/pages/document.xsl
r36979 r37005 18 18 <!-- We technically need this include. However, it is imported with toc.xsl --> 19 19 <!-- <xsl:include href="document-shared.xsl" /> --> 20 20 21 <xsl:variable name="docID" select="/page/pageRequest/paramList/param[@name='d']/@value"/> 22 21 23 <xsl:variable name="bookswitch"> 22 24 <xsl:choose> … … 87 89 <xsl:call-template name="documentNodeText"/> 88 90 </div> 91 <xsl:call-template name="documentPost"/> 89 92 </div> 90 93 </xsl:template> … … 478 481 </xsl:choose> 479 482 </div> 483 <xsl:call-template name="documentPost"/> 480 484 </div> 481 485 </xsl:when> … … 508 512 </xsl:for-each> 509 513 </div> 514 <xsl:call-template name="documentPost"/> 510 515 </div> 511 516 </xsl:when> … … 634 639 635 640 <xsl:choose> 636 <xsl:when test="metadataList/metadata[@name = 'Screen'] and metadataList/metadata[@name = 'SourceFile'] and ($imageWidth div $screenImageWidth > 1.2) and (not(/page/pageResponse/format[@type='display']/gsf:option[@name='disableZoom']) or /page/pageResponse/format[@type='display']/gsf:option[@name='disableZoom']/@value='false')"> 641 <!-- **** Should the test of 'Source' perhaps be changed to 'Image' to be more consistent with usage else where for showing an web friendy Image--> 642 <xsl:when test="metadataList/metadata[@name = 'Screen'] and metadataList/metadata[@name = 'Source'] and ($imageWidth div $screenImageWidth > 1.2) and (not(/page/pageResponse/format[@type='display']/gsf:option[@name='disableZoom']) or /page/pageResponse/format[@type='display']/gsf:option[@name='disableZoom']/@value='false')"> 637 643 <gsf:div id="tidyDiv" /> 638 644 <!-- adding a div with clear:both when the image doesn't nicely fit in beside the side bar. Otherwise, the divs stays up, but the image moves down and everything looks and acts weird. --> … … 660 666 </div> 661 667 <div id="large{util:replace(@nodeID, '.', '_')}" style="position: relative; width: {$imageWidth}px; height: {$imageHeight}px;"> 662 <gsf:link type="source"><gsf:image type=" source"/></gsf:link>668 <gsf:link type="source"><gsf:image type="image"/></gsf:link> 663 669 </div> 664 670 </div> … … 797 803 </xsl:if> 798 804 </xsl:template> 799 805 806 <xsl:template name="documentPost"> 807 <!-- empty by default, to be overridden as needed --> 808 </xsl:template> 809 810 800 811 <xsl:template name="mapFeatures"> 801 812 <div id="map_canvas" class="map_canvas_full"><xsl:text> </xsl:text></div>
Note:
See TracChangeset
for help on using the changeset viewer.