Author: buscob
Date: Wed Apr 14 20:52:00 2010
New Revision: 934193

URL: http://svn.apache.org/viewvc?rev=934193&view=rev
Log:
A patch from Blas Rodriguez Somoza
OFBIZ-3680 - XHTML validation errors round 2 (specialpurpose/ebay)
https://issues.apache.org/jira/browse/OFBIZ-3680

XHTML validation errors

    * Unclosed tags
    * attributes without values (checked, selected, disabled, etc)
    * attribute values without "
    * Uppercase tags or attributes.
    * Unencoded ampersands in urls.



Modified:
    ofbiz/trunk/specialpurpose/ebay/webapp/ebay/find/EbayKeywordSearch.ftl
    ofbiz/trunk/specialpurpose/ebay/webapp/ebay/find/productsExportToEbay.ftl
    ofbiz/trunk/specialpurpose/ebaystore/webapp/ebaystore/store/StoreSetting.ftl
    
ofbiz/trunk/specialpurpose/ebaystore/webapp/ebaystore/store/productsearchExport.ftl
    ofbiz/trunk/specialpurpose/ebaystore/webapp/ebaystore/store/returnPolicy.ftl

Modified: ofbiz/trunk/specialpurpose/ebay/webapp/ebay/find/EbayKeywordSearch.ftl
URL: 
http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/ebay/webapp/ebay/find/EbayKeywordSearch.ftl?rev=934193&r1=934192&r2=934193&view=diff
==============================================================================
--- ofbiz/trunk/specialpurpose/ebay/webapp/ebay/find/EbayKeywordSearch.ftl 
(original)
+++ ofbiz/trunk/specialpurpose/ebay/webapp/ebay/find/EbayKeywordSearch.ftl Wed 
Apr 14 20:52:00 2010
@@ -74,7 +74,7 @@ under the License.
         </div>
       </#macro>
       <@paginationPanel />
-      <form method="post" name="products">
+      <form method="post" name="products" action="">
         <fieldset>
           <input type="hidden" name="productStoreId" 
value="${parameters.productStoreId?if_exists}" />
           <input type="hidden" name="SEARCH_CATEGORY_ID" 
value="${(requestParameters.SEARCH_CATEGORY_ID)?if_exists}" />

Modified: 
ofbiz/trunk/specialpurpose/ebay/webapp/ebay/find/productsExportToEbay.ftl
URL: 
http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/ebay/webapp/ebay/find/productsExportToEbay.ftl?rev=934193&r1=934192&r2=934193&view=diff
==============================================================================
--- ofbiz/trunk/specialpurpose/ebay/webapp/ebay/find/productsExportToEbay.ftl 
(original)
+++ ofbiz/trunk/specialpurpose/ebay/webapp/ebay/find/productsExportToEbay.ftl 
Wed Apr 14 20:52:00 2010
@@ -51,7 +51,7 @@ under the License.
                         <option value=""> </option>
                         <#if categories?exists>
                             <#list categories as category>
-                                <option value="${category.CategoryCode}" <#if 
categoryCode?exists && categoryCode == 
category.CategoryCode>selected</#if>>${category.CategoryName}</option>
+                                <option value="${category.CategoryCode}" <#if 
categoryCode?exists && categoryCode == 
category.CategoryCode>selected="selected"</#if>>${category.CategoryName}</option>
                             </#list>
                         </#if>
                     </select>
@@ -65,7 +65,7 @@ under the License.
                     <select name="country">
                         <#if countries?exists>
                             <#list countries as country>
-                                <option value="${country.geoCode}" <#if 
countryCode?exists && countryCode == 
country.geoCode>selected</#if>>${country.get("geoName",locale)}</option>
+                                <option value="${country.geoCode}" <#if 
countryCode?exists && countryCode == 
country.geoCode>selected="selected"</#if>>${country.get("geoName",locale)}</option>
                             </#list>
                         </#if>
                     </select>

