You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by ap...@apache.org on 2009/06/28 15:23:04 UTC

svn commit: r789097 - in /ofbiz/trunk/specialpurpose/ecommerce/webapp/ecommerce: cart/minipromotext.ftl catalog/minilastproductsearches.ftl catalog/sidedeepcategory.ftl customer/miniSignUpForContactList.ftl

Author: apatel
Date: Sun Jun 28 13:23:04 2009
New Revision: 789097

URL: http://svn.apache.org/viewvc?rev=789097&view=rev
Log:
Minor html fixes.

Modified:
    ofbiz/trunk/specialpurpose/ecommerce/webapp/ecommerce/cart/minipromotext.ftl
    ofbiz/trunk/specialpurpose/ecommerce/webapp/ecommerce/catalog/minilastproductsearches.ftl
    ofbiz/trunk/specialpurpose/ecommerce/webapp/ecommerce/catalog/sidedeepcategory.ftl
    ofbiz/trunk/specialpurpose/ecommerce/webapp/ecommerce/customer/miniSignUpForContactList.ftl

Modified: ofbiz/trunk/specialpurpose/ecommerce/webapp/ecommerce/cart/minipromotext.ftl
URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/ecommerce/webapp/ecommerce/cart/minipromotext.ftl?rev=789097&r1=789096&r2=789097&view=diff
==============================================================================
--- ofbiz/trunk/specialpurpose/ecommerce/webapp/ecommerce/cart/minipromotext.ftl (original)
+++ ofbiz/trunk/specialpurpose/ecommerce/webapp/ecommerce/cart/minipromotext.ftl Sun Jun 28 13:23:04 2009
@@ -20,7 +20,6 @@
 <#if showPromoText>
 <div id="minipromotext">
     <h3>${uiLabelMap.OrderSpecialOffers}</h3>
-    <div>
         <#-- show promotions text -->
         <ul>
         <#list productPromos as productPromo>
@@ -34,7 +33,6 @@
         <li>
         <a href="<@o...@ofbizUrl>" class="button">${uiLabelMap.OrderViewAllPromotions}</a>
         </li>
-        <ul>
-    </div>
+        </ul>
 </div>
 </#if>

Modified: ofbiz/trunk/specialpurpose/ecommerce/webapp/ecommerce/catalog/minilastproductsearches.ftl
URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/ecommerce/webapp/ecommerce/catalog/minilastproductsearches.ftl?rev=789097&r1=789096&r2=789097&view=diff
==============================================================================
--- ofbiz/trunk/specialpurpose/ecommerce/webapp/ecommerce/catalog/minilastproductsearches.ftl (original)
+++ ofbiz/trunk/specialpurpose/ecommerce/webapp/ecommerce/catalog/minilastproductsearches.ftl Sun Jun 28 13:23:04 2009
@@ -32,23 +32,23 @@
             <h3>${uiLabelMap.OrderLastSearches}...</h3>
         
         <div class="screenlet-body">
+          <ul>
             <#list searchOptionsHistoryList[0..limit] as searchOptions>
             <#-- searchOptions type is ProductSearchSession.ProductSearchOptions -->
-                    <p>
-                      ${uiLabelMap.EcommerceSearchNumber} ${searchOptions_index + 1}
-                    </p>
-                    <div class="tabletext">
-                      <a href="<@o...@ofbizUrl>" class="buttontext">${uiLabelMap.CommonSearch}</a>
-                      <a href="<@o...@ofbizUrl>" class="buttontext">${uiLabelMap.CommonRefine}</a>
-                    </div>
-                    <#assign constraintStrings = searchOptions.searchGetConstraintStrings(false, delegator, locale)>
-                    <#list constraintStrings as constraintString>
-                      <div class="tabletext">&nbsp;-&nbsp;${constraintString}</div>
-                    </#list>
-                <#if searchOptions_has_next>
-                    
-                </#if>
+              <li>
+                ${uiLabelMap.EcommerceSearchNumber} ${searchOptions_index + 1}
+                <ul>
+                  <li>
+                    <a href="<@o...@ofbizUrl>" class="button">${uiLabelMap.CommonSearch}</a>
+                    <a href="<@o...@ofbizUrl>" class="button">${uiLabelMap.CommonRefine}</a>
+                  </li>
+                  <#assign constraintStrings = searchOptions.searchGetConstraintStrings(false, delegator, locale)>
+                  <#list constraintStrings as constraintString>
+                    <li>${constraintString}</li>
+                  </#list>
+              </ul>
             </#list>
