forrest-svn mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cross...@apache.org
Subject svn commit: rev 36202 - in forrest/trunk/src/core: context/skins/pelt-dev/xslt/html fresh-site/src/documentation
Date Wed, 11 Aug 2004 03:02:27 GMT
Author: crossley
Date: Tue Aug 10 20:02:26 2004
New Revision: 36202

Modified:
   forrest/trunk/src/core/context/skins/pelt-dev/xslt/html/site2xhtml.xsl
   forrest/trunk/src/core/fresh-site/src/documentation/skinconf.xml
Log:
Replace tabs with spaces. Consistent indenting.
Inconsistent whitespace can cause huge problems when people send diffs.


Modified: forrest/trunk/src/core/context/skins/pelt-dev/xslt/html/site2xhtml.xsl
==============================================================================
--- forrest/trunk/src/core/context/skins/pelt-dev/xslt/html/site2xhtml.xsl	(original)
+++ forrest/trunk/src/core/context/skins/pelt-dev/xslt/html/site2xhtml.xsl	Tue Aug 10 20:02:26
2004
@@ -37,28 +37,28 @@
 
   <xsl:import href="../../../common/xslt/html/site2xhtml.xsl"/>
 <!--+
-	|Overall site template
-	+-->
+  |Overall site template
+  +-->
   <xsl:template match="site">
     <!--html lang="en" xml:lang="en"-->
     <html>
 <!--+
-	|HTML-head
-	+-->
+  |HTML-head
+  +-->
         <head>
-            <!--+
-   	|generator meta
-   	+-->
+<!--+
+  |generator meta
+  +-->
             <xsl:call-template name="html-meta"/>
-            <!--+
-	|title
-	+-->
+<!--+
+  |title
+  +-->
             <title>
                 <xsl:value-of select="div[@id='content']/h1"/>
             </title>
-            <!--+
-	|stylesheets
-	+-->
+<!--+
+  |stylesheets
+  +-->
             <link rel="stylesheet" href="{$root}skin/basic.css" type="text/css" 
                 />
             <link rel="stylesheet" href="{$root}skin/screen.css" 
@@ -68,13 +68,13 @@
             <link rel="stylesheet" href="{$root}skin/profile.css" 
                 type="text/css" />
 <!--+
-    |Javascripts
-    +-->
+  |Javascripts
+  +-->
             <script type="text/javascript" language="javascript" 
                 src="{$root}skin/getBlank.js"></script>
-            <!--+
-	|favicon
-	+-->
+<!--+
+  |favicon
+  +-->
             <xsl:if test="//skinconfig/favicon-url">
                 <link rel="shortcut icon">
                     <xsl:attribute name="href">
@@ -85,11 +85,11 @@
             </xsl:if>
         </head>
 <!--+
-	|HTML-body
-	+-->
+  |HTML-body
+  +-->
       <body>
 <!--+Site structure
- 	 +++++++++++++++++++++++++++
+  +++++++++++++++++++++++++++
      +=========================+
      |       topstrip          |
      +=========================+
@@ -103,8 +103,8 @@
      +++++++++++++++++++++++++++
      +-->
 <!--+
-   	|topstrip with logo's and search box 
-   	+-->
+  |topstrip with logo's and search box 
+  +-->
     <div id="top">
 <!--breadcrumbs org location-->
 <xsl:if test="not ($config/trail/@location='alt')">
@@ -118,7 +118,7 @@
 <xsl:comment>+
     |header
     +</xsl:comment>
-	  <div class="header">          
+    <div class="header">          
 <xsl:comment>+
     |start group logo
     +</xsl:comment> 
@@ -147,7 +147,7 @@
                 <xsl:otherwise><xsl:text>false</xsl:text></xsl:otherwise>
              </xsl:choose>
    </xsl:variable>
-		<div class="projectlogo">
+     <div class="projectlogo">
             <xsl:if test="$xtest='false'" >
                     <xsl:attribute name="class">
                         <xsl:text>projectlogoA1</xsl:text>
@@ -159,8 +159,8 @@
             <xsl:with-param name="logo" select="$config/project-logo"/>
             <xsl:with-param name="root" select="$root"/>
             <xsl:with-param name="description" select="$config/project-description"/>
-	      </xsl:call-template>
-	    </div>
+        </xsl:call-template>
+      </div>
 <xsl:comment>+
     |end Project Logo
     +</xsl:comment> 
@@ -206,8 +206,8 @@
 
     </div>
 <!--+