Modified: 
ofbiz/trunk/specialpurpose/ebaystore/webapp/ebaystore/store/StoreSetting.ftl
URL: 
http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/ebaystore/webapp/ebaystore/store/StoreSetting.ftl?rev=934193&r1=934192&r2=934193&view=diff
==============================================================================
--- 
ofbiz/trunk/specialpurpose/ebaystore/webapp/ebaystore/store/StoreSetting.ftl 
(original)
+++ 
ofbiz/trunk/specialpurpose/ebaystore/webapp/ebaystore/store/StoreSetting.ftl 
Wed Apr 14 20:52:00 2010
@@ -164,7 +164,7 @@ under the License.
             <tr>
               <td class="label" align="right" valign="middle"></td>
               <td valign="middle">
-                   <div onClick="javascript:switchTheme();">
+                   <div onclick="javascript:switchTheme();">
                    <input type="radio" name="storeThemeType" <#if 
themeType?if_exists == "Basic">checked="checked"</#if> value="Basic" 
default="default" /> Basic Theme
                    <input type="radio"  name="storeThemeType" <#if 
themeType?if_exists == "Advanced">checked="checked"</#if> value="Advanced" /> 
Advanced Theme
                    </div>
@@ -178,7 +178,7 @@ under the License.
                    <#if storeAdvanceThemeOptList?has_content>
                        <#list storeAdvanceThemeOptList as storeAdvanceThemeOpt>
                                     <option 
value="${storeAdvanceThemeOpt.storeThemeId?if_exists}"
-                                    <#if 
ebayStore.storeThemeId.equals(storeAdvanceThemeOpt.storeThemeId?if_exists)>selected</#if>>
+                                    <#if 
ebayStore.storeThemeId.equals(storeAdvanceThemeOpt.storeThemeId?if_exists)>selected="selected"</#if>>
                                     
${storeAdvanceThemeOpt.storeThemeName?if_exists}</option>
                         </#list>
                    </#if>
@@ -192,7 +192,7 @@ under the License.
                 <select name="storeAdvancedThemeColor">
                         <#list storeAdvancedThemeColorOptList as 
storeAdvancedThemeColorOpt>
                                 <option 
value="${storeAdvancedThemeColorOpt.storeColorSchemeId?if_exists}"
-                                <#if 
ebayStore.storeColorSchemeId.equals(storeAdvancedThemeColorOpt.storeColorSchemeId?if_exists)>selected</#if>>
+                                <#if 
ebayStore.storeColorSchemeId.equals(storeAdvancedThemeColorOpt.storeColorSchemeId?if_exists)>selected="selected"</#if>>
                                 
${storeAdvancedThemeColorOpt.storeColorName?if_exists}</option>
                         </#list>
                 </select>
@@ -204,12 +204,12 @@ under the License.
               <td class="label" align="right" 
valign="middle">${uiLabelMap.EbayStoreStoreBasicTheme} :</td>
               <td valign="middle">
                 <#assign currentStoreThemeIdAndSchemeId = 
ebayStore.storeThemeId?string+"-"+ebayStore.storeColorSchemeId?string>
-                <select id="storeBasicTheme" name="storeBasicTheme" 
onChange="javascript:retrieveThemeColorSchemeByThemeId('<@ofbizUrl>retrieveThemeColorSchemeByThemeId</@ofbizUrl>',this.value,'${parameters.productStoreId?if_exists}');">
+                <select id="storeBasicTheme" name="storeBasicTheme" 
onchange="javascript:retrieveThemeColorSchemeByThemeId('<@ofbizUrl>retrieveThemeColorSchemeByThemeId</@ofbizUrl>',this.value,'${parameters.productStoreId?if_exists}');">
                    <#if storeThemeOptList?has_content>
                        <#list storeThemeOptList as storeThemeOpt>
                                     <#assign storeThemeIdAndSchemeId = 
storeThemeOpt.storeThemeId+"-"+storeThemeOpt.storeColorSchemeId>
                                     <option 
