Author: deepak
Date: Tue Jul 24 11:27:20 2018 New Revision: 1836546 URL: http://svn.apache.org/viewvc?rev=1836546&view=rev Log: Improved: Remove use of deprecated language attribute from script tag (OFBIZ-10491) Modified: ofbiz/ofbiz-plugins/trunk/cmssite/data/CmsMultiSiteDemoData.xml ofbiz/ofbiz-plugins/trunk/cmssite/template/docbook/slides/browser/overlay.js ofbiz/ofbiz-plugins/trunk/cmssite/template/docbook/slides/browser/xbLibrary.js ofbiz/ofbiz-plugins/trunk/ebay/template/find/EbayExportLink.ftl ofbiz/ofbiz-plugins/trunk/ebay/template/find/ProductsExportToEbay.ftl ofbiz/ofbiz-plugins/trunk/ebaystore/template/store/OrderImported.ftl ofbiz/ofbiz-plugins/trunk/ebaystore/template/store/ProductSearchExport.ftl ofbiz/ofbiz-plugins/trunk/ebaystore/template/store/StoreSetting.ftl ofbiz/ofbiz-plugins/trunk/ecommerce/template/Login.ftl ofbiz/ofbiz-plugins/trunk/ecommerce/template/RequirePasswordChange.ftl ofbiz/ofbiz-plugins/trunk/ecommerce/template/catalog/ConfigProductDetail.ftl ofbiz/ofbiz-plugins/trunk/ecommerce/template/catalog/DetailImage.ftl ofbiz/ofbiz-plugins/trunk/ecommerce/template/catalog/ProductCategories.ftl ofbiz/ofbiz-plugins/trunk/ecommerce/template/catalog/TellAFriend.ftl ofbiz/ofbiz-plugins/trunk/ecommerce/template/customer/AnonContactus.ftl ofbiz/ofbiz-plugins/trunk/ecommerce/template/customer/MiniSignUpForContactList.ftl ofbiz/ofbiz-plugins/trunk/ecommerce/template/includes/HeaderHead.ftl ofbiz/ofbiz-plugins/trunk/ecommerce/template/order/AnonymousCheckoutLinks.ftl ofbiz/ofbiz-plugins/trunk/ecommerce/template/order/BillSettings.ftl ofbiz/ofbiz-plugins/trunk/ecommerce/template/order/CheckoutReview.ftl ofbiz/ofbiz-plugins/trunk/ecommerce/template/order/CheckoutShippingOptions.ftl ofbiz/ofbiz-plugins/trunk/ecommerce/template/order/PaymentInformation.ftl ofbiz/ofbiz-plugins/trunk/ecommerce/template/order/QuickAnonCheckoutLinks.ftl ofbiz/ofbiz-plugins/trunk/ecommerce/template/order/QuickAnonCheckoutReview.ftl ofbiz/ofbiz-plugins/trunk/ecommerce/template/order/QuickAnonOptionSettings.ftl ofbiz/ofbiz-plugins/trunk/ecommerce/template/order/QuickAnonPaymentInformation.ftl ofbiz/ofbiz-plugins/trunk/ecommerce/template/order/SplitShip.ftl ofbiz/ofbiz-plugins/trunk/ecommerce/webapp/ecommerce/error/404.jsp ofbiz/ofbiz-plugins/trunk/myportal/template/Login.ftl ofbiz/ofbiz-plugins/trunk/myportal/template/RegisterPerson.ftl ofbiz/ofbiz-plugins/trunk/pricat/template/pricat/ExcelImportHistoryReport.ftl ofbiz/ofbiz-plugins/trunk/pricat/template/pricat/pricatreport.ftl ofbiz/ofbiz-plugins/trunk/pricat/template/pricat/report.ftl ofbiz/ofbiz-plugins/trunk/pricat/template/pricat/viewExcelImportLog.ftl ofbiz/ofbiz-plugins/trunk/projectmgr/template/project/GanttChart.ftl ofbiz/ofbiz-plugins/trunk/webpos/template/Login.ftl ofbiz/ofbiz-plugins/trunk/webpos/template/RequirePasswordChange.ftl ofbiz/ofbiz-plugins/trunk/webpos/template/cart/ShowCart.ftl ofbiz/ofbiz-plugins/trunk/webpos/template/cart/ShowCartItemSelected.ftl ofbiz/ofbiz-plugins/trunk/webpos/template/catalog/CategoryDetail.ftl ofbiz/ofbiz-plugins/trunk/webpos/template/includes/Header.ftl ofbiz/ofbiz-plugins/trunk/webpos/template/search/CustomerAddress.ftl ofbiz/ofbiz-plugins/trunk/webpos/template/search/SearchParties.ftl ofbiz/ofbiz-plugins/trunk/webpos/template/search/SearchProducts.ftl Modified: ofbiz/ofbiz-plugins/trunk/cmssite/data/CmsMultiSiteDemoData.xml URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-plugins/trunk/cmssite/data/CmsMultiSiteDemoData.xml?rev=1836546&r1=1836545&r2=1836546&view=diff ============================================================================== --- ofbiz/ofbiz-plugins/trunk/cmssite/data/CmsMultiSiteDemoData.xml (original) +++ ofbiz/ofbiz-plugins/trunk/cmssite/data/CmsMultiSiteDemoData.xml Tue Jul 24 11:27:20 2018 @@ -44,8 +44,8 @@ under the License. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/> <title>${(decoratedContent.subcontent.title.render)!"WebSite 1 Generic Title (Set subcontent 'title' on your content!)"}</title> <link rel="shortcut icon" href="/images/ofbiz.ico" /> - <script language="javascript" src="/common/js/util/fieldlookup.js" type="text/javascript"></script> - <script language="javascript" src="/common/js/util/OfbizUtil.js" type="text/javascript"></script> + <script src="/common/js/util/fieldlookup.js" type="text/javascript"></script> + <script src="/common/js/util/OfbizUtil.js" type="text/javascript"></script> <link rel="stylesheet" href="/ecommerce/images/ecommain.css" type="text/css"/> <link rel="stylesheet" href="/ecommerce/images/blog.css" type="text/css"/> <link rel="stylesheet" href="/contentimages/css/contentForum.css" type="text/css"/> @@ -125,8 +125,8 @@ under the License. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/> <title>${(decoratedContent.subcontent.title.render)!"WebSite 2 Generic Title (Set subcontent 'title' on your content!)"}</title> <link rel="shortcut icon" href="/images/ofbiz.ico" /> - <script language="javascript" src="/common/js/util/fieldlookup.js" type="text/javascript"></script> - <script language="javascript" src="/common/js/util/OfbizUtil.js" type="text/javascript"></script> + <script src="/common/js/util/fieldlookup.js" type="text/javascript"></script> + <script src="/common/js/util/OfbizUtil.js" type="text/javascript"></script> <link rel="stylesheet" href="/ecommerce/images/ecommain.css" type="text/css"/> <link rel="stylesheet" href="/ecommerce/images/blog.css" type="text/css"/> <link rel="stylesheet" href="/contentimages/css/contentForum.css" type="text/css"/> Modified: ofbiz/ofbiz-plugins/trunk/cmssite/template/docbook/slides/browser/overlay.js URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-plugins/trunk/cmssite/template/docbook/slides/browser/overlay.js?rev=1836546&r1=1836545&r2=1836546&view=diff ============================================================================== --- ofbiz/ofbiz-plugins/trunk/cmssite/template/docbook/slides/browser/overlay.js (original) +++ ofbiz/ofbiz-plugins/trunk/cmssite/template/docbook/slides/browser/overlay.js Tue Jul 24 11:27:20 2018 @@ -4,7 +4,7 @@ /* Usage: <html> <head> -<script LANGUAGE="JavaScript1.2" src="overlay.js"></script> +<script src="overlay.js"></script> ...rest of head... </head> <body onload="overlaySetup(corner)"> Modified: ofbiz/ofbiz-plugins/trunk/cmssite/template/docbook/slides/browser/xbLibrary.js URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-plugins/trunk/cmssite/template/docbook/slides/browser/xbLibrary.js?rev=1836546&r1=1836545&r2=1836546&view=diff ============================================================================== --- ofbiz/ofbiz-plugins/trunk/cmssite/template/docbook/slides/browser/xbLibrary.js (original) +++ ofbiz/ofbiz-plugins/trunk/cmssite/template/docbook/slides/browser/xbLibrary.js Tue Jul 24 11:27:20 2018 @@ -70,7 +70,7 @@ function xbLibrary(path) xbLibrary.prototype.loadScript = function (scriptName) { - document.write('<script language="javascript" src="' + this.path + '/' + scriptName + '"><\/script>'); + document.write('<script src="' + this.path + '/' + scriptName + '"><\/script>'); }; // default xbLibrary Modified: ofbiz/ofbiz-plugins/trunk/ebay/template/find/EbayExportLink.ftl URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-plugins/trunk/ebay/template/find/EbayExportLink.ftl?rev=1836546&r1=1836545&r2=1836546&view=diff ============================================================================== --- ofbiz/ofbiz-plugins/trunk/ebay/template/find/EbayExportLink.ftl (original) +++ ofbiz/ofbiz-plugins/trunk/ebay/template/find/EbayExportLink.ftl Tue Jul 24 11:27:20 2018 @@ -17,7 +17,7 @@ specific language governing permissions under the License. --> -<script language="JavaScript" type="text/javascript"> +<script type="text/javascript"> function exportToEbay() { <#if toEbayStore??> document.products.action="<@ofbizUrl>prepareProductListing</@ofbizUrl>"; Modified: ofbiz/ofbiz-plugins/trunk/ebay/template/find/ProductsExportToEbay.ftl URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-plugins/trunk/ebay/template/find/ProductsExportToEbay.ftl?rev=1836546&r1=1836545&r2=1836546&view=diff ============================================================================== --- ofbiz/ofbiz-plugins/trunk/ebay/template/find/ProductsExportToEbay.ftl (original) +++ ofbiz/ofbiz-plugins/trunk/ebay/template/find/ProductsExportToEbay.ftl Tue Jul 24 11:27:20 2018 @@ -16,7 +16,7 @@ KIND, either express or implied. See th specific language governing permissions and limitations under the License. --> -<script language="JavaScript" type="text/javascript"> +<script type="text/javascript"> function changeEbayCategory(categ) { document.forms["ProductsExportToEbay"].action = "<@ofbizUrl>ProductsExportToEbay?categoryCode="+categ+"</@ofbizUrl>"; @@ -240,7 +240,7 @@ under the License. </#if> </table> </form> - <script language="JavaScript" type="text/javascript"> + <script type="text/javascript"> activateSubmitButton(); </script> </div> Modified: ofbiz/ofbiz-plugins/trunk/ebaystore/template/store/OrderImported.ftl URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-plugins/trunk/ebaystore/template/store/OrderImported.ftl?rev=1836546&r1=1836545&r2=1836546&view=diff ============================================================================== --- ofbiz/ofbiz-plugins/trunk/ebaystore/template/store/OrderImported.ftl (original) +++ ofbiz/ofbiz-plugins/trunk/ebaystore/template/store/OrderImported.ftl Tue Jul 24 11:27:20 2018 @@ -16,7 +16,7 @@ KIND, either express or implied. See th specific language governing permissions and limitations under the License. --> -<script language="JavaScript" type="text/javascript"> +<script type="text/javascript"> <!-- // function uploadTrackingCode(orderId, productStoreId) { document.uploadTracking.orderId.value = orderId; Modified: ofbiz/ofbiz-plugins/trunk/ebaystore/template/store/ProductSearchExport.ftl URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-plugins/trunk/ebaystore/template/store/ProductSearchExport.ftl?rev=1836546&r1=1836545&r2=1836546&view=diff ============================================================================== --- ofbiz/ofbiz-plugins/trunk/ebaystore/template/store/ProductSearchExport.ftl (original) +++ ofbiz/ofbiz-plugins/trunk/ebaystore/template/store/ProductSearchExport.ftl Tue Jul 24 11:27:20 2018 @@ -62,7 +62,7 @@ under the License. background-color:#FFF; } </style> -<script language="JavaScript" type="text/javascript"> +<script type="text/javascript"> function retrieveEbayCategoryByParent(url,cateId,productStoreId,id){ if (cateId.match('true')){ @@ -582,12 +582,12 @@ under the License. <table cellspacing="0"> <tr> <td> - <script language="javascript" + <script src="<@ofbizContentUrl>/common/js/jquery/plugins/elrte-1.3/js/elrte.min.js</@ofbizContentUrl>" type="text/javascript"> </script> <#if language?has_content && language != "en"> - <script language="javascript" + <script src="<@ofbizContentUrl>/common/js/jquery/plugins/elrte-1.3/js/i18n/elrte.${language!"en"}.js</@ofbizContentUrl>" type="text/javascript"> </script> @@ -595,7 +595,7 @@ under the License. </#if> <link href="<@ofbizContentUrl>/common/js/jquery/plugins/elrte-1.3/css/elrte.min.css</@ofbizContentUrl>" rel="stylesheet" type="text/css"> - <script language="javascript" type="text/javascript"> + <script type="text/javascript"> var opts = { cssClass: 'el-rte', lang: '${language}', Modified: ofbiz/ofbiz-plugins/trunk/ebaystore/template/store/StoreSetting.ftl URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-plugins/trunk/ebaystore/template/store/StoreSetting.ftl?rev=1836546&r1=1836545&r2=1836546&view=diff ============================================================================== --- ofbiz/ofbiz-plugins/trunk/ebaystore/template/store/StoreSetting.ftl (original) +++ ofbiz/ofbiz-plugins/trunk/ebaystore/template/store/StoreSetting.ftl Tue Jul 24 11:27:20 2018 @@ -16,7 +16,7 @@ KIND, either express or implied. See th specific language governing permissions and limitations under the License. --> -<script language="Javascript" type="text/javascript"> +<script type="text/javascript"> function countAreaChars(areaName, limit, charleft) { if (areaName.value.length > limit) { @@ -549,7 +549,7 @@ under the License. </td> </tr> </table> - <script language="Javascript" type="text/javascript"> + <script type="text/javascript"> document.getElementById('charsleft1').innerHTML = (35 - document.StoreSettingForm.storeName.value.length) + " charactors left."; document.getElementById('charsleft2').innerHTML @@ -558,7 +558,7 @@ under the License. </fieldset> </form> </#if> -<script language="Javascript" type="text/javascript"> +<script type="text/javascript"> <#if "Basic" == themeType!> document.StoreSettingForm.storeAdvancedTheme.disabled = true; document.StoreSettingForm.storeAdvancedThemeColor.disabled = true; Modified: ofbiz/ofbiz-plugins/trunk/ecommerce/template/Login.ftl URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-plugins/trunk/ecommerce/template/Login.ftl?rev=1836546&r1=1836545&r2=1836546&view=diff ============================================================================== --- ofbiz/ofbiz-plugins/trunk/ecommerce/template/Login.ftl (original) +++ ofbiz/ofbiz-plugins/trunk/ecommerce/template/Login.ftl Tue Jul 24 11:27:20 2018 @@ -142,7 +142,7 @@ under the License. <div class="endcolumns"> </div> -<script language="JavaScript" type="text/javascript"> +<script type="text/javascript"> <#if autoUserLogin?has_content>document.loginform.PASSWORD.focus();</#if> <#if !autoUserLogin?has_content>document.loginform.USERNAME.focus();</#if> </script> Modified: ofbiz/ofbiz-plugins/trunk/ecommerce/template/RequirePasswordChange.ftl URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-plugins/trunk/ecommerce/template/RequirePasswordChange.ftl?rev=1836546&r1=1836545&r2=1836546&view=diff ============================================================================== --- ofbiz/ofbiz-plugins/trunk/ecommerce/template/RequirePasswordChange.ftl (original) +++ ofbiz/ofbiz-plugins/trunk/ecommerce/template/RequirePasswordChange.ftl Tue Jul 24 11:27:20 2018 @@ -62,7 +62,7 @@ under the License. </div> </div> -<script language="JavaScript" type="text/javascript"> +<script type="text/javascript"> <#if autoUserLogin?has_content>document.loginform.PASSWORD.focus();</#if> <#if !autoUserLogin?has_content>document.loginform.USERNAME.focus();</#if> </script> Modified: ofbiz/ofbiz-plugins/trunk/ecommerce/template/catalog/ConfigProductDetail.ftl URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-plugins/trunk/ecommerce/template/catalog/ConfigProductDetail.ftl?rev=1836546&r1=1836545&r2=1836546&view=diff ============================================================================== --- ofbiz/ofbiz-plugins/trunk/ecommerce/template/catalog/ConfigProductDetail.ftl (original) +++ ofbiz/ofbiz-plugins/trunk/ecommerce/template/catalog/ConfigProductDetail.ftl Tue Jul 24 11:27:20 2018 @@ -23,7 +23,7 @@ under the License. <#-- virtual product javascript --> ${virtualJavaScript!} -<script language="JavaScript" type="text/javascript"> +<script type="text/javascript"> <!-- var detailImageUrl = null; function setAddProductId(name) { @@ -135,7 +135,7 @@ ${virtualJavaScript!} //--> </script> -<script language="JavaScript" type="text/javascript"> +<script type="text/javascript"> <!-- jQuery(document).ready(function () { @@ -430,7 +430,7 @@ ${virtualJavaScript!} <td> <#-- Prefill first select box (virtual products only) --> <#if variantTree?? && 0 < variantTree.size()> - <script language="JavaScript" type="text/javascript">eval("list" + "${featureOrderFirst}" + "()");</script> + <script type="text/javascript">eval("list" + "${featureOrderFirst}" + "()");</script> </#if> <#-- Swatches (virtual products only) --> Modified: ofbiz/ofbiz-plugins/trunk/ecommerce/template/catalog/DetailImage.ftl URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-plugins/trunk/ecommerce/template/catalog/DetailImage.ftl?rev=1836546&r1=1836545&r2=1836546&view=diff ============================================================================== --- ofbiz/ofbiz-plugins/trunk/ecommerce/template/catalog/DetailImage.ftl (original) +++ ofbiz/ofbiz-plugins/trunk/ecommerce/template/catalog/DetailImage.ftl Tue Jul 24 11:27:20 2018 @@ -22,7 +22,7 @@ under the License. <#--assign detailImage = Static["org.apache.ofbiz.base.util.Base64"].base64Decode(requestParameters.detail)--> <img src="${requestParameters.detail}" alt=""/> <#else> - <script language="JavaScript" type="text/javascript"> + <script type="text/javascript"> <!-- // window.close(); // --> Modified: ofbiz/ofbiz-plugins/trunk/ecommerce/template/catalog/ProductCategories.ftl URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-plugins/trunk/ecommerce/template/catalog/ProductCategories.ftl?rev=1836546&r1=1836545&r2=1836546&view=diff ============================================================================== --- ofbiz/ofbiz-plugins/trunk/ecommerce/template/catalog/ProductCategories.ftl (original) +++ ofbiz/ofbiz-plugins/trunk/ecommerce/template/catalog/ProductCategories.ftl Tue Jul 24 11:27:20 2018 @@ -16,7 +16,7 @@ specific language governing permissions and limitations under the License. --> -<script language="javascript" type="text/javascript" +<script type="text/javascript" src="<@ofbizContentUrl>/common/js/jquery/plugins/jsTree/jquery.jstree.js</@ofbizContentUrl>"></script> <script type="text/javascript" src="<@ofbizContentUrl>/common/js/jquery/ui/js/jquery.cookie-1.4.0.js</@ofbizContentUrl>"></script> Modified: ofbiz/ofbiz-plugins/trunk/ecommerce/template/catalog/TellAFriend.ftl URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-plugins/trunk/ecommerce/template/catalog/TellAFriend.ftl?rev=1836546&r1=1836545&r2=1836546&view=diff ============================================================================== --- ofbiz/ofbiz-plugins/trunk/ecommerce/template/catalog/TellAFriend.ftl (original) +++ ofbiz/ofbiz-plugins/trunk/ecommerce/template/catalog/TellAFriend.ftl Tue Jul 24 11:27:20 2018 @@ -56,7 +56,7 @@ under the License. </tr> </table> <#else> - <script language="JavaScript" type="text/javascript"> + <script type="text/javascript"> <!-- // window.close(); // --> Modified: ofbiz/ofbiz-plugins/trunk/ecommerce/template/customer/AnonContactus.ftl URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-plugins/trunk/ecommerce/template/customer/AnonContactus.ftl?rev=1836546&r1=1836545&r2=1836546&view=diff ============================================================================== --- ofbiz/ofbiz-plugins/trunk/ecommerce/template/customer/AnonContactus.ftl (original) +++ ofbiz/ofbiz-plugins/trunk/ecommerce/template/customer/AnonContactus.ftl Tue Jul 24 11:27:20 2018 @@ -21,7 +21,7 @@ under the License. <div class="card-header"> <strong>${uiLabelMap.CommonContactUs}</strong> </div> - <script type="text/javascript" language="JavaScript"> + <script type="text/javascript"> <!-- function reloadCaptcha(fieldName) { var captchaUri = "<@ofbizUrl>captcha.jpg?captchaCodeId=" + fieldName + "&unique=_PLACEHOLDER_</@ofbizUrl>"; Modified: ofbiz/ofbiz-plugins/trunk/ecommerce/template/customer/MiniSignUpForContactList.ftl URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-plugins/trunk/ecommerce/template/customer/MiniSignUpForContactList.ftl?rev=1836546&r1=1836545&r2=1836546&view=diff ============================================================================== --- ofbiz/ofbiz-plugins/trunk/ecommerce/template/customer/MiniSignUpForContactList.ftl (original) +++ ofbiz/ofbiz-plugins/trunk/ecommerce/template/customer/MiniSignUpForContactList.ftl Tue Jul 24 11:27:20 2018 @@ -29,7 +29,7 @@ under the License. </select> </#macro> -<script type="text/javascript" language="JavaScript"> +<script type="text/javascript"> function unsubscribe() { var form = document.getElementById("signUpForContactListForm"); form.action = "<@ofbizUrl>unsubscribeContactListParty</@ofbizUrl>" Modified: ofbiz/ofbiz-plugins/trunk/ecommerce/template/includes/HeaderHead.ftl URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-plugins/trunk/ecommerce/template/includes/HeaderHead.ftl?rev=1836546&r1=1836545&r2=1836546&view=diff ============================================================================== --- ofbiz/ofbiz-plugins/trunk/ecommerce/template/includes/HeaderHead.ftl (original) +++ ofbiz/ofbiz-plugins/trunk/ecommerce/template/includes/HeaderHead.ftl Tue Jul 24 11:27:20 2018 @@ -105,7 +105,7 @@ under the License. <meta name="keywords" content="${metaKeywords}"/> </#if> <#if webAnalyticsConfigs?has_content> - <script language="JavaScript" type="text/javascript"> + <script type="text/javascript"> <#list webAnalyticsConfigs as webAnalyticsConfig> <#if webAnalyticsConfig.webAnalyticsTypeId != "BACKEND_ANALYTICS"> ${StringUtil.wrapString(webAnalyticsConfig.webAnalyticsCode!)} Modified: ofbiz/ofbiz-plugins/trunk/ecommerce/template/order/AnonymousCheckoutLinks.ftl URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-plugins/trunk/ecommerce/template/order/AnonymousCheckoutLinks.ftl?rev=1836546&r1=1836545&r2=1836546&view=diff ============================================================================== --- ofbiz/ofbiz-plugins/trunk/ecommerce/template/order/AnonymousCheckoutLinks.ftl (original) +++ ofbiz/ofbiz-plugins/trunk/ecommerce/template/order/AnonymousCheckoutLinks.ftl Tue Jul 24 11:27:20 2018 @@ -16,7 +16,7 @@ KIND, either express or implied. See th specific language governing permissions and limitations under the License. --> -<script language="javascript" type="text/javascript"> +<script type="text/javascript"> function submitForm(form) { form.submit(); } Modified: ofbiz/ofbiz-plugins/trunk/ecommerce/template/order/BillSettings.ftl URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-plugins/trunk/ecommerce/template/order/BillSettings.ftl?rev=1836546&r1=1836545&r2=1836546&view=diff ============================================================================== --- ofbiz/ofbiz-plugins/trunk/ecommerce/template/order/BillSettings.ftl (original) +++ ofbiz/ofbiz-plugins/trunk/ecommerce/template/order/BillSettings.ftl Tue Jul 24 11:27:20 2018 @@ -17,7 +17,7 @@ specific language governing permissions under the License. --> -<script language="JavaScript" type="text/javascript"> +<script type="text/javascript"> function shipBillAddr() { <#if "Y" == requestParameters.singleUsePayment?default("N")> <#assign singleUse = "&singleUsePayment=Y"> Modified: ofbiz/ofbiz-plugins/trunk/ecommerce/template/order/CheckoutReview.ftl URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-plugins/trunk/ecommerce/template/order/CheckoutReview.ftl?rev=1836546&r1=1836545&r2=1836546&view=diff ============================================================================== --- ofbiz/ofbiz-plugins/trunk/ecommerce/template/order/CheckoutReview.ftl (original) +++ ofbiz/ofbiz-plugins/trunk/ecommerce/template/order/CheckoutReview.ftl Tue Jul 24 11:27:20 2018 @@ -17,7 +17,7 @@ specific language governing permissions under the License. --> -<script language="JavaScript" type="text/javascript"> +<script type="text/javascript"> <!-- var clicked = 0; function processOrder() { Modified: ofbiz/ofbiz-plugins/trunk/ecommerce/template/order/CheckoutShippingOptions.ftl URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-plugins/trunk/ecommerce/template/order/CheckoutShippingOptions.ftl?rev=1836546&r1=1836545&r2=1836546&view=diff ============================================================================== --- ofbiz/ofbiz-plugins/trunk/ecommerce/template/order/CheckoutShippingOptions.ftl (original) +++ ofbiz/ofbiz-plugins/trunk/ecommerce/template/order/CheckoutShippingOptions.ftl Tue Jul 24 11:27:20 2018 @@ -17,7 +17,7 @@ specific language governing permissions under the License. --> -<script language="javascript" type="text/javascript"> +<script type="text/javascript"> //<![CDATA[ function submitForm(form, mode, value) { if ("DN" == mode) { Modified: ofbiz/ofbiz-plugins/trunk/ecommerce/template/order/PaymentInformation.ftl URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-plugins/trunk/ecommerce/template/order/PaymentInformation.ftl?rev=1836546&r1=1836545&r2=1836546&view=diff ============================================================================== --- ofbiz/ofbiz-plugins/trunk/ecommerce/template/order/PaymentInformation.ftl (original) +++ ofbiz/ofbiz-plugins/trunk/ecommerce/template/order/PaymentInformation.ftl Tue Jul 24 11:27:20 2018 @@ -19,7 +19,7 @@ under the License. <#if requestParameters.paymentMethodTypeId?has_content> <#assign paymentMethodTypeId = "${requestParameters.paymentMethodTypeId!}"> </#if> -<script language="JavaScript" type="text/javascript"> +<script type="text/javascript"> function shipBillAddr() { <#if "Y" == requestParameters.singleUsePayment?default("N")> <#assign singleUse = "&singleUsePayment=Y"> Modified: ofbiz/ofbiz-plugins/trunk/ecommerce/template/order/QuickAnonCheckoutLinks.ftl URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-plugins/trunk/ecommerce/template/order/QuickAnonCheckoutLinks.ftl?rev=1836546&r1=1836545&r2=1836546&view=diff ============================================================================== --- ofbiz/ofbiz-plugins/trunk/ecommerce/template/order/QuickAnonCheckoutLinks.ftl (original) +++ ofbiz/ofbiz-plugins/trunk/ecommerce/template/order/QuickAnonCheckoutLinks.ftl Tue Jul 24 11:27:20 2018 @@ -16,7 +16,7 @@ KIND, either express or implied. See th specific language governing permissions and limitations under the License. --> -<script language="javascript" type="text/javascript"> +<script type="text/javascript"> function submitForm(form) { form.submit(); } Modified: ofbiz/ofbiz-plugins/trunk/ecommerce/template/order/QuickAnonCheckoutReview.ftl URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-plugins/trunk/ecommerce/template/order/QuickAnonCheckoutReview.ftl?rev=1836546&r1=1836545&r2=1836546&view=diff ============================================================================== --- ofbiz/ofbiz-plugins/trunk/ecommerce/template/order/QuickAnonCheckoutReview.ftl (original) +++ ofbiz/ofbiz-plugins/trunk/ecommerce/template/order/QuickAnonCheckoutReview.ftl Tue Jul 24 11:27:20 2018 @@ -17,7 +17,7 @@ specific language governing permissions under the License. --> -<script language="JavaScript" type="text/javascript"> +<script type="text/javascript"> <!-- var clicked = 0; function processOrder() { Modified: ofbiz/ofbiz-plugins/trunk/ecommerce/template/order/QuickAnonOptionSettings.ftl URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-plugins/trunk/ecommerce/template/order/QuickAnonOptionSettings.ftl?rev=1836546&r1=1836545&r2=1836546&view=diff ============================================================================== --- ofbiz/ofbiz-plugins/trunk/ecommerce/template/order/QuickAnonOptionSettings.ftl (original) +++ ofbiz/ofbiz-plugins/trunk/ecommerce/template/order/QuickAnonOptionSettings.ftl Tue Jul 24 11:27:20 2018 @@ -16,7 +16,7 @@ KIND, either express or implied. See th specific language governing permissions and limitations under the License. --> -<script language="JavaScript" type="text/javascript"> +<script type="text/javascript"> jQuery(document).ready(init); Modified: ofbiz/ofbiz-plugins/trunk/ecommerce/template/order/QuickAnonPaymentInformation.ftl URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-plugins/trunk/ecommerce/template/order/QuickAnonPaymentInformation.ftl?rev=1836546&r1=1836545&r2=1836546&view=diff ============================================================================== --- ofbiz/ofbiz-plugins/trunk/ecommerce/template/order/QuickAnonPaymentInformation.ftl (original) +++ ofbiz/ofbiz-plugins/trunk/ecommerce/template/order/QuickAnonPaymentInformation.ftl Tue Jul 24 11:27:20 2018 @@ -19,7 +19,7 @@ under the License. <#if requestParameters.paymentMethodTypeId?has_content> <#assign paymentMethodTypeId = "${requestParameters.paymentMethodTypeId!}"> </#if> -<script language="JavaScript" type="text/javascript"> +<script type="text/javascript"> jQuery(document).ready(init); Modified: ofbiz/ofbiz-plugins/trunk/ecommerce/template/order/SplitShip.ftl URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-plugins/trunk/ecommerce/template/order/SplitShip.ftl?rev=1836546&r1=1836545&r2=1836546&view=diff ============================================================================== --- ofbiz/ofbiz-plugins/trunk/ecommerce/template/order/SplitShip.ftl (original) +++ ofbiz/ofbiz-plugins/trunk/ecommerce/template/order/SplitShip.ftl Tue Jul 24 11:27:20 2018 @@ -17,7 +17,7 @@ specific language governing permissions under the License. --> -<script language="javascript" type="text/javascript"> +<script type="text/javascript"> //<![CDATA[ function submitForm(form, mode, value) { if ("DN" == mode) { Modified: ofbiz/ofbiz-plugins/trunk/ecommerce/webapp/ecommerce/error/404.jsp URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-plugins/trunk/ecommerce/webapp/ecommerce/error/404.jsp?rev=1836546&r1=1836545&r2=1836546&view=diff ============================================================================== --- ofbiz/ofbiz-plugins/trunk/ecommerce/webapp/ecommerce/error/404.jsp (original) +++ ofbiz/ofbiz-plugins/trunk/ecommerce/webapp/ecommerce/error/404.jsp Tue Jul 24 11:27:20 2018 @@ -31,7 +31,7 @@ List<GenericValue> webAnalytics = delega <head> <title>Error 404</title> <%if (webAnalytics != null) {%> -<script language="JavaScript" type="text/javascript"> +<script type="text/javascript"> <%for (GenericValue webAnalytic : webAnalytics) {%> <%=StringUtil.wrapString((String) webAnalytic.get("webAnalyticsCode"))%> <%}%> Modified: ofbiz/ofbiz-plugins/trunk/myportal/template/Login.ftl URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-plugins/trunk/myportal/template/Login.ftl?rev=1836546&r1=1836545&r2=1836546&view=diff ============================================================================== --- ofbiz/ofbiz-plugins/trunk/myportal/template/Login.ftl (original) +++ ofbiz/ofbiz-plugins/trunk/myportal/template/Login.ftl Tue Jul 24 11:27:20 2018 @@ -67,7 +67,7 @@ under the License. </div> </center> -<script language="JavaScript" type="text/javascript"> +<script type="text/javascript"> document.loginform.JavaScriptEnabled.value = "Y"; <#if focusName> document.loginform.USERNAME.focus(); Modified: ofbiz/ofbiz-plugins/trunk/myportal/template/RegisterPerson.ftl URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-plugins/trunk/myportal/template/RegisterPerson.ftl?rev=1836546&r1=1836545&r2=1836546&view=diff ============================================================================== --- ofbiz/ofbiz-plugins/trunk/myportal/template/RegisterPerson.ftl (original) +++ ofbiz/ofbiz-plugins/trunk/myportal/template/RegisterPerson.ftl Tue Jul 24 11:27:20 2018 @@ -98,7 +98,7 @@ under the License. <td class="label"> Code Captcha </td> <td><div><img id="captchaImage" src="<@ofbizUrl>captcha.jpg?captchaCodeId=captchaImage&unique=${nowTimestamp.getTime()}</@ofbizUrl>" alt="" /></div></td> </tr> - <script type="text/javascript" language="JavaScript"> + <script type="text/javascript"> <!-- function reloadCaptcha(fieldName) { var captchaUri = "<@ofbizUrl>captcha.jpg?captchaCodeId=" + fieldName + "&unique=_PLACEHOLDER_</@ofbizUrl>"; Modified: ofbiz/ofbiz-plugins/trunk/pricat/template/pricat/ExcelImportHistoryReport.ftl URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-plugins/trunk/pricat/template/pricat/ExcelImportHistoryReport.ftl?rev=1836546&r1=1836545&r2=1836546&view=diff ============================================================================== --- ofbiz/ofbiz-plugins/trunk/pricat/template/pricat/ExcelImportHistoryReport.ftl (original) +++ ofbiz/ofbiz-plugins/trunk/pricat/template/pricat/ExcelImportHistoryReport.ftl Tue Jul 24 11:27:20 2018 @@ -98,7 +98,7 @@ under the License. </#if> </tbody> </table> -<script type="text/javascript" language="JavaScript"> +<script type="text/javascript"> function viewExcelImportLog(sequenceNum) { document.location = "<@ofbizUrl>viewExcelImportLog</@ofbizUrl>?sequenceNum=" + sequenceNum; } Modified: ofbiz/ofbiz-plugins/trunk/pricat/template/pricat/pricatreport.ftl URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-plugins/trunk/pricat/template/pricat/pricatreport.ftl?rev=1836546&r1=1836545&r2=1836546&view=diff ============================================================================== --- ofbiz/ofbiz-plugins/trunk/pricat/template/pricat/pricatreport.ftl (original) +++ ofbiz/ofbiz-plugins/trunk/pricat/template/pricat/pricatreport.ftl Tue Jul 24 11:27:20 2018 @@ -31,7 +31,7 @@ under the License. <#assign htmlStart = report.htmlStart(false)> ${StringUtil.wrapString(htmlStart)} -<script language='JavaScript'> +<script> <!-- function a(message) { @@ -141,7 +141,7 @@ function continueReport() { ${StringUtil.wrapString(report.htmlStart())} -<script type="text/javascript" language="JavaScript"> +<script type="text/javascript"> <!-- // saves the HTML of the extended report format, Modified: ofbiz/ofbiz-plugins/trunk/pricat/template/pricat/report.ftl URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-plugins/trunk/pricat/template/pricat/report.ftl?rev=1836546&r1=1836545&r2=1836546&view=diff ============================================================================== --- ofbiz/ofbiz-plugins/trunk/pricat/template/pricat/report.ftl (original) +++ ofbiz/ofbiz-plugins/trunk/pricat/template/pricat/report.ftl Tue Jul 24 11:27:20 2018 @@ -31,7 +31,7 @@ under the License. <#assign htmlStart = report.htmlStart(false)> ${StringUtil.wrapString(htmlStart)} -<script language='JavaScript'> +<script> <!-- function a(message) { @@ -141,7 +141,7 @@ function continueReport() { ${StringUtil.wrapString(report.htmlStart())} -<script type="text/javascript" language="JavaScript"> +<script type="text/javascript"> <!-- // saves the HTML of the extended report format, Modified: ofbiz/ofbiz-plugins/trunk/pricat/template/pricat/viewExcelImportLog.ftl URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-plugins/trunk/pricat/template/pricat/viewExcelImportLog.ftl?rev=1836546&r1=1836545&r2=1836546&view=diff ============================================================================== --- ofbiz/ofbiz-plugins/trunk/pricat/template/pricat/viewExcelImportLog.ftl (original) +++ ofbiz/ofbiz-plugins/trunk/pricat/template/pricat/viewExcelImportLog.ftl Tue Jul 24 11:27:20 2018 @@ -30,7 +30,7 @@ under the License. </div> </div> -<script language='JavaScript'> +<script> <!-- jQuery(document).ready( function() { jQuery("#htmlreport").html("${StringUtil.wrapString(logFileContent!)}"); Modified: ofbiz/ofbiz-plugins/trunk/projectmgr/template/project/GanttChart.ftl URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-plugins/trunk/projectmgr/template/project/GanttChart.ftl?rev=1836546&r1=1836545&r2=1836546&view=diff ============================================================================== --- ofbiz/ofbiz-plugins/trunk/projectmgr/template/project/GanttChart.ftl (original) +++ ofbiz/ofbiz-plugins/trunk/projectmgr/template/project/GanttChart.ftl Tue Jul 24 11:27:20 2018 @@ -19,7 +19,7 @@ under the License. --> <div style="position:relative" class="gantt" id="GanttChartDIV"></div> -<script type="text/javascript" language="javascript"> +<script type="text/javascript"> var g = new JSGantt.GanttChart('g',document.getElementById('GanttChartDIV'), 'day'); g.setShowRes(1); // Show/Hide Responsible (0/1) Modified: ofbiz/ofbiz-plugins/trunk/webpos/template/Login.ftl URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-plugins/trunk/webpos/template/Login.ftl?rev=1836546&r1=1836545&r2=1836546&view=diff ============================================================================== --- ofbiz/ofbiz-plugins/trunk/webpos/template/Login.ftl (original) +++ ofbiz/ofbiz-plugins/trunk/webpos/template/Login.ftl Tue Jul 24 11:27:20 2018 @@ -72,7 +72,7 @@ under the License. </div> </center> -<script language="JavaScript" type="text/javascript"> +<script type="text/javascript"> document.loginform.JavaScriptEnabled.value = "Y"; <#if focusName> document.loginform.USERNAME.focus(); Modified: ofbiz/ofbiz-plugins/trunk/webpos/template/RequirePasswordChange.ftl URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-plugins/trunk/webpos/template/RequirePasswordChange.ftl?rev=1836546&r1=1836545&r2=1836546&view=diff ============================================================================== --- ofbiz/ofbiz-plugins/trunk/webpos/template/RequirePasswordChange.ftl (original) +++ ofbiz/ofbiz-plugins/trunk/webpos/template/RequirePasswordChange.ftl Tue Jul 24 11:27:20 2018 @@ -57,7 +57,7 @@ under the License. </div> </div> -<script language="JavaScript" type="text/javascript"> +<script type="text/javascript"> <#if autoUserLogin?has_content>document.loginform.PASSWORD.focus();</#if> <#if !autoUserLogin?has_content>document.loginform.USERNAME.focus();</#if> </script> Modified: ofbiz/ofbiz-plugins/trunk/webpos/template/cart/ShowCart.ftl URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-plugins/trunk/webpos/template/cart/ShowCart.ftl?rev=1836546&r1=1836545&r2=1836546&view=diff ============================================================================== --- ofbiz/ofbiz-plugins/trunk/webpos/template/cart/ShowCart.ftl (original) +++ ofbiz/ofbiz-plugins/trunk/webpos/template/cart/ShowCart.ftl Tue Jul 24 11:27:20 2018 @@ -145,6 +145,6 @@ under the License. </#if> </table> </div> -<script language="JavaScript" type="text/javascript"> +<script type="text/javascript"> selectCartItem(); </script> Modified: ofbiz/ofbiz-plugins/trunk/webpos/template/cart/ShowCartItemSelected.ftl URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-plugins/trunk/webpos/template/cart/ShowCartItemSelected.ftl?rev=1836546&r1=1836545&r2=1836546&view=diff ============================================================================== --- ofbiz/ofbiz-plugins/trunk/webpos/template/cart/ShowCartItemSelected.ftl (original) +++ ofbiz/ofbiz-plugins/trunk/webpos/template/cart/ShowCartItemSelected.ftl Tue Jul 24 11:27:20 2018 @@ -67,7 +67,7 @@ under the License. <a id="updateCartItem" name="updateCartItem" href="javascript:updateCartItem();" class="buttontext">${uiLabelMap.CommonUpdate}</a> <a id="deleteCartItem" name="deleteCartItem" href="javascript:deleteCartItem('${cartLineIndex}');" class="buttontext">${uiLabelMap.CommonDelete}</a> </div> - <script language="JavaScript" type="text/javascript"> + <script type="text/javascript"> cartItemSelectedEvents('${focusOnQuantity}'); </script> </#if> Modified: ofbiz/ofbiz-plugins/trunk/webpos/template/catalog/CategoryDetail.ftl URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-plugins/trunk/webpos/template/catalog/CategoryDetail.ftl?rev=1836546&r1=1836545&r2=1836546&view=diff ============================================================================== --- ofbiz/ofbiz-plugins/trunk/webpos/template/catalog/CategoryDetail.ftl (original) +++ ofbiz/ofbiz-plugins/trunk/webpos/template/catalog/CategoryDetail.ftl Tue Jul 24 11:27:20 2018 @@ -62,7 +62,7 @@ under the License. </tr> </#if> </table> -<script language="JavaScript" type="text/javascript"> +<script type="text/javascript"> showSelectedButton(); </script> </#if> Modified: ofbiz/ofbiz-plugins/trunk/webpos/template/includes/Header.ftl URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-plugins/trunk/webpos/template/includes/Header.ftl?rev=1836546&r1=1836545&r2=1836546&view=diff ============================================================================== --- ofbiz/ofbiz-plugins/trunk/webpos/template/includes/Header.ftl (original) +++ ofbiz/ofbiz-plugins/trunk/webpos/template/includes/Header.ftl Tue Jul 24 11:27:20 2018 @@ -28,7 +28,7 @@ under the License. <#if layoutSettings.javaScripts?has_content> <#--layoutSettings.javaScripts is a list of java scripts. --> <#list layoutSettings.javaScripts as javaScript> - <script language="javascript" src="<@ofbizContentUrl>${javaScript}</@ofbizContentUrl>" type="text/javascript"></script> + <script src="<@ofbizContentUrl>${javaScript}</@ofbizContentUrl>" type="text/javascript"></script> </#list> </#if> <#if layoutSettings.styleSheets?has_content> Modified: ofbiz/ofbiz-plugins/trunk/webpos/template/search/CustomerAddress.ftl URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-plugins/trunk/webpos/template/search/CustomerAddress.ftl?rev=1836546&r1=1836545&r2=1836546&view=diff ============================================================================== --- ofbiz/ofbiz-plugins/trunk/webpos/template/search/CustomerAddress.ftl (original) +++ ofbiz/ofbiz-plugins/trunk/webpos/template/search/CustomerAddress.ftl Tue Jul 24 11:27:20 2018 @@ -116,6 +116,6 @@ under the License. </div> </div> </div> -<script language="JavaScript" type="text/javascript"> +<script type="text/javascript"> customerAddressSelected(); </script> Modified: ofbiz/ofbiz-plugins/trunk/webpos/template/search/SearchParties.ftl URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-plugins/trunk/webpos/template/search/SearchParties.ftl?rev=1836546&r1=1836545&r2=1836546&view=diff ============================================================================== --- ofbiz/ofbiz-plugins/trunk/webpos/template/search/SearchParties.ftl (original) +++ ofbiz/ofbiz-plugins/trunk/webpos/template/search/SearchParties.ftl Tue Jul 24 11:27:20 2018 @@ -29,6 +29,6 @@ under the License. <input type="submit" value="${uiLabelMap.CommonSearch}" id="partySearchConfirm"/> <br/> </div> -<script language="JavaScript" type="text/javascript"> +<script type="text/javascript"> partyKeyEvents(); </script> \ No newline at end of file Modified: ofbiz/ofbiz-plugins/trunk/webpos/template/search/SearchProducts.ftl URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-plugins/trunk/webpos/template/search/SearchProducts.ftl?rev=1836546&r1=1836545&r2=1836546&view=diff ============================================================================== --- ofbiz/ofbiz-plugins/trunk/webpos/template/search/SearchProducts.ftl (original) +++ ofbiz/ofbiz-plugins/trunk/webpos/template/search/SearchProducts.ftl Tue Jul 24 11:27:20 2018 @@ -34,6 +34,6 @@ under the License. </div> </form> <br /> -<script language="javascript" type="text/javascript"> +<script type="text/javascript"> document.SearchProducts.productToSearch.focus(); </script> \ No newline at end of file |
Free forum by Nabble | Edit this page |