cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From anto...@apache.org
Subject cvs commit: cocoon-2.1/src/blocks/woody/samples/resources woody-page-styling.xsl
Date Thu, 20 Nov 2003 02:44:35 GMT
antonio     2003/11/19 18:44:35

  Modified:    src/blocks/woody/samples/resources woody-page-styling.xsl
  Log:
  Removing trailing spaces
  
  Revision  Changes    Path
  1.7       +20 -21    cocoon-2.1/src/blocks/woody/samples/resources/woody-page-styling.xsl
  
  Index: woody-page-styling.xsl
  ===================================================================
  RCS file: /home/cvs//cocoon-2.1/src/blocks/woody/samples/resources/woody-page-styling.xsl,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- woody-page-styling.xsl	19 Nov 2003 16:54:02 -0000	1.6
  +++ woody-page-styling.xsl	20 Nov 2003 02:44:35 -0000	1.7
  @@ -4,15 +4,14 @@
                   xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
                   xmlns:wi="http://apache.org/cocoon/woody/instance/1.0"
                   exclude-result-prefixes="wi">
  -  
  +
     <xsl:template name="woody-page-head">
  -    
  +
       <!-- only woody_showTab is needed here. Assume woody-lib.js is loaded by the field-styling
-->
     </xsl:template>
  -  
  -  <xsl:template name="woody-page-body">
  -  </xsl:template>
  -  
  +
  +  <xsl:template name="woody-page-body"/>
  +
     <!--
       wi:group : default is to enclose items in a div
     -->
  @@ -22,7 +21,7 @@
         <xsl:apply-templates mode="group-layout" select="."/>
       </div>
     </xsl:template>
  -  
  +
     <!--
       wi:group of type tabs
     -->
  @@ -43,18 +42,18 @@
           <xsl:otherwise>0</xsl:otherwise>
         </xsl:choose>
       </xsl:variable>
  -    
  +
       <!-- copy the "state-widget" attribute for use in for-each -->
       <xsl:variable name="state-widget" select="wi:state/wi:*/@id"/>
  -    
  +
       <xsl:variable name="id" select="generate-id()"/>
       <div id="{$id}">
  -    
  +
         <!-- add an hidden input for the state -->
         <xsl:if test="$state-widget">
           <input type="hidden" name="{$state-widget}" value="{$active}"/>
         </xsl:if>
  -    
  +
         <!-- div containing the tabs -->
         <div class="woody-tabArea">
           <xsl:for-each select="wi:items/wi:*">
  @@ -75,7 +74,7 @@
             </span>
           </xsl:for-each>
         </div>
  -      
  +
         <!-- a div for each of the items -->
         <xsl:for-each select="wi:items/wi:*">
           <div class="woody-tabContent" id="{$id}_items_{position() - 1}">
  @@ -87,8 +86,8 @@
         </xsl:for-each>
       </div>
     </xsl:template>
  -  
  -  
  +
  +
     <!--
       wi:group of type choice : a popup is used instead of tabs
     -->
  @@ -109,10 +108,10 @@
           <xsl:otherwise>0</xsl:otherwise>
         </xsl:choose>
       </xsl:variable>
  -    
  +
       <!-- copy the "state-widget" attribute for use in for-each -->
       <xsl:variable name="state-widget" select="wi:state/wi:*/@id"/>
  -    
  +
       <xsl:variable name="id" select="generate-id()"/>
       <fieldset id="{$id}">
         <legend>
  @@ -141,7 +140,7 @@
             <span style="color:red; font-weight: bold">&#160;!&#160;</span>
           </xsl:if>
         </legend>
  -      
  +
         <!-- a div for each of the items -->
         <xsl:for-each select="wi:items/wi:*">
           <div id="{$id}_items_{position() - 1}">
  @@ -153,7 +152,7 @@
         </xsl:for-each>
       </fieldset>
     </xsl:template>
  -  
  +
     <!--
       wi:group of type fieldset : enclose items in a fieldset frame
     -->
  @@ -164,14 +163,14 @@
         <xsl:apply-templates mode="group-layout" select="."/>
       </fieldset>
     </xsl:template>
  -  
  +
     <!--
       Group items layout : default is no layout
     -->
     <xsl:template match="wi:group" mode="group-layout">
       <xsl:apply-templates select="wi:items/node()"/>
     </xsl:template>
  -  
  +
     <!--
       Columnized group items layout
     -->
  @@ -182,7 +181,7 @@
         </tbody>
       </table>
     </xsl:template>
  -  
  +
     <!--
       Default column layout : label left and input right
     -->
  
  
  

Mime
View raw message