forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From brond...@apache.org
Subject cvs commit: xml-forrest/src/core/context/skins/krysalis-site/xslt/html site2xhtml.xsl
Date Fri, 09 Jan 2004 14:33:32 GMT
brondsem    2004/01/09 06:33:32

  Modified:    src/core/context/skins/krysalis-site/xslt/html
                        site2xhtml.xsl
  Log:
  lateral search box respects $config/disable-search
  
  Revision  Changes    Path
  1.9       +10 -6     xml-forrest/src/core/context/skins/krysalis-site/xslt/html/site2xhtml.xsl
  
  Index: site2xhtml.xsl
  ===================================================================
  RCS file: /home/cvs/xml-forrest/src/core/context/skins/krysalis-site/xslt/html/site2xhtml.xsl,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -r1.8 -r1.9
  --- site2xhtml.xsl	8 Jan 2004 16:18:43 -0000	1.8
  +++ site2xhtml.xsl	9 Jan 2004 14:33:32 -0000	1.9
  @@ -233,11 +233,14 @@
   
         <tr>
           <td height="10" colspan="2"></td>
  -      </tr>                
  -
  -      <tr>       	  
  +      </tr>
  +      
  +      <xsl:if test="not($config/disable-search) or
  +            $config/disable-search='false' and $config/searchsite-domain and
  +            $config/searchsite-name">
  +      <tr>
           <td ></td>
  -       	  <td class="search">
  +        <td class="search">
               <form method="get" action="http://www.google.com/search" target="_blank">
                <table class="dialog" cellspacing="0" cellpadding="0" border="0" width="100%">
                   <tr>
  @@ -275,7 +278,8 @@
                 </table>
                 </form>
                 </td>
  -          </tr>     
  +          </tr>
  +          </xsl:if>
    	  
             <xsl:if test="$filename = 'index.html' and $config/credits">
    	     <tr>
  
  
  

Mime
View raw message