value="${storeThemeIdAndSchemeId?if_exists}" 
-                                        <#if currentStoreThemeIdAndSchemeId == 
storeThemeIdAndSchemeId?if_exists>selected</#if>>
+                                        <#if currentStoreThemeIdAndSchemeId == 
storeThemeIdAndSchemeId?if_exists>selected="selected"</#if>>
                                         
${storeThemeOpt.storeColorSchemeName?if_exists}
                                     </option>
                         </#list>
@@ -272,14 +272,14 @@ under the License.
                             <td>
                                 <select id="storeNameFont" 
name="storeNameFont">
                                     <#list 
storeFontTheme.storeFontTypeFontFaceList as storeFontTypeFontFace>
-                                        <option <#if 
storeFontTypeFontFace.storeFontValue?if_exists.equals(ebayStore.storeNameFontFace?if_exists)
 >selected</#if> 
value="${storeFontTypeFontFace.storeFontName?if_exists}">${storeFontTypeFontFace.storeFontName?if_exists}</option>
+                                        <option <#if 
storeFontTypeFontFace.storeFontValue?if_exists.equals(ebayStore.storeNameFontFace?if_exists)
 >selected="selected"</#if> 
value="${storeFontTypeFontFace.storeFontName?if_exists}">${storeFontTypeFontFace.storeFontName?if_exists}</option>
                                     </#list>
                                 </select>
                             </td>
                             <td>
                                 <select id="storeNameFontSize" 
name="storeNameFontSize">
                                     <#list 
storeFontTheme.storeFontTypeSizeFaceList as storeFontTypeSizeFace>
-                                        <option <#if 
storeFontTypeSizeFace.storeFontSizeValue?if_exists.equals(ebayStore.storeNameFontFaceSize?if_exists)
 >selected</#if> 
value="${storeFontTypeSizeFace.storeFontSizeName?if_exists}">${storeFontTypeSizeFace.storeFontSizeName?if_exists}</option>
+                                        <option <#if 
storeFontTypeSizeFace.storeFontSizeValue?if_exists.equals(ebayStore.storeNameFontFaceSize?if_exists)
 >selected="selected"</#if> 
value="${storeFontTypeSizeFace.storeFontSizeName?if_exists}">${storeFontTypeSizeFace.storeFontSizeName?if_exists}</option>
                                     </#list>
                                 </select>
                             </td>
@@ -305,14 +305,14 @@ under the License.
                             <td>
                                 <select id="storeTitleFont" 
name="storeTitleFont">
                                     <#list 
storeFontTheme.storeFontTypeFontTitleList as storeFontTypeFontTitle>
-                                        <option <#if 
storeFontTypeFontTitle.storeFontValue?if_exists.equals(ebayStore.storeTitleFontFace?if_exists)
 >selected</#if> 
value="${storeFontTypeFontTitle.storeFontName?if_exists}">${storeFontTypeFontTitle.storeFontName?if_exists}</option>
+                                        <option <#if 
storeFontTypeFontTitle.storeFontValue?if_exists.equals(ebayStore.storeTitleFontFace?if_exists)
 >selected="selected"</#if> 
value="${storeFontTypeFontTitle.storeFontName?if_exists}">${storeFontTypeFontTitle.storeFontName?if_exists}</option>
                                     </#list>
                                 </select>
                             </td>
                             <td>
                                 <select id="storeTitleFontSize" 
name="storeTitleFontSize">
                                     <#list 
storeFontTheme.storeFontSizeTitleList as storeFontSizeTitle>
-                                        <option <#if 
storeFontSizeTitle.storeFontSizeValue?if_exists.equals(ebayStore.storeTitleFontFaceSize?if_exists)
 >selected</#if> 
value="${storeFontSizeTitle.storeFontSizeName?if_exists}">${storeFontSizeTitle.storeFontSizeName?if_exists}</option>
+                                        <option <#if 
storeFontSizeTitle.storeFontSizeValue?if_exists.equals(ebayStore.storeTitleFontFaceSize?if_exists)
 >selected="selected"</#if> 