-   	|centerstrip with menu and mainarea
-   	+-->
+  |centerstrip with menu and mainarea
+  +-->
     <div id="main">
         <div id="published">
            <script language="JavaScript" type="text/javascript"><![CDATA[<!--
@@ -233,39 +233,39 @@
 <xsl:comment>+
     |start Menu, mainarea
     +</xsl:comment>
-	    <xsl:if test="div[@id='menu']/ul/li">
-		  <xsl:call-template name="menu"/>
-	    </xsl:if>
+    <xsl:if test="div[@id='menu']/ul/li">
+      <xsl:call-template name="menu"/>
+    </xsl:if>
 <xsl:comment>+
     |start content
     +</xsl:comment>
-	    <xsl:apply-templates select="div[@id='content']"/>
+    <xsl:apply-templates select="div[@id='content']"/>
 <xsl:comment>+
     |end content
-    +</xsl:comment>	    
-	    <div class="clearboth">&#160;</div>
+    +</xsl:comment>    
+    <div class="clearboth">&#160;</div>
 
-	</div>
+  </div>
 <!--+
-   	|bottomstrip with footer
-   	+-->
+  |bottomstrip with footer
+  +-->
     <div id="footer">
 <xsl:comment>+
     |start bottomstrip
     +</xsl:comment>
-		  <div class="lastmodified"><script type="text/javascript"><![CDATA[<!--
-			  document.write("Last Published: " + document.lastModified);
-			  //  -->]]></script></div>
+  <div class="lastmodified"><script type="text/javascript"><![CDATA[<!--
+document.write("Last Published: " + document.lastModified);
+//  -->]]></script></div>
 
           <div class="copyright">
- 			Copyright &#169;<xsl:text> </xsl:text><xsl:value-of select="$config/year"/><xsl:text>
</xsl:text><xsl:value-of select="$config/vendor"/>
+ Copyright &#169;<xsl:text> </xsl:text><xsl:value-of select="$config/year"/><xsl:text>
</xsl:text><xsl:value-of select="$config/vendor"/>
           </div>
           
           <xsl:if test="$filename = 'index.html'">
             <div id="logos" >
-				<xsl:if test="$config/disable-compliance-links/@align">
-					<xsl:attribute name="style">text-align: <xsl:value-of select="$config/disable-compliance-links/@align"/></xsl:attribute>
-				</xsl:if>
+            <xsl:if test="$config/disable-compliance-links/@align">
+              <xsl:attribute name="style">text-align: <xsl:value-of select="$config/disable-compliance-links/@align"/></xsl:attribute>
+            </xsl:if>
               <!-- W3C logos style="text-align: center;"-->
               <xsl:call-template name="compliancy-logos"/>
               <xsl:if test="$filename = 'index.html' and $config/credits and not ($config/credits/credit/@box-location
= 'alt')">
@@ -302,16 +302,15 @@
               </xsl:call-template>
             </div>
           </xsl:if>
-		  <div id="feedback">
-          	<xsl:value-of select="$config/feedback"/>
-          	<a id="feedbackto">
-          		<xsl:attribute name="href">
-    			    <xsl:value-of select="$config/feedback/@href"/>
-       				<xsl:value-of select="$path"/>
-          		</xsl:attribute>
-	          	<xsl:value-of select="$config/feedback/@to"/>
-          	</a>
-          	
+          <div id="feedback">
+            <xsl:value-of select="$config/feedback"/>
+            <a id="feedbackto">
+              <xsl:attribute name="href">
+                <xsl:value-of select="$config/feedback/@href"/>
+                <xsl:value-of select="$path"/>
+              </xsl:attribute>
+              <xsl:value-of select="$config/feedback/@to"/>
+            </a>
           </div>
 <xsl:comment>+
     |end bottomstrip
@@ -340,7 +339,7 @@
 <xsl:comment>+
     |start Menu
     +</xsl:comment>
-	  <div id="menu">
+   <div id="menu">
         <xsl:apply-templates select="div[@id='menu']/*"/>
 <div id="credit">
  <xsl:if test="$filename = 'index.html' and $config/credits and ($config/credits/credit/@box-location
= 'alt')">
@@ -372,8 +371,8 @@
                 style="display: none" />
         </div>
         <xsl:comment>+
-	|alternativ credits
-	+</xsl:comment>
+  |alternativ credits
+  +</xsl:comment>
       </div>
 <xsl:comment>+
     |end Menu
@@ -390,8 +389,8 @@
     </xsl:variable>
     <xsl:variable name="whichGroup">
       <xsl:choose>
-    	<xsl:when test="descendant-or-self::node()/li/span/@class='sel'">selectedmenuitemgroup</xsl:when>
-       	<xsl:otherwise>menuitemgroup</xsl:otherwise>
+        <xsl:when test="descendant-or-self::node()/li/span/@class='sel'">selectedmenuitemgroup</xsl:when>
+        <xsl:otherwise>menuitemgroup</xsl:otherwise>
       </xsl:choose>
     </xsl:variable>
     
@@ -474,14 +473,14 @@
   </xsl:template>
 <xsl:template name="html-meta">
 <!--+
-   	|generator meta
-   	+-->
+  |generator meta
+  +-->
 <xsl:comment>+
     |start generator meta
     +</xsl:comment>
-    	<meta name="Generator" content="Apache Forrest"/>
-		<meta name="Forrest-version" content="SVN-Head (0.6-dev)"/>
-      	<meta name="Forrest-skin-name" content="pelt"/>
+    <meta name="Generator" content="Apache Forrest"/>
+    <meta name="Forrest-version" content="SVN-Head (0.6-dev)"/>
+    <meta name="Forrest-skin-name" content="pelt"/>
 <xsl:comment>+
     |end generator meta
     +</xsl:comment>

Modified: forrest/trunk/src/core/fresh-site/src/documentation/skinconf.xml
==============================================================================
--- forrest/trunk/src/core/fresh-site/src/documentation/skinconf.xml	(original)
+++ forrest/trunk/src/core/fresh-site/src/documentation/skinconf.xml	Tue Aug 10 20:02:26 2004
@@ -46,8 +46,8 @@
   <disable-external-link-image>false</disable-external-link-image>
   
   <!-- Disable w3c compliance links? 
-	Use e.g. align="center" to move the compliance links logos to 
-	an alternate location default is left.
+    Use e.g. align="center" to move the compliance links logos to 
+    an alternate location default is left.
     (if the skin supports it) -->
   <disable-compliance-links>false</disable-compliance-links>
   <!-- Render mailto: links unrecognisable by spam harvesters? -->
@@ -82,7 +82,7 @@
   <!-- The following are used to construct a copyright statement -->
   <year>2004</year>
   <vendor>The Acme Software Foundation.</vendor>
-  <!-- The optional copyright-link URL will used as a link in the
+  <!-- The optional copyright-link URL will be used as a link in the
     copyright statement
   <copyright-link>http://www.apache.org/licenses/</copyright-link>
   -->
@@ -113,14 +113,14 @@
   <!-- Heading types can be clean|underlined|boxed  -->
   <headings type="boxed"/>
   
-<!--+
-	|feedback link 
-	|<a href="@href">{@to}</a>
-	+-->
-	<feedback 	to ="webmaster@foo.com" 
-				href="mailto:webmaster@foo.com?subject=Website Feedback - Page&#160;" >
-  		Send feedback about the website to:
-	</feedback>
+  <!-- The optional feedback element will be used to construct a
+    feedback link in the footer with the page pathname appended:
+    <a href="@href">{@to}</a>
+    -->
+  <feedback to="webmaster@foo.com"
+    href="mailto:webmaster@foo.com?subject=Website Feedback - Page&#160;" >
+    Send feedback about the website to:
+  </feedback>
 
   <extra-css>
     <!-- A sample to show how the class attribute can be used -->
@@ -242,7 +242,7 @@
     <color name="heading" value="#E5E4D9"/>
     <color name="subheading" value="#000000"/>
     <color name="published" value="#4C6C8F" font="#FFFFFF"/>
-	<color name="feedback" value="#4C6C8F" font="#FFFFFF" align="center"/>
+    <color name="feedback" value="#4C6C8F" font="#FFFFFF" align="center"/>
     <color name="navstrip" value="#E5E4D9" font="#000000"/>
 
     <color name="toolbox" value="#CFDCED" font="#000000"/>
@@ -253,7 +253,7 @@
     <color name="searchbox" value="#E5E4D9" font="#000000"/>
     
     <color name="dialog" value="#CFDCED"/>
-	<color name="body" value="#ffffff" />            
+    <color name="body" value="#ffffff" />            
     
     <color name="table" value="#ccc"/>    
     <color name="table-cell" value="#ffffff"/>   
@@ -301,9 +301,9 @@
 
   <!-- Credits are typically rendered as a set of small clickable
     images in the page footer.
-	Use box-location = "alt" to move the credit to an alternate location
+    Use box-location = "alt" to move the credit to an alternate location
     (if the skin supports it). 
-	-->
+  -->
   <credits>
     <credit box-location = "alt">
       <name>Built with Apache Forrest</name>

Mime
View raw message