Ignore:
Timestamp:
2017-03-30T12:07:18+13:00 (7 years ago)
Author:
kjdon
Message:

moved map and panorama templates into their own stylesheets. Note I haven't tested them yet.

File:
1 edited

Legend:

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

    r30889 r31550  
    88    exclude-result-prefixes="java util gsf">
    99
    10  
     10  <xsl:import href="map-tools.xsl"/>
     11  <xsl:import href="panorama-viewer-tools.xsl"/>
     12
    1113    <xsl:template match="classifier">
    1214        <xsl:param name="collName"/>
     
    5052
    5153
     54    <!-- is this ever used either??? -->
    5255    <xsl:template match="documentNode">
    5356        <xsl:param name="collName"/>
     
    5861 
    5962    <!-- icon + title template-->
     63    <!-- is this ever used??? -->
    6064    <xsl:template match="classifierNode">
    6165        <xsl:param name="collName"/>
     
    206210    </xsl:template>
    207211
    208     <xsl:template name="mapFeaturesIcon">
    209         <td style="padding-left:5px; padding-right:5px;" valign="top">
    210             <a href="javascript:focusDocument('{@nodeID}');"><img src="interfaces/{$interface_name}/images/map_marker.png"/></a>
    211         </td>
    212     </xsl:template>
    213 
    214 
    215     <xsl:template name="panoramaViewerFeaturesIcon">
    216                 <td style="padding-left:5px; padding-right:5px;" valign="top">
    217                         <a href="javascript:switchPanorama('{@nodeID}');">
    218                                 <img src="interfaces/default/images/map_marker.png"/>
    219                         </a>
    220                 </td>
    221         </xsl:template>
    222 
    223212</xsl:stylesheet>
Note: See TracChangeset for help on using the changeset viewer.