value="${storeFontSizeTitle.storeFontSizeName?if_exists}">${storeFontSizeTitle.storeFontSizeName?if_exists}</option>
                                     </#list>
                                 </select>
                             </td>
@@ -338,14 +338,14 @@ under the License.
                             <td>
                                 <select id="storeDescFont" 
name="storeDescFont">
                                     <#list 
storeFontTheme.storeFontTypeFontDescList as storeFontTypeFontDesc>
-                                        <option <#if 
storeFontTypeFontDesc.storeFontValue?if_exists.equals(ebayStore.storeDescFontFace?if_exists)
 >selected</#if> 
value="${storeFontTypeFontDesc.storeFontName?if_exists}">${storeFontTypeFontDesc.storeFontName?if_exists}</option>
+                                        <option <#if 
storeFontTypeFontDesc.storeFontValue?if_exists.equals(ebayStore.storeDescFontFace?if_exists)
 >selected="selected"</#if> 
value="${storeFontTypeFontDesc.storeFontName?if_exists}">${storeFontTypeFontDesc.storeFontName?if_exists}</option>
                                     </#list>
                                 </select>
                             </td>
                             <td>
                                 <select id="storeDescFontSize" 
name="storeDescFontSize">
                                     <#list storeFontTheme.storeDescSizeList as 
storeDescSize>
-                                        <option <#if 
storeDescSize.storeFontSizeValue?if_exists.equals(ebayStore.storeDescSizeCode?if_exists)
 >selected</#if> 
value="${storeDescSize.storeFontSizeName?if_exists}">${storeDescSize.storeFontSizeName?if_exists}</option>
+                                        <option <#if 
storeDescSize.storeFontSizeValue?if_exists.equals(ebayStore.storeDescSizeCode?if_exists)
 >selected="selected"</#if> 
value="${storeDescSize.storeFontSizeName?if_exists}">${storeDescSize.storeFontSizeName?if_exists}</option>
                                     </#list>
                                 </select>
                             </td>
@@ -362,7 +362,7 @@ under the License.
               <td valign="middle">
                     <select id="storeCustomHeaderLayout" 
name="storeCustomHeaderLayout">
                         <#list ebayStore.storeCustomHeaderLayoutList as 
storeCustomHeaderLayout>
-                               <option <#if 
storeCustomHeaderLayout.storeCustomHeaderLayoutValue?if_exists.equals(ebayStore.storeCustomHeaderLayout?if_exists)
 >selected</#if> 
value="${storeCustomHeaderLayout.storeCustomHeaderLayoutName?if_exists}">${storeCustomHeaderLayout.storeCustomHeaderLayoutValue?if_exists}</option>
+                               <option <#if 
storeCustomHeaderLayout.storeCustomHeaderLayoutValue?if_exists.equals(ebayStore.storeCustomHeaderLayout?if_exists)
 >selected="selected"</#if> 
value="${storeCustomHeaderLayout.storeCustomHeaderLayoutName?if_exists}">${storeCustomHeaderLayout.storeCustomHeaderLayoutValue?if_exists}</option>
                         </#list>
                     </select>
               </td>
@@ -379,7 +379,7 @@ under the License.
               <td valign="middle">
                     <select id="storeHeaderStyle" name="storeHeaderStyle">
                         <#list ebayStore.storeHeaderStyleList as 
storeHeaderStyle>
-                               <option <#if 
storeHeaderStyle.storeHeaderStyleValue?if_exists.equals(ebayStore.storeHeaderStyle?if_exists)
 >selected</#if> 
value="${storeHeaderStyle.storeHeaderStyleName?if_exists}">${storeHeaderStyle.storeHeaderStyleValue?if_exists}</option>
+                               <option <#if 
storeHeaderStyle.storeHeaderStyleValue?if_exists.equals(ebayStore.storeHeaderStyle?if_exists)
 >selected="selected"</#if> 
