svn commit: r939788 - in /ofbiz/trunk/applications/content/webapp/content: cms/CMSContentEdit.ftl cms/CMSSites.ftl cms/addSubSite.ftl contentsetup/UserPermissions.ftl

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

svn commit: r939788 - in /ofbiz/trunk/applications/content/webapp/content: cms/CMSContentEdit.ftl cms/CMSSites.ftl cms/addSubSite.ftl contentsetup/UserPermissions.ftl

buscob
Author: buscob
Date: Fri Apr 30 19:30:17 2010
New Revision: 939788

URL: http://svn.apache.org/viewvc?rev=939788&view=rev
Log:
A patch from Blas Rodriguez Somoza
OFBIZ-3730 - XHTML validation errors round 2+ (content)
https://issues.apache.org/jira/browse/OFBIZ-3730
addSubSite.ftl
script without type attribute

CMSContentEdit.ftl
Attributes without value

CMSSites.ftl
Attributes without value

UserPermissions.ftl
Attributes without value

Modified:
    ofbiz/trunk/applications/content/webapp/content/cms/CMSContentEdit.ftl
    ofbiz/trunk/applications/content/webapp/content/cms/CMSSites.ftl
    ofbiz/trunk/applications/content/webapp/content/cms/addSubSite.ftl
    ofbiz/trunk/applications/content/webapp/content/contentsetup/UserPermissions.ftl

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=939788&r1=939787&r2=939788&view=diff
==============================================================================
--- ofbiz/trunk/applications/content/webapp/content/cms/CMSContentEdit.ftl (original)
+++ ofbiz/trunk/applications/content/webapp/content/cms/CMSContentEdit.ftl Fri Apr 30 19:30:17 2010
@@ -124,7 +124,7 @@ ${menuWrapper.renderMenuString()}
                     <#list featureList as feature>
                        <#assign checked=""/>
                        <#if feature.action?has_content && feature.action == "Y">
-                           <#assign checked="checked"/>
+                           <#assign checked="checked='checked'"/>
                        </#if>
                        <tr>
                           <td class="">[${feature.productFeatureId}] - ${feature.description}</td>
@@ -316,7 +316,7 @@ ${menuWrapper.renderMenuString()}
     <#local isPublished = "" />
     <#assign contentAssocViewFrom=Static["org.ofbiz.content.content.ContentWorker"].getContentAssocViewFrom(delegator, subContentId, contentId, "PUBLISH_LINK", null, null)?if_exists />
     <#if contentAssocViewFrom?has_content>
-        <#local isPublished = "checked" />
+        <#local isPublished = "checked='checked'" />
     </#if>
        <tr>
          <td >

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=939788&r1=939787&r2=939788&view=diff
==============================================================================
--- ofbiz/trunk/applications/content/webapp/content/cms/CMSSites.ftl (original)
+++ ofbiz/trunk/applications/content/webapp/content/cms/CMSSites.ftl Fri Apr 30 19:30:17 2010
@@ -227,7 +227,7 @@ function call_fieldlookup4(rootForumId,
             <#list blogRoleIdList as roleTypeId>
               <#assign cappedSiteRole= Static["org.ofbiz.entity.model.ModelUtil"].dbNameToVarName(roleTypeId) />
               <td align="center">
-              <input type="checkbox" name="${cappedSiteRole}_o_${rowCount}" value="Y" <#if siteRoleMap[cappedSiteRole]?if_exists == "Y">checked</#if>/>
+              <input type="checkbox" name="${cappedSiteRole}_o_${rowCount}" value="Y" <#if siteRoleMap[cappedSiteRole]?if_exists == "Y">checked="checked"</#if>/>
               </td>
           <input type="hidden" name="${cappedSiteRole}FromDate_o_${rowCount}" value="${siteRoleMap[cappedSiteRole + "FromDate"]?if_exists}"/>
             </#list>

Modified: ofbiz/trunk/applications/content/webapp/content/cms/addSubSite.ftl
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/content/webapp/content/cms/addSubSite.ftl?rev=939788&r1=939787&r2=939788&view=diff
==============================================================================
--- ofbiz/trunk/applications/content/webapp/content/cms/addSubSite.ftl (original)
+++ ofbiz/trunk/applications/content/webapp/content/cms/addSubSite.ftl Fri Apr 30 19:30:17 2010
@@ -16,7 +16,7 @@ KIND, either express or implied.  See th
 specific language governing permissions and limitations
 under the License.
 -->
-<script language="javascript1.2">
+<script language="javascript1.2" type="text/javascript">
 function submit_add() {
     window.close();
     document.addSubSite.submit();

Modified: ofbiz/trunk/applications/content/webapp/content/contentsetup/UserPermissions.ftl
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/content/webapp/content/contentsetup/UserPermissions.ftl?rev=939788&r1=939787&r2=939788&view=diff
==============================================================================
--- ofbiz/trunk/applications/content/webapp/content/contentsetup/UserPermissions.ftl (original)
+++ ofbiz/trunk/applications/content/webapp/content/contentsetup/UserPermissions.ftl Fri Apr 30 19:30:17 2010
@@ -94,7 +94,7 @@ function call_fieldlookup3(view_name) {
             <#list blogRoleIdList as roleTypeId>
               <#assign cappedSiteRole= Static["org.ofbiz.entity.model.ModelUtil"].dbNameToVarName(roleTypeId) />
               <td align="center">
-              <input type="checkbox" name="${cappedSiteRole}_o_${rowCount}" value="Y" <#if map[cappedSiteRole]?has_content && map[cappedSiteRole] == "Y">checked</#if>/>
+              <input type="checkbox" name="${cappedSiteRole}_o_${rowCount}" value="Y" <#if map[cappedSiteRole]?has_content && map[cappedSiteRole] == "Y">checked="checked"</#if>/>
               </td>
             </#list>
           </tr>