You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by mo...@apache.org on 2009/09/22 15:21:08 UTC
svn commit: r817652 -
/ofbiz/trunk/specialpurpose/ecommerce/webapp/ecommerce/catalog/productreview.ftl
Author: mor
Date: Tue Sep 22 13:21:07 2009
New Revision: 817652
URL: http://svn.apache.org/viewvc?rev=817652&view=rev
Log:
Markup improvements.
Modified:
ofbiz/trunk/specialpurpose/ecommerce/webapp/ecommerce/catalog/productreview.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=817652&r1=817651&r2=817652&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:21:07 2009
@@ -16,52 +16,58 @@
specific language governing permissions and limitations
under the License.
-->
+
<#if requestParameters.product_id?exists>
<form name="reviewProduct" method="post" action="<@o...@ofbizUrl>">
- <input type="hidden" name="productStoreId" value="${productStore.productStoreId}">
- <input type="hidden" name="productId" value="${requestParameters.product_id}">
- <input type="hidden" name="product_id" value="${requestParameters.product_id}">
- <input type="hidden" name="category_id" value="${requestParameters.category_id}">
- <table border="0" width="100%" cellpadding="2" cellspacing='0'>
- <tr>
- <td valign="top">
- <div class="tabletext">
- <b>${uiLabelMap.EcommerceRating}:</b>
- 1 <input type="radio" name="productRating" value="1.0">
- 2 <input type="radio" name="productRating" value="2.0">
- 3 <input type="radio" name="productRating" value="3.0">
- 4 <input type="radio" name="productRating" value="4.0">
- 5 <input type="radio" name="productRating" value="5.0">
- </div>
- <td>
- </tr>
- <tr>
- <td>
- <div class="tabletext">
- ${uiLabelMap.EcommercePostAnonymous}:
- ${uiLabelMap.CommonYes} <input type="radio" name="postedAnonymous" value="true">
- ${uiLabelMap.CommonNo} <input type="radio" name="postedAnonymous" value="false" CHECKED>
- </div>
- </td>
- </tr>
- <tr>
- <td>
- <div class="tabletext"><b>${uiLabelMap.CommonReview}:</b>
- </td>
- </tr>
- <tr>
- <td>
- <textarea class="textAreaBox" name="productReview" cols="40" wrap="hard"></textarea>
- </td>
- </tr>
- <tr>
- <td>
- <a href="javascript:document.reviewProduct.submit();" class="buttontext">[${uiLabelMap.CommonSave}]</a>
- <a href="<@o...@ofbizUrl>" class="buttontext">[${uiLabelMap.CommonCancel}]</a>
- </td>
- </tr>
- </table>
+ <fieldset>
+ <input type="hidden" name="productStoreId" value="${productStore.productStoreId}" />
+ <input type="hidden" name="productId" value="${requestParameters.product_id}" />
+ <input type="hidden" name="product_id" value="${requestParameters.product_id}" />
+ <input type="hidden" name="category_id" value="${requestParameters.category_id}" />
+ <div>
+ <span><label for="one">${uiLabelMap.EcommerceRating}:</label></span>
+ <span>
+ <label for="one">1</label>
+ <input type="radio" id="one" name="productRating" value="1.0" />
+ </span>
+ <span>
+ <label for="two">2</label>
+ <input type="radio" id="two" name="productRating" value="2.0" />
+ </span>
+ <span>
+ <label for="three">3</label>
+ <input type="radio" id="three" name="productRating" value="3.0" />
+ </span>
+ <span>
+ <label for="four">4</label>
+ <input type="radio" id="four" name="productRating" value="4.0" />
+ </span>
+ <span>
+ <label for="five">5</label>
+ <input type="radio" id="five" name="productRating" value="5.0" />
+ </span>
+ </div>
+ <div>
+ <span><label for="yes">${uiLabelMap.EcommercePostAnonymous}:</label></span>
+ <span>
+ <label for="yes">${uiLabelMap.CommonYes}</label>
+ <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">
+ </span>
+ </div>
+ <div>
+ <label for="review">${uiLabelMap.CommonReview}:</label>
+ <textarea class="textAreaBox" name="productReview" cols="40"></textarea>
+ </div>
+ <div>
+ <a href="javascript:document.reviewProduct.submit();" class="button">[${uiLabelMap.CommonSave}]</a>
+ <a href="<@o...@ofbizUrl>" class="button">[${uiLabelMap.CommonCancel}]</a>
+ </div>
+ </fieldset>
</form>
<#else>
<h2>${uiLabelMap.ProductCannotReviewUnKnownProduct}.</h2>
-</#if>
+</#if>
\ No newline at end of file