value="${storeHeaderStyle.storeHeaderStyleName?if_exists}">${storeHeaderStyle.storeHeaderStyleValue?if_exists}</option>
                         </#list>
                     </select>
               </td>
@@ -395,7 +395,7 @@ under the License.
               <td valign="middle">
                     <select id="storeItemLayout" name="storeItemLayout">
                         <#list ebayStore.storeItemLayoutList as 
storeItemLayout>
-                               <option <#if 
storeItemLayout.storeItemLayoutValue?if_exists.equals(ebayStore.storeItemLayoutSelected?if_exists)
 >selected</#if> 
value="${storeItemLayout.storeItemLayoutName?if_exists}">${storeItemLayout.storeItemLayoutValue?if_exists}</option>
+                               <option <#if 
storeItemLayout.storeItemLayoutValue?if_exists.equals(ebayStore.storeItemLayoutSelected?if_exists)
 >selected="selected"</#if> 
value="${storeItemLayout.storeItemLayoutName?if_exists}">${storeItemLayout.storeItemLayoutValue?if_exists}</option>
                         </#list>
                     </select>
               </td>
@@ -405,7 +405,7 @@ under the License.
               <td valign="middle">
                     <select id="storeItemSortOrder" name="storeItemSortOrder">
                         <#list ebayStore.storeItemSortOrderList as 
storeItemSortOrder>
-                               <option <#if 
storeItemSortOrder.storeItemSortLayoutValue?if_exists.equals(ebayStore.storeItemSortOrderSelected?if_exists)
 >selected</#if> 
value="${storeItemSortOrder.storeItemSortLayoutName?if_exists}">${storeItemSortOrder.storeItemSortLayoutValue?if_exists}</option>
+                               <option <#if 
storeItemSortOrder.storeItemSortLayoutValue?if_exists.equals(ebayStore.storeItemSortOrderSelected?if_exists)
 >selected="selected"</#if> 
value="${storeItemSortOrder.storeItemSortLayoutName?if_exists}">${storeItemSortOrder.storeItemSortLayoutValue?if_exists}</option>
                         </#list>
                     </select>
               </td>
@@ -415,7 +415,7 @@ under the License.
               <td valign="middle">
                     <select id="storeCustomListingHeaderDisplay" 
name="storeCustomListingHeaderDisplay">
                         <#list ebayStore.storeCustomListingHeaderDisplayList 
as storeCustomListingHeaderDisplay>
-                               <option <#if 
storeCustomListingHeaderDisplay.storeCustomHeaderLayoutValue?if_exists.equals(ebayStore.storeCustomListingHeaderDisplayValue?if_exists)
 >selected</#if> 
value="${storeCustomListingHeaderDisplay.storeCustomHeaderLayoutValue?if_exists}">${storeCustomListingHeaderDisplay.storeCustomHeaderLayoutValue?if_exists}</option>
+                               <option <#if 
storeCustomListingHeaderDisplay.storeCustomHeaderLayoutValue?if_exists.equals(ebayStore.storeCustomListingHeaderDisplayValue?if_exists)
 >selected="selected"</#if> 
value="${storeCustomListingHeaderDisplay.storeCustomHeaderLayoutValue?if_exists}">${storeCustomListingHeaderDisplay.storeCustomHeaderLayoutValue?if_exists}</option>
                         </#list>
                     </select>
               </td>
@@ -425,7 +425,7 @@ under the License.
               <td valign="middle">
                     <select id="storeMerchDisplay" name="storeMerchDisplay">
                         <#list ebayStore.storeMerchDisplayList as 
storeMerchDisplay>
-                               <option <#if 
storeMerchDisplay.merchDisplayCodeValue?if_exists.equals(ebayStore.storeMerchDisplay?if_exists)
 >selected</#if> 
