Author: sichen Date: Wed Oct 11 10:41:22 2006 New Revision: 462874 URL: http://svn.apache.org/viewvc?view=rev&rev=462874 Log: Now the ecommerce store's header will use titleProperty defined in the screen widgets
Modified: incubator/ofbiz/trunk/applications/ecommerce/webapp/ecommerce/includes/header.ftl Modified: incubator/ofbiz/trunk/applications/ecommerce/webapp/ecommerce/includes/header.ftl URL: http://svn.apache.org/viewvc/incubator/ofbiz/trunk/applications/ecommerce/webapp/ecommerce/includes/header.ftl?view=diff&rev=462874&r1=462873&r2=462874 ============================================================================== --- incubator/ofbiz/trunk/applications/ecommerce/webapp/ecommerce/includes/header.ftl (original) +++ incubator/ofbiz/trunk/applications/ecommerce/webapp/ecommerce/includes/header.ftl Wed Oct 11 10:41:22 2006 @@ -19,7 +19,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}: ${page.title?if_exists}</title> + <title>${(productStore.storeName)?if_exists}: <#if page.title?has_content>${page.title}<#elseif page.titleProperty?has_content>${uiLabelMap.get(page.titleProperty)}</#if></title> <link rel="shortcut icon" href="<@ofbizContentUrl>/images/ofbiz.ico</@ofbizContentUrl>" /> <script language="javascript" src="<@ofbizContentUrl>/images/selectall.js</@ofbizContentUrl>" type="text/javascript"></script> <script language="javascript" src="<@ofbizContentUrl>/images/calendar1.js</@ofbizContentUrl>" type="text/javascript"></script>