+          </ul>
         </div>
     </div>
 </#if>

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=789097&r1=789096&r2=789097&view=diff
==============================================================================
--- ofbiz/trunk/specialpurpose/ecommerce/webapp/ecommerce/catalog/sidedeepcategory.ftl (original)
+++ ofbiz/trunk/specialpurpose/ecommerce/webapp/ecommerce/catalog/sidedeepcategory.ftl Sun Jun 28 13:23:04 2009
@@ -45,7 +45,7 @@
   </#if>
         <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>
-        </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>
@@ -56,6 +56,7 @@
       </#list>
     </#if>
   </#if>
+  </li>
   <#if wrapInBox == "Y">
       </div>
     </div>

Modified: ofbiz/trunk/specialpurpose/ecommerce/webapp/ecommerce/customer/miniSignUpForContactList.ftl
URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/ecommerce/webapp/ecommerce/customer/miniSignUpForContactList.ftl?rev=789097&r1=789096&r2=789097&view=diff
==============================================================================
--- ofbiz/trunk/specialpurpose/ecommerce/webapp/ecommerce/customer/miniSignUpForContactList.ftl (original)
+++ ofbiz/trunk/specialpurpose/ecommerce/webapp/ecommerce/customer/miniSignUpForContactList.ftl Sun Jun 28 13:23:04 2009
@@ -29,12 +29,12 @@
 
 <div id="miniSignUpForContactList" class="screenlet">
     <h3>${uiLabelMap.EcommerceSignUpForContactList}</h3>
-    <div class="screenlet-body">
         <#if sessionAttributes.autoName?has_content>
             <#-- The visitor potentially has an account and party id -->
             <#if userLogin?has_content && userLogin.userLoginId != "anonymous">
                 <#-- They are logged in so lets present the form to sign up with their email address -->
                 <form method="post" action="<@o...@ofbizUrl>" name="signUpForContactListForm">
+                  <fieldset>
                     <input type="hidden" name="partyId" value="${partyId}"/>
                     <input type="hidden" name="statusId" value="CLPT_PENDING"/>
                     <p>${uiLabelMap.EcommerceSignUpForContactListComments}</p>
@@ -47,6 +47,7 @@
                     </select>
 
                     <input type="submit" value="${uiLabelMap.EcommerceSubscribe}" class="smallSubmit"/>
+                  </fieldset>
                 </form>
             <#else>
                 <#-- Not logged in so ask them to log in and then sign up or clear the user association -->
@@ -57,13 +58,14 @@
         <#else>
             <#-- There is no party info so just offer an anonymous (non-partyId) related newsletter sign up -->
             <form method="post" action="<@o...@ofbizUrl>" name="signUpForContactListForm">
+              <fieldset>
                 <p>${uiLabelMap.EcommerceSignUpForContactListComments}</p>
                 <@contactList publicEmailContactLists=publicEmailContactLists/>
-                <input size="20" maxlength="255" name="email" class="inputBox" value="" type="text">
+                <input size="20" maxlength="255" name="email" class="inputBox" value="" type="text"/>
                 <input type="submit" value="${uiLabelMap.EcommerceSubscribe}" class="smallSubmit"/>
+              </fieldset>
             </form>
         </#if>
-    </div>
 </div>