Author: jaz
Date: Fri Mar 16 07:28:24 2007
New Revision: 518984
URL:
http://svn.apache.org/viewvc?view=rev&rev=518984Log:
changed from old jpublish method of getting title to using internal context values; this also works with CMS
Modified:
ofbiz/trunk/applications/ecommerce/webapp/ecommerce/includes/header.ftl
Modified: ofbiz/trunk/applications/ecommerce/webapp/ecommerce/includes/header.ftl
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/ecommerce/webapp/ecommerce/includes/header.ftl?view=diff&rev=518984&r1=518983&r2=518984==============================================================================
--- ofbiz/trunk/applications/ecommerce/webapp/ecommerce/includes/header.ftl (original)
+++ ofbiz/trunk/applications/ecommerce/webapp/ecommerce/includes/header.ftl Fri Mar 16 07:28:24 2007
@@ -21,7 +21,7 @@
<#-- <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> -->
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
- <title>${(productStore.storeName)?if_exists}: <#if page.title?has_content>${page.title}<#elseif page.titleProperty?has_content>${uiLabelMap.get(page.titleProperty)}</#if></title>
+ <title>${(productStore.storeName)?if_exists}: <#if title?has_content>${title}<#elseif titleProperty?has_content>${uiLabelMap.get(titleProperty)}</#if></title>
<#if layoutSettings.shortcutIcon?has_content>
<link rel="shortcut icon" href="<@ofbizContentUrl>${layoutSettings.shortcutIcon}</@ofbizContentUrl>" />
</#if>