svn commit: r1628018 - /ofbiz/branches/release13.07/applications/content/src/org/ofbiz/content/cms/CmsEvents.java

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

svn commit: r1628018 - /ofbiz/branches/release13.07/applications/content/src/org/ofbiz/content/cms/CmsEvents.java

apatel-2
Author: apatel
Date: Sat Sep 27 22:40:29 2014
New Revision: 1628018

URL: http://svn.apache.org/r1628018
Log:
[OFBIZ-3719] Reverting DOCTYPE hardcoding from cmsevents. Giving control back to the template

Modified:
    ofbiz/branches/release13.07/applications/content/src/org/ofbiz/content/cms/CmsEvents.java

Modified: ofbiz/branches/release13.07/applications/content/src/org/ofbiz/content/cms/CmsEvents.java
URL: http://svn.apache.org/viewvc/ofbiz/branches/release13.07/applications/content/src/org/ofbiz/content/cms/CmsEvents.java?rev=1628018&r1=1628017&r2=1628018&view=diff
==============================================================================
--- ofbiz/branches/release13.07/applications/content/src/org/ofbiz/content/cms/CmsEvents.java (original)
+++ ofbiz/branches/release13.07/applications/content/src/org/ofbiz/content/cms/CmsEvents.java Sat Sep 27 22:40:29 2014
@@ -282,8 +282,6 @@ public class CmsEvents {
                     // TODO: replace "screen" to support dynamic rendering of different output
                     FormStringRenderer formStringRenderer = new MacroFormRenderer(UtilProperties.getPropertyValue("widget", "screen.formrenderer"), request, response);
                     templateMap.put("formStringRenderer", formStringRenderer);
-                    //include DOCTYPE for cms screens
-                    writer.append("<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">");
                     
                     // if use web analytics
                     List<GenericValue> webAnalytics = delegator.findByAnd("WebAnalyticsConfig", UtilMisc.toMap("webSiteId", webSiteId), null, false);