value="${storeMerchDisplay.merchDisplayCodeName?if_exists}">${storeMerchDisplay.merchDisplayCodeValue?if_exists}</option>
+                               <option <#if 
storeMerchDisplay.merchDisplayCodeValue?if_exists.equals(ebayStore.storeMerchDisplay?if_exists)
 >selected="selected"</#if> 
value="${storeMerchDisplay.merchDisplayCodeName?if_exists}">${storeMerchDisplay.merchDisplayCodeValue?if_exists}</option>
                         </#list>
                     </select>
               </td>
@@ -435,7 +435,7 @@ under the License.
               <td valign="middle">
                     <select id="storeMerchDisplay" 
name="storeSubscriptionDisplay">
                         <#list ebayStore.storeSubscriptionLevelList as 
storeSubscriptionLevel>
-                               <option <#if 
storeSubscriptionLevel.storeSubscriptionLevelCodeValue?if_exists.equals(ebayStore.storeSubscriptionLevel?if_exists)
 >selected</#if> 
value="${storeSubscriptionLevel.storeSubscriptionLevelCodeName?if_exists}">${storeSubscriptionLevel.storeSubscriptionLevelCodeValue?if_exists}</option>
+                               <option <#if 
storeSubscriptionLevel.storeSubscriptionLevelCodeValue?if_exists.equals(ebayStore.storeSubscriptionLevel?if_exists)
 >selected="selected"</#if> 
value="${storeSubscriptionLevel.storeSubscriptionLevelCodeName?if_exists}">${storeSubscriptionLevel.storeSubscriptionLevelCodeValue?if_exists}</option>
                         </#list>
                     </select>
               </td>

Modified: 
ofbiz/trunk/specialpurpose/ebaystore/webapp/ebaystore/store/productsearchExport.ftl
URL: 
http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/ebaystore/webapp/ebaystore/store/productsearchExport.ftl?rev=934193&r1=934192&r2=934193&view=diff
==============================================================================
--- 
ofbiz/trunk/specialpurpose/ebaystore/webapp/ebaystore/store/productsearchExport.ftl
 (original)
+++ 
ofbiz/trunk/specialpurpose/ebaystore/webapp/ebaystore/store/productsearchExport.ftl
 Wed Apr 14 20:52:00 2010
@@ -242,11 +242,11 @@ under the License.
                           <table cellspacing="0" width="70%">
                             <tr>
                                 <td class="label">ItemID</td>
-                                <td><input type="text" readOnly name="item" 
value="${item.getItemID()?if_exists}"/></td>
+                                <td><input type="text" readonly="readonly" 
name="item" value="${item.getItemID()?if_exists}"/></td>
                                 <td class="label">Item Fee</td>
                                 <td>
                                     <div>
-                                        <input type="text" readOnly 
name="itemFee" value="${request.getAttribute("itemFee")?if_exists}"/>
+                                        <input type="text" readonly="readonly" 
name="itemFee" value="${request.getAttribute("itemFee")?if_exists}"/>
                                         <!-- itemlisting buttons bar -->
                                         <a href="#" 
onclick="javascript:document.ProductsExportToEbay.action='<@ofbizUrl>updateProductExportDetail</@ofbizUrl>';document.ProductsExportToEbay.submit();"
 class="buttontext">${uiLabelMap.CommonSave}</a>
                                     <#-- request.setAttribute("isSaved")-->
@@ -272,7 +272,7 @@ under the License.
                                             <td class="label">SiteId</td>
                                             <td>
                                                 <#assign site = 
item.getSite().value()?if_exists>
-                                                <input type="text" readOnly 
name="site" value="${item.getSite().name()?if_exists} 
[${item.getSite()?if_exists}]"/>
+                                                <input type="text" 
readonly="readonly" name="site" value="${item.getSite().name()?if_exists} 
[${item.getSite()?if_exists}]"/>
                                             </td>
                                         </tr>
                                         <!-- set ebay category -->
@@ -291,7 +291,7 @@ under the License.
                                                                     <#assign  
