forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nicola...@apache.org
Subject cvs commit: xml-forrest/src/core/context/skins/common skinconf.xsl
Date Mon, 19 Jan 2004 18:09:23 GMT
nicolaken    2004/01/19 10:09:23

  Modified:    src/core/context/skins/common skinconf.xsl
  Log:
  Remove default colors. They will be added by a skin *if* it needs them.
  Also set default values to disable functionality.
  
  Revision  Changes    Path
  1.4       +12 -8     xml-forrest/src/core/context/skins/common/skinconf.xsl
  
  Index: skinconf.xsl
  ===================================================================
  RCS file: /home/cvs/xml-forrest/src/core/context/skins/common/skinconf.xsl,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- skinconf.xsl	18 Jan 2004 23:10:26 -0000	1.3
  +++ skinconf.xsl	19 Jan 2004 18:09:22 -0000	1.4
  @@ -7,13 +7,13 @@
          <disable-lucene>true</disable-lucene>
        </xsl:if>
        <xsl:if test="not(disable-search)">     
  -       <disable-search>false</disable-search>
  +       <disable-search>true</disable-search>
        </xsl:if>
        <xsl:if test="not(disable-print-link)">     
          <disable-print-link>true</disable-print-link>
        </xsl:if>
        <xsl:if test="not(disable-pdf-link)">     
  -       <disable-pdf-link>false</disable-pdf-link>
  +       <disable-pdf-link>true</disable-pdf-link>
        </xsl:if>
        <xsl:if test="not(disable-xml-link)">     
          <disable-xml-link>true</disable-xml-link>
  @@ -83,7 +83,8 @@
        <xsl:if test="not(trail)">
           <toc level="2" location="page"/>
        </xsl:if>
  -     
  +
  +<!--
     <xsl:if test="not(colors)">
     <colors>
       <color name="header" value="#294563"/>
  @@ -106,7 +107,7 @@
       
       <color name="table" value="#7099C5"/>    
       <color name="table-cell" value="#f0f0ff"/>    
  -    <color name="highlight" value="#yellow"/>
  +    <color name="highlight" value="#ffff00"/>
       <color name="fixme" value="#c60"/>
       <color name="note" value="#069"/>
   
  @@ -116,6 +117,7 @@
       <color name="footer" value="#cedfef"/>
     </colors>
     </xsl:if>
  +-->
   
     <xsl:if test="not(extra-css)">
       <extra-css>
  @@ -137,15 +139,17 @@
   
        <xsl:copy>
         <xsl:copy-of select="@*"/>
  +      <xsl:copy-of select="node()"/>     
  +      <!--
         <xsl:copy-of select="node()[not(name(.)='colors')]"/>     
  -      <xsl:apply-templates select="colors"/>
  +      <xsl:apply-templates select="colors"/>-->
        </xsl:copy> 
   
       </xsl:template>
  -
  +<!--
       <xsl:template match="colors">
       <colors>
  -     <xsl:if test="not(color[@name=''])">
  +     <xsl:if test="not(color[@name='header'])">
          <color name="header" value="#294563"/>
        </xsl:if>  
        <xsl:if test="not(color[@name='tab-selected'])">
  @@ -213,5 +217,5 @@
   
         </colors> 
       </xsl:template>
  -    
  +-->    
   </xsl:stylesheet>
  
  
  

Mime
View raw message