(OFBIZ-10492) Replace text/javascript with application/javascript in all the script tag git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-plugins/trunk@1836889 13f79535-47bb-0310-9956-ffa450edef68
56 lines
2.6 KiB
Plaintext
56 lines
2.6 KiB
Plaintext
<#--
|
|
Licensed to the Apache Software Foundation (ASF) under one
|
|
or more contributor license agreements. See the NOTICE file
|
|
distributed with this work for additional information
|
|
regarding copyright ownership. The ASF licenses this file
|
|
to you under the Apache License, Version 2.0 (the
|
|
"License"); you may not use this file except in compliance
|
|
with the License. You may obtain a copy of the License at
|
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
Unless required by applicable law or agreed to in writing,
|
|
software distributed under the License is distributed on an
|
|
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
KIND, either express or implied. See the License for the
|
|
specific language governing permissions and limitations
|
|
under the License.
|
|
-->
|
|
<#-- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -->
|
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
|
<#-- <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> -->
|
|
<head>
|
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
|
|
<title><#if title?has_content>${title}<#elseif titleProperty?has_content>${uiLabelMap.get(titleProperty)}</#if>: ${(productStore.storeName)!}</title>
|
|
<#if layoutSettings.shortcutIcon?has_content>
|
|
<link rel="shortcut icon" href="<@ofbizContentUrl>${layoutSettings.shortcutIcon}</@ofbizContentUrl>" />
|
|
</#if>
|
|
<#if layoutSettings.javaScripts?has_content>
|
|
<#--layoutSettings.javaScripts is a list of java scripts. -->
|
|
<#list layoutSettings.javaScripts as javaScript>
|
|
<script src="<@ofbizContentUrl>${javaScript}</@ofbizContentUrl>" type="application/javascript"></script>
|
|
</#list>
|
|
</#if>
|
|
<#if layoutSettings.styleSheets?has_content>
|
|
<#--layoutSettings.styleSheets is a list of style sheets. So, you can have a user-specified "main" style sheet, AND a component style sheet.-->
|
|
<#list layoutSettings.styleSheets as styleSheet>
|
|
<link rel="stylesheet" href="<@ofbizContentUrl>${styleSheet}</@ofbizContentUrl>" type="text/css"/>
|
|
</#list>
|
|
</#if>
|
|
<#-- Append CSS for catalog -->
|
|
<#if catalogStyleSheet??>
|
|
<link rel="stylesheet" href="${catalogStyleSheet}" type="text/css"/>
|
|
</#if>
|
|
<#-- Append CSS for tracking codes -->
|
|
<#if sessionAttributes.overrideCss??>
|
|
<link rel="stylesheet" href="${sessionAttributes.overrideCss}" type="text/css"/>
|
|
</#if>
|
|
<#-- Meta tags if defined by the page action -->
|
|
<#if metaDescription??>
|
|
<meta name="description" content="${metaDescription}"/>
|
|
</#if>
|
|
<#if metaKeywords??>
|
|
<meta name="keywords" content="${metaKeywords}"/>
|
|
</#if>
|
|
</head>
|
|
<body> |