svn commit: r817661 - in /ofbiz/trunk/specialpurpose/ecommerce/webapp/ecommerce: catalog/productreview.ftl order/orderhistory.ftl

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

svn commit: r817661 - in /ofbiz/trunk/specialpurpose/ecommerce/webapp/ecommerce: catalog/productreview.ftl order/orderhistory.ftl

mor-2
Author: mor
Date: Tue Sep 22 13:41:33 2009
New Revision: 817661

URL: http://svn.apache.org/viewvc?rev=817661&view=rev
Log:
Markup improvements.

Modified:
    ofbiz/trunk/specialpurpose/ecommerce/webapp/ecommerce/catalog/productreview.ftl
    ofbiz/trunk/specialpurpose/ecommerce/webapp/ecommerce/order/orderhistory.ftl

Modified: ofbiz/trunk/specialpurpose/ecommerce/webapp/ecommerce/catalog/productreview.ftl
URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/ecommerce/webapp/ecommerce/catalog/productreview.ftl?rev=817661&r1=817660&r2=817661&view=diff
==============================================================================
--- ofbiz/trunk/specialpurpose/ecommerce/webapp/ecommerce/catalog/productreview.ftl (original)
+++ ofbiz/trunk/specialpurpose/ecommerce/webapp/ecommerce/catalog/productreview.ftl Tue Sep 22 13:41:33 2009
@@ -18,7 +18,7 @@
 -->
 
 <#if requestParameters.product_id?exists>
-  <form name="reviewProduct" method="post" action="<@ofbizUrl>createProductReview</@ofbizUrl>">
+  <form id="reviewProduct" method="post" action="<@ofbizUrl>createProductReview</@ofbizUrl>">
     <fieldset>
       <input type="hidden" name="productStoreId" value="${productStore.productStoreId}" />
       <input type="hidden" name="productId" value="${requestParameters.product_id}" />
@@ -51,11 +51,11 @@
         <span><label for="yes">${uiLabelMap.EcommercePostAnonymous}:</label></span>
         <span>
           <label for="yes">${uiLabelMap.CommonYes}</label>
-          <input type="radio" id="yes" name="postedAnonymous" value="true">
+          <input type="radio" id="yes" name="postedAnonymous" value="true" />
         </span>
         <span>
           <label for="no">${uiLabelMap.CommonNo}</label>
-          <input type="radio" id="no" name="postedAnonymous" value="false" checked="checked">
+          <input type="radio" id="no" name="postedAnonymous" value="false" checked="checked" />
         </span>
       </div>
       <div>
@@ -63,7 +63,7 @@
         <textarea class="textAreaBox" name="productReview" cols="40"></textarea>
       </div>
       <div>
-        <a href="javascript:document.reviewProduct.submit();" class="button">[${uiLabelMap.CommonSave}]</a>
+        <a href="javascript:$('reviewProduct').submit();" class="button">[${uiLabelMap.CommonSave}]</a>
         <a href="<@ofbizUrl>product?product_id=${requestParameters.product_id}</@ofbizUrl>" class="button">[${uiLabelMap.CommonCancel}]</a>
       </div>
     </fieldset>

Modified: ofbiz/trunk/specialpurpose/ecommerce/webapp/ecommerce/order/orderhistory.ftl
URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/ecommerce/webapp/ecommerce/order/orderhistory.ftl?rev=817661&r1=817660&r2=817661&view=diff
==============================================================================
--- ofbiz/trunk/specialpurpose/ecommerce/webapp/ecommerce/order/orderhistory.ftl (original)
+++ ofbiz/trunk/specialpurpose/ecommerce/webapp/ecommerce/order/orderhistory.ftl Tue Sep 22 13:41:33 2009
@@ -55,7 +55,7 @@
             </tr>
           </#list>
         <#else>
-          <tr><td colspan="9">${uiLabelMap.OrderNoOrderFound}</td></tr>
+          <tr><td colspan="6">${uiLabelMap.OrderNoOrderFound}</td></tr>
         </#if>
       </tbody>
     </table>
@@ -85,7 +85,7 @@
             </tr>
           </#list>
         <#else>
-          <tr><td colspan="9">${uiLabelMap.OrderNoOrderFound}</td></tr>
+          <tr><td colspan="5">${uiLabelMap.OrderNoOrderFound}</td></tr>
         </#if>
       </tbody>
     </table>
@@ -116,7 +116,7 @@
             </tr>
           </#list>
         <#else>
-          <tr><td colspan="9">${uiLabelMap.EcommerceDownloadNotFound}</td></tr>
+          <tr><td colspan="5">${uiLabelMap.EcommerceDownloadNotFound}</td></tr>
         </#if>
       </tbody>
     </table>