svn commit: r780064 - in /ofbiz/trunk/specialpurpose/ecommerce/webapp/ecommerce: blog/blogs.ftl catalog/sidedeepcategory.ftl content/content_categories.ftl

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

svn commit: r780064 - in /ofbiz/trunk/specialpurpose/ecommerce/webapp/ecommerce: blog/blogs.ftl catalog/sidedeepcategory.ftl content/content_categories.ftl

apatel-2
Author: apatel
Date: Fri May 29 18:49:40 2009
New Revision: 780064

URL: http://svn.apache.org/viewvc?rev=780064&view=rev
Log:
use ul/li instead of nested <div>.

Modified:
    ofbiz/trunk/specialpurpose/ecommerce/webapp/ecommerce/blog/blogs.ftl
    ofbiz/trunk/specialpurpose/ecommerce/webapp/ecommerce/catalog/sidedeepcategory.ftl
    ofbiz/trunk/specialpurpose/ecommerce/webapp/ecommerce/content/content_categories.ftl

Modified: ofbiz/trunk/specialpurpose/ecommerce/webapp/ecommerce/blog/blogs.ftl
URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/ecommerce/webapp/ecommerce/blog/blogs.ftl?rev=780064&r1=780063&r2=780064&view=diff
==============================================================================
--- ofbiz/trunk/specialpurpose/ecommerce/webapp/ecommerce/blog/blogs.ftl (original)
+++ ofbiz/trunk/specialpurpose/ecommerce/webapp/ecommerce/blog/blogs.ftl Fri May 29 18:49:40 2009
@@ -18,16 +18,14 @@
 -->
 
 <div id="browse-blogs" class="screenlet">
-    <div class="screenlet-header">
-        <div class="boxhead">${uiLabelMap.ProductBrowseBlogs}</div>
-    </div>
+    <div class="screenlet-header boxhead">${uiLabelMap.ProductBrowseBlogs}</div>
     <div class="screenlet-body">
-      <div class="browsecategorylist">
+      <ul class="browsecategorylist">
         <#list blogs as blog>
-            <div class="browsecategorytext">
+            <li class="browsecategorytext">
                 <a href="<@ofbizUrl>MainBlog?blogContentId=${blog.contentId}</@ofbizUrl>" class="browsecategorybutton">${blog.contentName}</a>
-            </div>
+            </li>
         </#list>
-      </div>
+      </ul>
     </div>
 </div>

Modified: ofbiz/trunk/specialpurpose/ecommerce/webapp/ecommerce/catalog/sidedeepcategory.ftl
URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/ecommerce/webapp/ecommerce/catalog/sidedeepcategory.ftl?rev=780064&r1=780063&r2=780064&view=diff
==============================================================================
--- ofbiz/trunk/specialpurpose/ecommerce/webapp/ecommerce/catalog/sidedeepcategory.ftl (original)
+++ ofbiz/trunk/specialpurpose/ecommerce/webapp/ecommerce/catalog/sidedeepcategory.ftl Fri May 29 18:49:40 2009
@@ -45,16 +45,16 @@
     <div class="screenlet-body">
       <div class="browsecategorylist">
   </#if>
-        <div class="browsecategorytext">
+        <li class="browsecategorytext">
           <a href="${Static["org.ofbiz.product.category.CatalogUrlServlet"].makeCatalogUrl(request, "", category.productCategoryId, parentCategory.productCategoryId)}" class="${browseCategoryButtonClass}"><#if categoryName?has_content>${categoryName}<#else>${categoryDescription?default("")}</#if></a>
-        </div>
+        </li>
   <#if (Static["org.ofbiz.product.category.CategoryWorker"].checkTrailItem(request, category.getString("productCategoryId"))) || (curCategoryId?exists && curCategoryId == category.productCategoryId)>
     <#local subCatList = Static["org.ofbiz.product.category.CategoryWorker"].getRelatedCategoriesRet(request, "subCatList", category.getString("productCategoryId"), true)>
     <#if subCatList?exists>
       <#list subCatList as subCat>
-        <div class="browsecategorylist">
+        <ul class="browsecategorylist">
           <@categoryList parentCategory=category category=subCat wrapInBox="N"/>
-        </div>
+        </ul>
       </#list>
     </#if>
   </#if>
@@ -71,11 +71,11 @@
         <div class="boxhead">${uiLabelMap.ProductBrowseCategories}</div>
     </div>
     <div class="screenlet-body">
-        <div class="browsecategorylist">
+        <ul class="browsecategorylist">
           <#list topLevelList as category>
             <@categoryList parentCategory=category category=category wrapInBox="N"/>
           </#list>
-        </div>
+        </ul>
     </div>
 </div>
 </#if>

Modified: ofbiz/trunk/specialpurpose/ecommerce/webapp/ecommerce/content/content_categories.ftl
URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/ecommerce/webapp/ecommerce/content/content_categories.ftl?rev=780064&r1=780063&r2=780064&view=diff
==============================================================================
--- ofbiz/trunk/specialpurpose/ecommerce/webapp/ecommerce/content/content_categories.ftl (original)
+++ ofbiz/trunk/specialpurpose/ecommerce/webapp/ecommerce/content/content_categories.ftl Fri May 29 18:49:40 2009
@@ -31,18 +31,16 @@
 </#if>
 
 <div id="content_catagories" class="screenlet">
-    <div class="screenlet-header">
-        <div class="boxhead">${uiLabelMap.ProductBrowseContent}</div>
-    </div>
+    <div class="screenlet-header boxhead">${uiLabelMap.ProductBrowseContent}</div>
     <div class="screenlet-body">
-      <div class="browsecategorylist">
+      <ul class="browsecategorylist">
         <#assign count_1=0/>
         <@loopSubContent contentId=contentRootId viewIndex=0 viewSize=9999 orderBy="contentName">
-            <div class="browsecategorytext">
+            <li class="browsecategorytext">
                <a href="<@ofbizUrl>showcontenttree?contentId=${subContentId}&amp;nodeTrailCsv=${subContentId}</@ofbizUrl>" class="browsecategorybutton">${content.contentName}</a>
-            </div>
+            </li>
             <#assign count_1=(count_1 + 1)/>
         </@loopSubContent>
-      </div>
+      </ul>
     </div>
 </div>