leafCate  = "true">
                                                                 </#if>
                                                                 <#assign  
primaryCateId  = primaryCate.getCategoryID()?if_exists>
-                                                                 <option 
selected value="${primaryCate.getCategoryID()?if_exists}:${leafCate?if_exists}" 
>${primaryCate.getCategoryName()?if_exists}</option>
+                                                                 <option 
selected="selected" 
value="${primaryCate.getCategoryID()?if_exists}:${leafCate?if_exists}" 
>${primaryCate.getCategoryName()?if_exists}</option>
                                                             <#else>
                                                                 <#list 
categories as csCate>
                                                                     <#if 
!csCate.isLeafCategory()?has_content> 
@@ -327,7 +327,7 @@ under the License.
                                                                     <#assign  
leafCate  = "true">
                                                                 </#if>
                                                                 <#assign 
storeCate1Id  = storeFront.getStoreCategoryID()?if_exists>
-                                                                 <option 
selected value="${storeFront.getStoreCategoryID()?if_exists}" 
>${storeFront.getStoreCategoryID()?if_exists}</option>
+                                                                 <option 
selected="selected" value="${storeFront.getStoreCategoryID()?if_exists}" 
>${storeFront.getStoreCategoryID()?if_exists}</option>
                                                             <#else>
                                                                 <#list 
storeCategories as csCate>
                                                                     <#if 
!csCate.IsLeafCategory?has_content> 
@@ -360,7 +360,7 @@ under the License.
                                                                     <#assign  
leafCate  = "true">
                                                                 </#if>
                                                                 <#assign 
storeCate1Id  = storeFront.getStoreCategoryID()?if_exists>
-                                                                 <option 
selected value="${storeFront.getStoreCategoryID()?if_exists}" 
>${storeFront.getStoreCategoryID()?if_exists}</option>
+                                                                 <option 
selected="selected" value="${storeFront.getStoreCategoryID()?if_exists}" 
>${storeFront.getStoreCategoryID()?if_exists}</option>
                                                             <#else>
                                                                 <#list 
storeCategories as csCate>
                                                                     <#if 
!csCate.IsLeafCategory?has_content> 
@@ -384,7 +384,7 @@ under the License.
                                         </tr>
                                         <tr>
                                             <td class="label">SKU</td>
-                                            <td><input type="text" readOnly 
name="sku" value="${item.getSKU()?if_exists}"/></td>
+                                            <td><input type="text" 
readonly="readonly" name="sku" value="${item.getSKU()?if_exists}"/></td>
                                         </tr>
                                         <tr>
                                             <td class="label">PictureURL</td>
@@ -408,7 +408,7 @@ under the License.
                                                     <#assign countryname = 
country.geoName/>
                                                 </#if>
                                             </#if>
-                                            <td><input type="text" readOnly 
name="country" size="20" 
value="${countryname?if_exists?default(item.getCountry().value()?if_exists)}"/></td>
+                                            <td><input type="text" 
readonly="readonly" name="country" size="20" 
value="${countryname?if_exists?default(item.getCountry().value()?if_exists)}"/></td>
                                         </tr>
                                         <tr>
                                             <td 
class="label">${uiLabelMap.FormFieldTitle_location}</td>
@@ -480,13 +480,13 @@ under the License.
                                                 <table align="left" 
width="60%"  height="100%" cellspacing="0">
                                                     <tr>
                                                         <td></td>
-                                                        <td><input 
type="checkbox" value="Y" onClick="javascript:enabledItemTemplate(this.value);" 
id="enabledTheme" name="enabledTheme" /><b>Add a theme</b></checkbox></td>
+                                                        <td><input 
type="checkbox" value="Y" onclick="javascript:enabledItemTemplate(this.value);" 
id="enabledTheme" name="enabledTheme" /><b>Add a theme</b></checkbox></td>
                                                     </tr>
                                                     <tr>
                                                         <td 
class="label">Select Theme</td>
                                                         <td>
                                                              <#if 
