forrest-svn mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From thors...@apache.org
Subject svn commit: r383422 - /forrest/trunk/whiteboard/plugins/org.apache.forrest.themes.core/themes/common/html/helper-render-image.ft
Date Sun, 05 Mar 2006 22:21:37 GMT
Author: thorsten
Date: Sun Mar  5 14:21:36 2006
New Revision: 383422

URL: http://svn.apache.org/viewcvs?rev=383422&view=rev
Log:
White noice - formating changes

Modified:
    forrest/trunk/whiteboard/plugins/org.apache.forrest.themes.core/themes/common/html/helper-render-image.ft

Modified: forrest/trunk/whiteboard/plugins/org.apache.forrest.themes.core/themes/common/html/helper-render-image.ft
URL: http://svn.apache.org/viewcvs/forrest/trunk/whiteboard/plugins/org.apache.forrest.themes.core/themes/common/html/helper-render-image.ft?rev=383422&r1=383421&r2=383422&view=diff
==============================================================================
--- forrest/trunk/whiteboard/plugins/org.apache.forrest.themes.core/themes/common/html/helper-render-image.ft
(original)
+++ forrest/trunk/whiteboard/plugins/org.apache.forrest.themes.core/themes/common/html/helper-render-image.ft
Sun Mar  5 14:21:36 2006
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!--
-  Copyright 2002-2005 The Apache Software Foundation or its licensors,
+  Copyright 2002-2006 The Apache Software Foundation or its licensors,
   as applicable.
 
   Licensed under the Apache License, Version 2.0 (the "License");
@@ -15,20 +15,18 @@
   See the License for the specific language governing permissions and
   limitations under the License.
 -->
-<forrest:contract 
-  xmlns:i18n="http://apache.org/cocoon/i18n/2.1"
-  xmlns:forrest="http://apache.org/forrest/templates/1.0"
+<forrest:contract xmlns:i18n="http://apache.org/cocoon/i18n/2.1" 
+  xmlns:forrest="http://apache.org/forrest/templates/1.0" 
   name="helper-render-image">
-  
-  
   <description>
     <p>helper-render-image is a helper class to be used <strong>only</strong>

       internally as import/include from within other contracts!</p>
   </description>
   <usage><![CDATA[internal only!!!
   
-  <xsl:include href="cocoon://prepare.contract.html.helper-render-image"/>]]></usage>
-  <forrest:template xmlns:forrest="http://apache.org/forrest/templates/1.0"
+  <xsl:include href="cocoon://prepare.contract.html.helper-render-image"/>]]>
+    </usage>
+  <forrest:template xmlns:forrest="http://apache.org/forrest/templates/1.0" 
     name="helper-render-image" inputFormat="xsl">
     <xsl:stylesheet version="1.1" 
       xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
@@ -51,17 +49,25 @@
                   <xsl:value-of select="$logo"/>
                 </xsl:attribute>
                 <xsl:if test="$width">
-                  <xsl:attribute name="width"><xsl:value-of select="$width"/></xsl:attribute>
+                  <xsl:attribute name="width">
+                    <xsl:value-of select="$width"/>
+                  </xsl:attribute>
                 </xsl:if>
                 <xsl:if test="$height">
-                  <xsl:attribute name="height"><xsl:value-of select="$height"/></xsl:attribute>
+                  <xsl:attribute name="height">
+                    <xsl:value-of select="$height"/>
+                  </xsl:attribute>
                 </xsl:if>
                 <xsl:if test="$description">
-                  <xsl:attribute name="title"><xsl:value-of select="$description"/></xsl:attribute>
+                  <xsl:attribute name="title">
+                    <xsl:value-of select="$description"/>
+                  </xsl:attribute>
                 </xsl:if>
               </img>
             </xsl:when>
-            <xsl:otherwise><xsl:value-of select="$name"/></xsl:otherwise>
+            <xsl:otherwise>
+              <xsl:value-of select="$name"/>
+            </xsl:otherwise>
           </xsl:choose>
         </a>
       </xsl:template>



Mime
View raw message