svn commit: r814262 - /ofbiz/trunk/framework/widget/templates/htmlScreenMacroLibrary.ftl

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r814262 - /ofbiz/trunk/framework/widget/templates/htmlScreenMacroLibrary.ftl

apatel-2
Author: apatel
Date: Sun Sep 13 02:54:13 2009
New Revision: 814262

URL: http://svn.apache.org/viewvc?rev=814262&view=rev
Log:
Oops, had little mistake in markup ending tags.

Modified:
    ofbiz/trunk/framework/widget/templates/htmlScreenMacroLibrary.ftl

Modified: ofbiz/trunk/framework/widget/templates/htmlScreenMacroLibrary.ftl
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/widget/templates/htmlScreenMacroLibrary.ftl?rev=814262&r1=814261&r2=814262&view=diff
==============================================================================
--- ofbiz/trunk/framework/widget/templates/htmlScreenMacroLibrary.ftl (original)
+++ ofbiz/trunk/framework/widget/templates/htmlScreenMacroLibrary.ftl Sun Sep 13 02:54:13 2009
@@ -61,6 +61,7 @@
 </#macro>
 
 <#macro renderHorizontalSeparator id style><hr<#if id?has_content> id="${id}"</#if><#if style?has_content> class="${style}"</#if>/></#macro>
+
 <#macro renderLabel text id style>
   <#if text?exists>
     <#-- Label is considered block level element in screen widget. There is not reason to render text outside of any html element. Use of style element has set pattern and we'll use style
@@ -90,22 +91,22 @@
         >${text}
     <#if style?has_content>
       <#if style=="h1">
-        <h1/>
+        </h1>
       <#elseif style=="h2">
-        <h2/>
+        </h2>
       <#elseif style=="h3">
-        <h3/>
+        </h3>
       <#elseif style=="h4">
-        <h4/>
+        </h4>
       <#elseif style=="h5">
-        <h5/>
+        </h5>
       <#elseif style=="h6">
-        <h6/>
+        </h6>
       <#else>
-        <p/>
+        </p>
       </#if>
     <#else>
-      <p/>
+      </p>
     </#if>
   </#if>
 </#macro>