adItemTemplates?has_content>
-                                                                <select 
id="themeGroup" disabled 
onChange="javascript:retrieveTemplateByTemGroupId(this.value,'${productStoreId?if_exists}','${primaryCate.getCategoryID()?if_exists}');"
 name="themeGroup">
+                                                                <select 
id="themeGroup" disabled 
onchange="javascript:retrieveTemplateByTemGroupId(this.value,'${productStoreId?if_exists}','${primaryCate.getCategoryID()?if_exists}');"
 name="themeGroup">
                                                                 <#list 
adItemTemplates as adItemTemplate>
                                                                     <option 
value="${adItemTemplate.TemplateGroupId?if_exists}">${adItemTemplate.TemplateGroupName?if_exists}</option>
                                                                 </#list>
@@ -498,7 +498,7 @@ under the License.
                                                         <td 
class="label">Select Design</td>
                                                         <td>
                                                              <#if 
adItemTemplates?has_content>
-                                                                <select 
id="theme" disabled onChange="javascript:previewPic(this.value);" name="theme">
+                                                                <select 
id="theme" disabled onchange="javascript:previewPic(this.value);" name="theme">
                                                                     <option 
value="">-</option>
                                                                 </select>
                                                             </#if>
@@ -539,7 +539,7 @@ under the License.
                                                <#if 
listingType.type?if_exists.equals("Chinese") || listingType.type?if_exists == 
"FixedPriceItem">
                                                     <#if 
listingType.type?if_exists.equals("Chinese") > <#assign tabName = 
"Auction"></#if>
                                                     <#if 
listingType.type?if_exists.equals("FixedPriceItem") > <#assign tabName = "Fixed 
Price"></#if>
-                                                    <li  <#if id==1 > 
style="margin-left: 1px" id="tabHeaderActive_"<#else> id="tabHeader_${id}" 
</#if>><a href="javascript:void(0)" 
onClick="toggleTab(${id},2)"><span>${tabName?if_exists}</span></a></li>
+                                                    <li  <#if id==1 > 
style="margin-left: 1px" id="tabHeaderActive_"<#else> id="tabHeader_${id}" 
</#if>><a href="javascript:void(0)" 
onclick="toggleTab(${id},2)"><span>${tabName?if_exists}</span></a></li>
                                                     <#assign id = id + 1>
                                                </#if>
                                             </#list>

Modified: 
ofbiz/trunk/specialpurpose/ebaystore/webapp/ebaystore/store/returnPolicy.ftl
URL: 
http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/ebaystore/webapp/ebaystore/store/returnPolicy.ftl?rev=934193&r1=934192&r2=934193&view=diff
==============================================================================
--- 
ofbiz/trunk/specialpurpose/ebaystore/webapp/ebaystore/store/returnPolicy.ftl 
(original)
+++ 
ofbiz/trunk/specialpurpose/ebaystore/webapp/ebaystore/store/returnPolicy.ftl 
Wed Apr 14 20:52:00 2010
@@ -138,7 +138,7 @@ under the License.
         </tr>
         <tr>
             <td>
-                <font size="2" face="Verdana,Geneva,Arial,Helvetica" 
color="#666666" style="font-size:11px">- Specify a return policy. <a 
target=_new 
HREF="http://pages.ebay.com/help/sell/contextual/return-policy.html"; 
onClick="if(window.openContextualHelpWindow){return 
openContextualHelpWindow(this.href)}" target="helpwin">Learn More</a>.</font>
+                <font size="2" face="Verdana,Geneva,Arial,Helvetica" 
color="#666666" style="font-size:11px">- Specify a return policy. <a 
target=_new 
HREF="http://pages.ebay.com/help/sell/contextual/return-policy.html"; 
onclick="if(window.openContextualHelpWindow){return 
openContextualHelpWindow(this.href)}" target="helpwin">Learn More</a>.</font>
             </td>
         </tr>
     </#if>


Reply via email to