You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by er...@apache.org on 2010/05/18 21:57:57 UTC
svn commit: r945852 - in /ofbiz/trunk/specialpurpose/ecommerce:
templates/survey/ webapp/ecommerce/cart/ webapp/ecommerce/catalog/
webapp/ecommerce/order/
Author: erwan
Date: Tue May 18 19:57:57 2010
New Revision: 945852
URL: http://svn.apache.org/viewvc?rev=945852&view=rev
Log:
XHTML validation errors round 2++ (specialpurpose/ecommerce) - OFBIZ-3757 (https://issues.apache.org/jira/browse/OFBIZ-3757)
Modified:
ofbiz/trunk/specialpurpose/ecommerce/templates/survey/minisurvey.ftl
ofbiz/trunk/specialpurpose/ecommerce/webapp/ecommerce/cart/showcart.ftl
ofbiz/trunk/specialpurpose/ecommerce/webapp/ecommerce/catalog/LayeredCategoryDetail.ftl
ofbiz/trunk/specialpurpose/ecommerce/webapp/ecommerce/catalog/configproductdetail.ftl
ofbiz/trunk/specialpurpose/ecommerce/webapp/ecommerce/order/splitship.ftl
Modified: ofbiz/trunk/specialpurpose/ecommerce/templates/survey/minisurvey.ftl
URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/ecommerce/templates/survey/minisurvey.ftl?rev=945852&r1=945851&r2=945852&view=diff
==============================================================================
--- ofbiz/trunk/specialpurpose/ecommerce/templates/survey/minisurvey.ftl (original)
+++ ofbiz/trunk/specialpurpose/ecommerce/templates/survey/minisurvey.ftl Tue May 18 19:57:57 2010
@@ -61,8 +61,8 @@ under the License.
<#if surveyQuestionAndAppl.requiredField?default("N") != "Y">
<option value=""></option>
</#if>
- <option <#if "Y" == selectedOption>SELECTED</#if>>Y</option>
- <option <#if "N" == selectedOption>SELECTED</#if>>N</option>
+ <option <#if "Y" == selectedOption>selected="selected"</#if>>Y</option>
+ <option <#if "N" == selectedOption>selected="selected"</#if>>N</option>
</select>
<#elseif surveyQuestionAndAppl.surveyQuestionTypeId == "TEXTAREA">
<textarea class="textAreaBox" cols="40" rows="5" name="answers_${surveyQuestionAndAppl.surveyQuestionId}">${(answer.textResponse)?if_exists}</textarea>
@@ -97,7 +97,7 @@ under the License.
</#if>
<#if options?has_content>
<#list options as option>
- <option value="${option.surveyOptionSeqId}" <#if option.surveyOptionSeqId == selectedOption>SELECTED</#if>>${option.description?if_exists}</option>
+ <option value="${option.surveyOptionSeqId}" <#if option.surveyOptionSeqId == selectedOption>selected="selected"</#if>>${option.description?if_exists}</option>
</#list>
<#else>
<option value="">Nothing to choose</option>
Modified: ofbiz/trunk/specialpurpose/ecommerce/webapp/ecommerce/cart/showcart.ftl
URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/ecommerce/webapp/ecommerce/cart/showcart.ftl?rev=945852&r1=945851&r2=945852&view=diff
==============================================================================
--- ofbiz/trunk/specialpurpose/ecommerce/webapp/ecommerce/cart/showcart.ftl (original)
+++ ofbiz/trunk/specialpurpose/ecommerce/webapp/ecommerce/cart/showcart.ftl Tue May 18 19:57:57 2010
@@ -289,7 +289,7 @@ function setAlternateGwp(field) {
<select class="selectBox" name="option^GIFT_WRAP_${cartLineIndex}" onchange="javascript:document.cartform.submit()">
<option value="NO^">${uiLabelMap.EcommerceNoGiftWrap}</option>
<#list giftWrapOption as option>
- <option value="${option.productFeatureId}" <#if ((selectedOption.productFeatureId)?exists && selectedOption.productFeatureId == option.productFeatureId)>SELECTED</#if>>${option.description} : ${option.amount?default(0)}</option>
+ <option value="${option.productFeatureId}" <#if ((selectedOption.productFeatureId)?exists && selectedOption.productFeatureId == option.productFeatureId)>selected="selected"</#if>>${option.description} : ${option.amount?default(0)}</option>
</#list>
</select>
<#elseif showNoGiftWrapOptions>
Modified: ofbiz/trunk/specialpurpose/ecommerce/webapp/ecommerce/catalog/LayeredCategoryDetail.ftl
URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/ecommerce/webapp/ecommerce/catalog/LayeredCategoryDetail.ftl?rev=945852&r1=945851&r2=945852&view=diff
==============================================================================
--- ofbiz/trunk/specialpurpose/ecommerce/webapp/ecommerce/catalog/LayeredCategoryDetail.ftl (original)
+++ ofbiz/trunk/specialpurpose/ecommerce/webapp/ecommerce/catalog/LayeredCategoryDetail.ftl Tue May 18 19:57:57 2010
@@ -58,7 +58,7 @@ under the License.
<div>
<#if categoryImageUrl?string?has_content>
<#assign height=100/>
- <img src='<@o...@ofbizContentUrl>' vspace='5' hspace='5' border='1' height='${height}' align='left'/>
+ <img src='<@o...@ofbizContentUrl>' vspace='5' hspace='5' border='1' height='${height}' align='left' alt="" />
</#if>
<#if longDescription?has_content>
${longDescription}
Modified: ofbiz/trunk/specialpurpose/ecommerce/webapp/ecommerce/catalog/configproductdetail.ftl
URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/ecommerce/webapp/ecommerce/catalog/configproductdetail.ftl?rev=945852&r1=945851&r2=945852&view=diff
==============================================================================
--- ofbiz/trunk/specialpurpose/ecommerce/webapp/ecommerce/catalog/configproductdetail.ftl (original)
+++ ofbiz/trunk/specialpurpose/ecommerce/webapp/ecommerce/catalog/configproductdetail.ftl Tue May 18 19:57:57 2010
@@ -205,7 +205,7 @@ function getConfigDetails(event) {
<#assign productLargeImageUrl = firstLargeImage>
</#if>
<#if productLargeImageUrl?string?has_content>
- <a href="javascript:popupDetail();"><img src='<@o...@ofbizContentUrl>' name='mainImage' vspace='5' hspace='5' border='0' width='200' align='left' /></a>
+ <a href="javascript:popupDetail();"><img src='<@o...@ofbizContentUrl>' name='mainImage' vspace='5' hspace='5' border='0' width='200' align='left' alt="" /></a>
</#if>
</td>
<td align="right" valign="top">
@@ -417,7 +417,7 @@ function getConfigDetails(event) {
<#assign imageUrl = "/images/defaultImage.jpg">
</#if>
<td align="center" valign="bottom">
- <a href="javascript:getList('FT${featureOrderFirst}','${indexer}',1);"><img src="<@o...@ofbizContentUrl>" border="0" width="60" height="60" /></a>
+ <a href="javascript:getList('FT${featureOrderFirst}','${indexer}',1);"><img src="<@o...@ofbizContentUrl>" border="0" width="60" height="60" alt="" /></a>
<br />
<a href="javascript:getList('FT${featureOrderFirst}','${indexer}',1);" class="buttontext">${key}</a>
</td>
@@ -478,7 +478,7 @@ function getConfigDetails(event) {
</#if>
<#assign image = question.content.get("IMAGE_URL")?if_exists>
<#if image?string?has_content>
- <img src='<@o...@ofbizContentUrl>' vspace='5' hspace='5' border='0' width='200' align='left' />
+ <img src='<@o...@ofbizContentUrl>' vspace='5' hspace='5' border='0' width='200' align='left' alt="" />
</#if>
<#else>
<div><a href='#${question.getConfigItem().getString("configItemId")}' class="buttontext">Details</a></div>
Modified: ofbiz/trunk/specialpurpose/ecommerce/webapp/ecommerce/order/splitship.ftl
URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/ecommerce/webapp/ecommerce/order/splitship.ftl?rev=945852&r1=945851&r2=945852&view=diff
==============================================================================
--- ofbiz/trunk/specialpurpose/ecommerce/webapp/ecommerce/order/splitship.ftl (original)
+++ ofbiz/trunk/specialpurpose/ecommerce/webapp/ecommerce/order/splitship.ftl Tue May 18 19:57:57 2010
@@ -178,7 +178,7 @@ function submitForm(form, mode, value) {
<#if !smallImageUrl?string?has_content><#assign smallImageUrl = "/images/defaultImage.jpg"></#if>
<#if smallImageUrl?string?has_content>
<a href="<@o...@ofbizUrl>">
- <img src="<@o...@ofbizContentUrl>" width="50" class="imageborder" border="0"/>
+ <img src="<@o...@ofbizContentUrl>" width="50" class="imageborder" border="0" alt="" />
</a>
</#if>
<#-- end code to display a small image of the product -->