forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From stev...@apache.org
Subject cvs commit: xml-forrest/src/resources/skins/krysalis-site/xslt/html document2html.xsl
Date Tue, 11 Feb 2003 21:54:43 GMT
stevenn     2003/02/11 13:54:42

  Modified:    src/resources/conf sitemap.xmap
               src/resources/skins/common/xslt/html document2html.xsl
               src/resources/skins/krysalis-site/xslt/html
                        document2html.xsl
  Log:
  I don't suck semantically
  http://marc.theaimsgroup.com/?l=forrest-dev&m=102328647010446&w=2
  
  Revision  Changes    Path
  1.65      +4 -4      xml-forrest/src/resources/conf/sitemap.xmap
  
  Index: sitemap.xmap
  ===================================================================
  RCS file: /home/cvs/xml-forrest/src/resources/conf/sitemap.xmap,v
  retrieving revision 1.64
  retrieving revision 1.65
  diff -u -r1.64 -r1.65
  --- sitemap.xmap	8 Feb 2003 07:24:51 -0000	1.64
  +++ sitemap.xmap	11 Feb 2003 21:54:42 -0000	1.65
  @@ -160,7 +160,7 @@
      <map:resources>
         <map:resource name="skinit">
            <map:transform src="skins/{forrest:skin}/xslt/html/{type}.xsl">
  -            <map:parameter name="isfaq" value="{isfaq}" />
  +            <map:parameter name="notoc" value="{notoc}" />
   
               <map:parameter name="nopdf" value="{nopdf}" />
   
  @@ -327,7 +327,7 @@
   
                  <map:parameter name="path" value="{1}/faq.xml" />
   
  -               <map:parameter name="isfaq" value="true" />
  +               <map:parameter name="notoc" value="true" />
               </map:call>
            </map:match>
   
  @@ -343,7 +343,7 @@
   
                  <map:parameter name="path" value="faq.xml" />
   
  -               <map:parameter name="isfaq" value="true" />
  +               <map:parameter name="notoc" value="true" />
               </map:call>
            </map:match>
   
  @@ -428,7 +428,7 @@
               <map:call resource="skinit">
                  <map:parameter name="type" value="document2html" />
   
  -               <map:parameter name="isfaq" value="true" />
  +               <map:parameter name="notoc" value="true" />
   
                  <map:parameter name="path" value="{1}.dtdx.xml" />
               </map:call>
  
  
  
  1.12      +5 -5      xml-forrest/src/resources/skins/common/xslt/html/document2html.xsl
  
  Index: document2html.xsl
  ===================================================================
  RCS file: /home/cvs/xml-forrest/src/resources/skins/common/xslt/html/document2html.xsl,v
  retrieving revision 1.11
  retrieving revision 1.12
  diff -u -r1.11 -r1.12
  --- document2html.xsl	9 Feb 2003 06:12:44 -0000	1.11
  +++ document2html.xsl	11 Feb 2003 21:54:42 -0000	1.12
  @@ -19,7 +19,7 @@
   
     <!-- If non-blank, a PDF link for this page will not be generated -->
     <xsl:param name="nopdf"/>
  -  <xsl:param name="isfaq"/>
  +  <xsl:param name="notoc"/>
     <xsl:param name="path"/>
     <!-- <xsl:include href="split.xsl"/> -->
     <xsl:include href="dotdots.xsl"/>
  @@ -89,7 +89,7 @@
   
   
     <xsl:template match="body">
  -    <xsl:if test="section and not($isfaq='true')">
  +    <xsl:if test="section and not($notoc='true')">
         <ul class="minitoc">
           <xsl:for-each select="section">
             <li>
  @@ -127,7 +127,7 @@
       <!-- generate a title element, level 1 -> h3, level 2 -> h4 and so on... -->
       <xsl:element name="{concat('h',$sectiondepth + 2)}">
         <xsl:value-of select="title"/>
  -      <xsl:if test="$isfaq='true' and $sectiondepth = 3">
  +      <xsl:if test="$notoc='true' and $sectiondepth = 3">
           <span style="float: right"><a href="#{@id}-menu">^</a></span>
         </xsl:if>
       </xsl:element>
  @@ -135,7 +135,7 @@
       <!-- Indent FAQ entry text 15 pixels -->
       <xsl:variable name="indent">
         <xsl:choose>
  -        <xsl:when test="$isfaq='true' and $sectiondepth = 3">
  +        <xsl:when test="$notoc='true' and $sectiondepth = 3">
             <xsl:text>15</xsl:text>
           </xsl:when>
           <xsl:otherwise>
  
  
  
  1.8       +3 -3      xml-forrest/src/resources/skins/krysalis-site/xslt/html/document2html.xsl
  
  Index: document2html.xsl
  ===================================================================
  RCS file: /home/cvs/xml-forrest/src/resources/skins/krysalis-site/xslt/html/document2html.xsl,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- document2html.xsl	11 Feb 2003 14:19:06 -0000	1.7
  +++ document2html.xsl	11 Feb 2003 21:54:42 -0000	1.8
  @@ -67,7 +67,7 @@
   
     <xsl:template match="body">
   
  -    <xsl:if test="section and not($isfaq='true')">
  +    <xsl:if test="section and not($notoc='true')">
         <toc>
           <xsl:for-each select="section">
             <tocc>
  @@ -161,7 +161,7 @@
           <xsl:apply-templates select="*[not(self::title)]"/>
         </xsl:when>
         <!-- If a faq, answer sections will be level 3 (1=Q/A, 2=part) -->
  -      <xsl:when test="$level=3 and $isfaq='true'">
  +      <xsl:when test="$level=3 and $notoc='true'">
           <h4><xsl:value-of select="title"/></h4>
           <div align="right"><a href="#{@id}-menu">^</a></div>
           <div style="margin-left: 15px">
  
  
  

Mime
View raw message