Ignore:
Timestamp:
2013-07-17T07:03:19+12:00 (11 years ago)
Author:
jlwhisler
Message:

Made minor changes to fix issues Anu encountered when running through home page tutorial -- fixed user registration link; added escape characters; changed the search box template because the search button stretched outside the column boundaries.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • documentation/trunk/tutorial_sample_files/custom/home-tutorial-final.xsl

    r27854 r27885  
    120120</xsl:template>
    121121
    122     <xsl:template name="searchBox">
    123         <xsl:for-each select="//page/pageResponse">
    124         <div id="quickSearch">
    125             <gslib:crossCollectionQuickSearchForm/>
    126         </div>
    127         </xsl:for-each>
    128     </xsl:template>
     122<xsl:template name="searchBox">
     123<xsl:for-each select="//page/pageResponse/serviceList/service[@name='TextQuery']">
     124<form name="QuickSearch" method="get" action="{$library_name}">
     125<input type="hidden" name="a" value="q"/>
     126<input type="hidden" name="rt" value="rd"/>
     127<input type="hidden" name="s" value="{@name}"/>
     128<input type="hidden" name="s1.collection" value="all"/>
     129<input type="text" name="s1.query" size="20" id="search-text" value="" />
     130<input type="submit" id="search-submit">
     131<xsl:attribute name="value">
     132<xsl:value-of select="util:getInterfaceText($interface_name, /page/@lang, 'home.quick_search')"/>
     133</xsl:attribute>
     134</input>
     135</form>     
     136</xsl:for-each>
     137</xsl:template>
    129138   
    130139    <xsl:template name="loginButton">
Note: See TracChangeset for help on using the changeset viewer.