Author: buscob
Date: Sat Apr 17 22:02:54 2010
New Revision: 935263
URL: http://svn.apache.org/viewvc?rev=935263&view=rev
Log:
A patch from Blas Rodriguez Somoza
OFBIZ-3688 - XHTML validation errors round 2 (content)
https://issues.apache.org/jira/browse/OFBIZ-3688
XHTML validation errors
* Unclosed tags
* attributes without values (checked, selected, disabled, etc)
* attribute values without "
* Uppercase tags or attributes.
* Unencoded ampersands in urls.
Other errors:
ContentTreeLookupList.ftl
Line 20: tr with attribute colspan
Modified:
ofbiz/trunk/applications/content/template/HelpTemplate.ftl
ofbiz/trunk/applications/content/webapp/content/cms/CMSContentEdit.ftl
ofbiz/trunk/applications/content/webapp/content/cms/CMSSites.ftl
ofbiz/trunk/applications/content/webapp/content/content/ContentNav.ftl
ofbiz/trunk/applications/content/webapp/content/content/DisplayContentNav.ftl
ofbiz/trunk/applications/content/webapp/content/content/nav.ftl
ofbiz/trunk/applications/content/webapp/content/lookup/ContentTreeLookupList.ftl
ofbiz/trunk/applications/content/webapp/content/survey/ViewSurveyResponses.ftl
ofbiz/trunk/applications/content/webapp/content/website/WebSiteCMSNav.ftl
Modified: ofbiz/trunk/applications/content/template/HelpTemplate.ftl
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/content/template/HelpTemplate.ftl?rev=935263&r1=935262&r2=935263&view=diff
==============================================================================
--- ofbiz/trunk/applications/content/template/HelpTemplate.ftl (original)
+++ ofbiz/trunk/applications/content/template/HelpTemplate.ftl Sat Apr 17
22:02:54 2010
@@ -69,11 +69,11 @@ under the License.
</#macro>
<#macro orderedlist node>
- <ol class=numbers><@listItems node=node/></ol>
+ <ol class="numbers"><@listItems node=node/></ol>
</#macro>
<#macro itemizedlist node>
- <ul class=dots><@listItems node=node/></ul>
+ <ul class="dots"><@listItems node=node/></ul>
</#macro>
<#macro mediaobject node>
Modified: ofbiz/trunk/applications/content/webapp/content/cms/CMSContentEdit.ftl
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/content/webapp/content/cms/CMSContentEdit.ftl?rev=935263&r1=935262&r2=935263&view=diff
==============================================================================
--- ofbiz/trunk/applications/content/webapp/content/cms/CMSContentEdit.ftl
(original)
+++ ofbiz/trunk/applications/content/webapp/content/cms/CMSContentEdit.ftl Sat
Apr 17 22:02:54 2010
@@ -72,7 +72,7 @@ ${menuWrapper.renderMenuString()}
<table width='100%' border='0' cellspacing='0' cellpadding='0'
class='boxbottom'>
<tr>
<td>
- <form mode="POST" name="publishsite"
action="<@ofbizUrl>linkContentToPubPt</@ofbizUrl>">
+ <form mode="post" name="publishsite"
action="<@ofbizUrl>linkContentToPubPt</@ofbizUrl>">
<input type="hidden" name="contentId" value="${contentId}"/>
<table width="100%" border="0" cellpadding="1">
<#assign rowCount = 0 />
@@ -114,7 +114,7 @@ ${menuWrapper.renderMenuString()}
<table width='100%' border='0' cellspacing='0' cellpadding='0'
class='boxbottom'>
<tr>
<td>
- <form mode="POST" name="updatefeatures"
action="<@ofbizUrl>updateFeatures</@ofbizUrl>">
+ <form mode="post" name="updatefeatures"
action="<@ofbizUrl>updateFeatures</@ofbizUrl>">
<input type="hidden" name="contentId" value="${contentId}"/>
<table width="100%" border="0" cellpadding="1">
<tr>
Modified: ofbiz/trunk/applications/content/webapp/content/cms/CMSSites.ftl
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/content/webapp/content/cms/CMSSites.ftl?rev=935263&r1=935262&r2=935263&view=diff
==============================================================================
--- ofbiz/trunk/applications/content/webapp/content/cms/CMSSites.ftl (original)
+++ ofbiz/trunk/applications/content/webapp/content/cms/CMSSites.ftl Sat Apr 17
22:02:54 2010
@@ -239,7 +239,7 @@ function call_fieldlookup4(rootForumId,
<tr>
<td valign="middle">
<div class="boxhead"><input type="text"
name="partyId_o_${rowCount}" value=""/>
- <a
href="javascript:call_fieldlookup3('<@ofbizUrl>LookupPerson</@ofbizUrl>')"><img
src="<@ofbizContentUrl>/images/fieldlookup.gif</@ofbizContentUrl>" width="16"
height="16" border="0"
alt="${uiLabelMap.CommonClickHereForFieldLookup}"></a></div>
+ <a
href="javascript:call_fieldlookup3('<@ofbizUrl>LookupPerson</@ofbizUrl>')"><img
src="<@ofbizContentUrl>/images/fieldlookup.gif</@ofbizContentUrl>" width="16"
height="16" border="0" alt="${uiLabelMap.CommonClickHereForFieldLookup}"
/></a></div>
<#[email protected] formName="siteRoleForm"
name="partyId_o_${rowCount}" id="partyId_o_${rowCount}"
fieldFormName="LookupPerson"/--><#-- FIXME check if should be changed -->
</td>
<#list blogRoleIdList as roleTypeId>
Modified: ofbiz/trunk/applications/content/webapp/content/content/ContentNav.ftl
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/content/webapp/content/content/ContentNav.ftl?rev=935263&r1=935262&r2=935263&view=diff
==============================================================================
--- ofbiz/trunk/applications/content/webapp/content/content/ContentNav.ftl
(original)
+++ ofbiz/trunk/applications/content/webapp/content/content/ContentNav.ftl Sat
Apr 17 22:02:54 2010
@@ -216,7 +216,7 @@
}
</script>
-<style>
+<style type="text/css">
.dojoContextMenu {
background-color: #ccc;
font-size: 10px;
Modified:
ofbiz/trunk/applications/content/webapp/content/content/DisplayContentNav.ftl
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/content/webapp/content/content/DisplayContentNav.ftl?rev=935263&r1=935262&r2=935263&view=diff
==============================================================================
---
ofbiz/trunk/applications/content/webapp/content/content/DisplayContentNav.ftl
(original)
+++
ofbiz/trunk/applications/content/webapp/content/content/DisplayContentNav.ftl
Sat Apr 17 22:02:54 2010
@@ -192,7 +192,7 @@
}
</script>
-<style>
+<style type="text/css">
.dojoContextMenu {
background-color: #ccc;
font-size: 10px;
Modified: ofbiz/trunk/applications/content/webapp/content/content/nav.ftl
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/content/webapp/content/content/nav.ftl?rev=935263&r1=935262&r2=935263&view=diff
==============================================================================
--- ofbiz/trunk/applications/content/webapp/content/content/nav.ftl (original)
+++ ofbiz/trunk/applications/content/webapp/content/content/nav.ftl Sat Apr 17
22:02:54 2010
@@ -56,7 +56,7 @@
}
</script>
-<style>
+<style type="text/css">
.dojoContextMenu {
background-color: #ccc;
font-size: 10px;
Modified:
ofbiz/trunk/applications/content/webapp/content/lookup/ContentTreeLookupList.ftl
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/content/webapp/content/lookup/ContentTreeLookupList.ftl?rev=935263&r1=935262&r2=935263&view=diff
==============================================================================
---
ofbiz/trunk/applications/content/webapp/content/lookup/ContentTreeLookupList.ftl
(original)
+++
ofbiz/trunk/applications/content/webapp/content/lookup/ContentTreeLookupList.ftl
Sat Apr 17 22:02:54 2010
@@ -17,7 +17,7 @@
under the License.
-->
<table cellspacing="0" width="100%">
- <tr colspan="3">
+ <tr>
<td align="left">
<#if (viewIndex > 0)>
<#assign
url='/views/'+tabButtonItem+'?'+curFindString+'&VIEW_SIZE='+viewSize+'&VIEW_INDEX='+viewIndexFirst>
Modified:
ofbiz/trunk/applications/content/webapp/content/survey/ViewSurveyResponses.ftl
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/content/webapp/content/survey/ViewSurveyResponses.ftl?rev=935263&r1=935262&r2=935263&view=diff
==============================================================================
---
ofbiz/trunk/applications/content/webapp/content/survey/ViewSurveyResponses.ftl
(original)
+++
ofbiz/trunk/applications/content/webapp/content/survey/ViewSurveyResponses.ftl
Sat Apr 17 22:02:54 2010
@@ -30,7 +30,7 @@ under the License.
<#if question.surveyQuestionTypeId == "SEPERATOR_TEXT">
<td colspan="5" class="label">${question.question?if_exists}</td>
<#elseif question.surveyQuestionTypeId == "SEPERATOR_LINE">
- <td colspan="5"><hr></td>
+ <td colspan="5"><hr/></td>
<#else>
<#-- standard questions -->
Modified:
ofbiz/trunk/applications/content/webapp/content/website/WebSiteCMSNav.ftl
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/content/webapp/content/website/WebSiteCMSNav.ftl?rev=935263&r1=935262&r2=935263&view=diff
==============================================================================
--- ofbiz/trunk/applications/content/webapp/content/website/WebSiteCMSNav.ftl
(original)
+++ ofbiz/trunk/applications/content/webapp/content/website/WebSiteCMSNav.ftl
Sat Apr 17 22:02:54 2010
@@ -334,7 +334,7 @@
}
</script>
-<style>
+<style type="text/css">
.dojoContextMenu {
background-color: #ccc;
font-size: 10px;