Changeset 33383

Show
Ignore:
Timestamp:
05.08.2019 12:20:56 (2 weeks ago)
Author:
kjdon
Message:

some more work on the help page

Files:
1 modified

Legend:

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

    r33298 r33383  
    3939 
    4040  <xsl:template name="homePageHelp"> 
    41     home page help 
    42     what should go here?? 
     41    <p><i>Under Construction</i></p> 
     42    This page should describe 
     43    <ul> 
     44      <li>Collections and Cross collection search</li> 
     45      <li>global preferences - language</li> 
     46      <li>Registering and logging in</li> 
     47      <li>Administration Page</li> 
     48      <li>links to collection help pages?</li> 
     49      <li>links to wiki for more info</li> 
     50    </ul> 
    4351  </xsl:template> 
    4452   
     
    4755    <h2><xsl:value-of disable-output-escaping="yes" select="util:getInterfaceText($help_interface_name, /page/@lang, 'help.collection_title', $collName)"/></h2> 
    4856 
     57    <!-- link to general help page --> 
     58    <p><i><xsl:value-of disable-output-escaping="yes" select="util:getInterfaceText($help_interface_name, /page/@lang, 'help.link_to_main', concat($library_name,'/page/help;', $library_name, '/page/gsdl'))"/></i></p> 
    4959    <!-- general intro text --> 
    50     <xsl:value-of disable-output-escaping="yes" select="util:getInterfaceText($help_interface_name, /page/@lang, 'help.collection_general')"/><br/><br/> 
     60    <p><xsl:value-of disable-output-escaping="yes" select="util:getInterfaceText($help_interface_name, /page/@lang, 'help.collection_general')"/></p> 
    5161 
    5262    <xsl:call-template name="browsingHelp"/> 
     
    7080  <xsl:template name="browsingHelp"> 
    7181    <h3><xsl:value-of disable-output-escaping="yes" select="util:getInterfaceText($help_interface_name, /page/@lang, 'help.browsing_title')"/></h3><br/> 
    72     <xsl:value-of disable-output-escaping="yes" select="util:getInterfaceText($help_interface_name, /page/@lang, 'help.browsing_general')"/> 
     82    <p><xsl:value-of disable-output-escaping="yes" select="util:getInterfaceText($help_interface_name, /page/@lang, 'help.browsing_general')"/></p> 
    7383    <dl> 
    7484      <dt><img src="interfaces/{$interface_name}/images/bshelf.gif"/></dt> 
     
    8696  <xsl:template name="searchingHelp"> 
    8797    <h3><xsl:value-of disable-output-escaping="yes" select="util:getInterfaceText($help_interface_name, /page/@lang, 'help.searching_title')"/></h3><br/> 
    88     <xsl:value-of disable-output-escaping="yes" select="util:getInterfaceText($help_interface_name, /page/@lang, 'help.searching_quick')"/><br/><br/> 
    89     <xsl:value-of disable-output-escaping="yes" select="util:getInterfaceText($help_interface_name, /page/@lang, 'help.searching_more')"/> 
     98    <p><xsl:value-of disable-output-escaping="yes" select="util:getInterfaceText($help_interface_name, /page/@lang, 'help.searching_quick')"/></p> 
     99    <p><xsl:value-of disable-output-escaping="yes" select="util:getInterfaceText($help_interface_name, /page/@lang, 'help.searching_more')"/></p> 
    90100    <dl> 
    91101      <xsl:for-each select="/page/pageResponse/collection/serviceList/service[@type='query']"> 
     
    103113  <xsl:template name="searchParamsHelp"> 
    104114       <h3><xsl:value-of disable-output-escaping="yes" select="util:getInterfaceText($help_interface_name, /page/@lang, 'help.searchparams_title')"/></h3><br/> 
    105        <xsl:value-of disable-output-escaping="yes" select="util:getInterfaceText($help_interface_name, /page/@lang, 'help.searchparams_general')"/><br/> 
     115       <p><xsl:value-of disable-output-escaping="yes" select="util:getInterfaceText($help_interface_name, /page/@lang, 'help.searchparams_general')"/></p> 
    106116       <ul> 
    107117    <xsl:for-each select="/page/pageResponse/collection/serviceList/service[@type='query']/paramList/param[@type != 'invisible' and @type != 'enum_multi' and @type != 'multi' and not(@name=preceding::param/@name)]"> 
     
    116126  <xsl:template name="searchResultsHelp"> 
    117127    <h3><xsl:value-of disable-output-escaping="yes" select="util:getInterfaceText($help_interface_name, /page/@lang, 'help.searchresults_title')"/></h3><br/> 
    118     <xsl:value-of disable-output-escaping="yes" select="util:getInterfaceText($help_interface_name, /page/@lang, 'help.searchresults_general')"/><br/> 
     128    <p><xsl:value-of disable-output-escaping="yes" select="util:getInterfaceText($help_interface_name, /page/@lang, 'help.searchresults_general')"/></p> 
    119129    <xsl:if test="/page/pageResponse/collection/serviceList/service[@type='query']/metadataList/metadata[@name='does_facetsearch']/@value='true'"> 
    120       <dl> 
    121       <dt><xsl:value-of disable-output-escaping="yes" select="util:getInterfaceText($help_interface_name, /page/@lang, 'help.searchresults_facet_title')"/></dt> 
    122       <dd><xsl:value-of disable-output-escaping="yes" select="util:getInterfaceText($help_interface_name, /page/@lang, 'help.searchresults_facets')"/></dd> 
    123       </dl> 
     130      <h4><b><xsl:value-of disable-output-escaping="yes" select="util:getInterfaceText($help_interface_name, /page/@lang, 'help.searchresults_facet_title')"/></b></h4> 
     131      <p><xsl:value-of disable-output-escaping="yes" select="util:getInterfaceText($help_interface_name, /page/@lang, 'help.searchresults_facets')"/></p> 
    124132    </xsl:if> 
    125133    <br/> 
     
    128136  <xsl:template name="documentHelp"> 
    129137    <h3><xsl:value-of disable-output-escaping="yes" select="util:getInterfaceText($help_interface_name, /page/@lang, 'help.document_title')"/></h3><br/> 
    130     <xsl:value-of disable-output-escaping="yes" select="util:getInterfaceText($help_interface_name, /page/@lang, 'help.document_general')"/><br/><br/> 
    131     <br/><br/> 
    132     <b><xsl:value-of disable-output-escaping="yes" select="util:getInterfaceText($help_interface_name, /page/@lang, 'help.document_toc_title')"/></b><br/> 
    133     <xsl:value-of disable-output-escaping="yes" select="util:getInterfaceText($help_interface_name, /page/@lang, 'help.document_toc')"/><br/><br/> 
    134     <b><xsl:value-of disable-output-escaping="yes" select="util:getInterfaceText($help_interface_name, /page/@lang, 'help.document_icons')"/></b><br/> 
     138    <p><xsl:value-of disable-output-escaping="yes" select="util:getInterfaceText($help_interface_name, /page/@lang, 'help.document_general')"/></p> 
     139    <h4><xsl:value-of disable-output-escaping="yes" select="util:getInterfaceText($help_interface_name, /page/@lang, 'help.document_toc_title')"/></h4> 
     140    <p><xsl:value-of disable-output-escaping="yes" select="util:getInterfaceText($help_interface_name, /page/@lang, 'help.document_toc')"/></p> 
     141    <h4><xsl:value-of disable-output-escaping="yes" select="util:getInterfaceText($help_interface_name, /page/@lang, 'help.document_icons')"/></h4> 
    135142    <dl> 
    136143      <dt><img src="interfaces/{$interface_name}/images/hl.png"/></dt> 
    137144      <dd><xsl:value-of disable-output-escaping="yes" select="util:getInterfaceText($help_interface_name, /page/@lang, 'help.document_highlight')"/></dd> 
     145      <dt><img src="interfaces/{$interface_name}/images/floattoc.png"/></dt> 
     146      <dd><xsl:value-of disable-output-escaping="yes" select="util:getInterfaceText($help_interface_name, /page/@lang, 'help.document_floattoc')"/></dd> 
    138147      <dt><img src="interfaces/{$interface_name}/images/zoom.png"/></dt> 
    139148      <dd><xsl:value-of disable-output-escaping="yes" select="util:getInterfaceText($help_interface_name, /page/@lang, 'help.document_zoomer')"/></dd> 
    140       <dt><img src="interfaces/{$interface_name}/images/floattoc.png"/></dt> 
    141       <dd><xsl:value-of disable-output-escaping="yes" select="util:getInterfaceText($help_interface_name, /page/@lang, 'help.document_floattoc')"/></dd> 
     149      <dt><img src="interfaces/{$interface_name}/images/slideshow.png"/></dt> 
     150      <dd><xsl:value-of disable-output-escaping="yes" select="util:getInterfaceText($help_interface_name, /page/@lang, 'help.document_slideshow')"/></dd> 
    142151     
    143152    </dl> 
     153    <br/> 
    144154  </xsl:template> 
     155   
    145156  <xsl:template name="favouriteBasketHelp"> 
    146157    <xsl:variable name="fav_icon"><img src="interfaces/{$interface_name}/images/favourite-star-transparent-unselected32.png" width="16" height="16"/></xsl:variable> 
    147158    <xsl:variable name="fav_icon_selected"><img src="interfaces/{$interface_name}/images/favourite-star-transparent-selected32.png" width="16" height="16"/></xsl:variable> 
    148159    <h3><xsl:value-of disable-output-escaping="yes" select="util:getInterfaceText($help_interface_name, /page/@lang, 'help.favourites_title')"/></h3><br/> 
    149     <xsl:value-of disable-output-escaping="yes" select="util:getInterfaceTextWithDOM($help_interface_name, /page/@lang, 'help.favourites', $fav_icon, $fav_icon_selected)"/><br/><br/> 
     160    <p><xsl:value-of disable-output-escaping="yes" select="util:getInterfaceTextWithDOM($help_interface_name, /page/@lang, 'help.favourites', $fav_icon, $fav_icon_selected)"/></p> 
     161    <br/> 
    150162  </xsl:template> 
    151163 
     
    153165    <xsl:variable name="berry_icon"><img src="interfaces/{$interface_name}/images/berry.png" width="16" height="16"/></xsl:variable> 
    154166    <h3><xsl:value-of disable-output-escaping="yes" select="util:getInterfaceText($help_interface_name, /page/@lang, 'help.berrybasket_title')"/></h3><br/> 
    155     <xsl:value-of disable-output-escaping="yes" select="util:getInterfaceTextWithDOM($help_interface_name, /page/@lang, 'help.berrybasket', $berry_icon)"/><br/><br/> 
     167    <p><xsl:value-of disable-output-escaping="yes" select="util:getInterfaceTextWithDOM($help_interface_name, /page/@lang, 'help.berrybasket', $berry_icon)"/></p> 
     168    <br/> 
    156169  </xsl:template> 
    157170   
     
    159172    <xsl:variable name="rss_icon"><img src="interfaces/{$interface_name}/images/rssicon.png"/></xsl:variable> 
    160173    <h3><xsl:value-of disable-output-escaping="yes" select="util:getInterfaceText($help_interface_name, /page/@lang, 'help.rss_title')"/></h3><br/> 
    161     <xsl:value-of disable-output-escaping="yes" select="util:getInterfaceTextWithDOM($help_interface_name, /page/@lang, 'help.rss', $rss_icon)"/><br/><br/> 
     174    <p><xsl:value-of disable-output-escaping="yes" select="util:getInterfaceTextWithDOM($help_interface_name, /page/@lang, 'help.rss', $rss_icon)"/></p> 
     175    <br/> 
    162176  </xsl:template> 
    163177