|
Modified: ofbiz/ofbiz-plugins/trunk/cmssite/template/docbook/webhelp/docs/content/index.html
URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-plugins/trunk/cmssite/template/docbook/webhelp/docs/content/index.html?rev=1836889&r1=1836888&r2=1836889&view=diff ============================================================================== --- ofbiz/ofbiz-plugins/trunk/cmssite/template/docbook/webhelp/docs/content/index.html (original) +++ ofbiz/ofbiz-plugins/trunk/cmssite/template/docbook/webhelp/docs/content/index.html Sat Jul 28 11:50:09 2018 @@ -2,7 +2,7 @@ <html xmlns="http://www.w3.org/1999/xhtml"><head> <meta http-equiv="X-UA-Compatible" content="IE=7"></meta> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"></meta> -<title>README: Web-based Help from DocBook XML</title><meta name="generator" content="DocBook XSL Stylesheets V1.77.1"></meta><link rel="home" href="index.html" title="README: Web-based Help from DocBook XML"></link><link rel="next" href="ch01.html" title="Introduction"></link><script type="text/javascript"> +<title>README: Web-based Help from DocBook XML</title><meta name="generator" content="DocBook XSL Stylesheets V1.77.1"></meta><link rel="home" href="index.html" title="README: Web-based Help from DocBook XML"></link><link rel="next" href="ch01.html" title="Introduction"></link><script type="application/javascript"> //The id for tree cookie var treeCookieId = "treeview-1055"; var language = "en"; @@ -85,7 +85,7 @@ border: none; background: none; font-wei .ui-tabs { padding: .2em;} .ui-tabs .ui-tabs-nav li { top: 0px; margin: -2px 0 1px; text-transform: uppercase; font-size: 10.5px;} .ui-tabs .ui-tabs-nav li a { padding: .25em 2em .25em 1em; margin: .5em; text-shadow: 0 1px 0 rgba(255,255,255,.5); } - </style><script type="text/javascript" src="../common/browserDetect.js"></script><script type="text/javascript" src="../common/jquery/jquery-1.4.2.min.js"></script><script type="text/javascript" src="../common/jquery/jquery-ui-1.8.2.custom.min.js"></script><script type="text/javascript" src="../common/jquery/jquery.cookie.js"></script><script type="text/javascript" src="../common/jquery/treeview/jquery.treeview.min.js"></script><script type="text/javascript" src="search/l10n.js"></script><script type="text/javascript" src="search/htmlFileInfoList.js"></script><script type="text/javascript" src="search/nwSearchFnt.js"></script><script type="text/javascript" src="search/stemmers/en_stemmer.js"><!--//make this scalable to other languages as well.--></script><script type="text/javascript" src="search/index-1.js"></script><script type="text/javascript" src="search/index-2.js"></script><script type="text/javascript" src="search/index-3.js"></script></head><body><div id="header"><a target="_blank" href="#"><img style="margin-right: 2px; height: 59px; padding-right: 25px; padding-top: 8px" align="right" src="../common/images/logo.png" alt=" Documentation"></img></a><h1>README: Web-based Help from DocBook XML<br></br>Â </h1><div id="navheader"><table class="navLinks"><tr><td><a id="showHideButton" href="javascript:showHideToc();" class="pointLeft" tabindex="5" title="Hide TOC tree">Sidebar + </style><script type="application/javascript" src="../common/browserDetect.js"></script><script type="application/javascript" src="../common/jquery/jquery-1.4.2.min.js"></script><script type="application/javascript" src="../common/jquery/jquery-ui-1.8.2.custom.min.js"></script><script type="application/javascript" src="../common/jquery/jquery.cookie.js"></script><script type="application/javascript" src="../common/jquery/treeview/jquery.treeview.min.js"></script><script type="application/javascript" src="search/l10n.js"></script><script type="application/javascript" src="search/htmlFileInfoList.js"></script><script type="application/javascript" src="search/nwSearchFnt.js"></script><script type="application/javascript" src="search/stemmers/en_stemmer.js"><!--//make this scalable to other languages as well.--></script><script type="application/javascript" src="search/index-1.js"></script><script type="application/javascript" src="search/index-2.js"></script><script type="appli cation/javascript" src="search/index-3.js"></script></head><body><div id="header"><a target="_blank" href="#"><img style="margin-right: 2px; height: 59px; padding-right: 25px; padding-top: 8px" align="right" src="../common/images/logo.png" alt=" Documentation"></img></a><h1>README: Web-based Help from DocBook XML<br></br>Â </h1><div id="navheader"><table class="navLinks"><tr><td><a id="showHideButton" href="javascript:showHideToc();" class="pointLeft" tabindex="5" title="Hide TOC tree">Sidebar </a></td><td>Â | <a accesskey="n" class="navLinkNext" tabindex="5" href="ch01.html">Next</a></td></tr></table></div></div><div id="content"><noscript>JavaScript is disabled on your browser. Please enable JavaScript to enjoy all the features of this site.</noscript><div class="book"><div xmlns="" class="titlepage"> @@ -132,4 +132,4 @@ border: none; background: none; font-wei <hr> </div> <div class="list-of-figures"><p><strong>List of Figures</strong></p><dl><dt>1. <a href="ch02s05.html#id376944">Sample Image</a></dt></dl></div><div class="list-of-examples"><p><strong>List of Examples</strong></p><dl><dt>1. <a href="ch02s05.html#id376967">Example code for adding images. Note down the relative path used</a></dt><dt>2. <a href="ch03s02s01.html#id377526">Add new language to supportedLanguages array</a></dt><dt>3. <a href="ch03s02s01.html#id377581">Initialize correct stemmer based on the - <code class="code">webhelp.indexer.language</code> specified</a></dt></dl></div></div><script type="text/javascript" src="../common/main.js"></script><div class="navfooter"><hr></hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left">Â </td><td width="20%" align="center">Â </td><td width="40%" align="right">Â <a accesskey="n" href="ch01.html">Next</a></td></tr></table></div></div><div id="sidebar"><div id="leftnavigation" style="padding-top:3px;"><div id="tabs"><ul><li><a href="#treeDiv" style="outline:0;" tabindex="1"><span class="contentsTab">Contents</span></a></li><li><a href="#searchDiv" style="outline:0;" tabindex="1" onclick="doSearch()"><span class="searchTab">Search</span></a></li></ul><div id="treeDiv"><img src="../common/images/loading.gif" alt="loading table of contents..." id="tocLoading" style="display:block;"></img><div id="ulTreeDiv" style="display:none"><ul id="tree" class="filetree"><li><span class="file">< a href="ch01.html" tabindex="1">Introduction</a></span></li><li><span class="file"><a href="ch02.html" tabindex="1">Using the package</a></span><ul><li><span class="file"><a href="ch02s01.html" tabindex="1">Generating webhelp output</a></span></li><li><span class="file"><a href="ch02s02.html" tabindex="1">Using and customizing the output</a></span><ul><li><span class="file"><a href="ch02s02s01.html" tabindex="1">Recommended Apache configurations</a></span></li></ul></li><li><span class="file"><a href="ch02s03.html" tabindex="1">Search indexing</a></span></li><li><span class="file"><a href="ch02s04.html" tabindex="1">Adding support for other (non-CJKV) languages</a></span></li><li><span class="file"><a href="ch02s05.html" tabindex="1">Adding images</a></span></li></ul></li><li><span class="file"><a href="ch03.html" tabindex="1">Developer Docs</a></span><ul><li><span class="file"><a href="ch03s01.html" tabindex="1">Design</a></span></li><li><span class="file"><a href="ch03s02.html" ta bindex="1">Search</a></span><ul><li><span class="file"><a href="ch03s02s01.html" tabindex="1">New Stemmers</a></span></li></ul></li></ul></li><li><span class="file"><a href="ch04.html" tabindex="1">FAQ</a></span></li></ul></div></div><div id="searchDiv"><div id="search"><form onsubmit="Verifie(searchForm);return false" name="searchForm" class="searchForm"><fieldset class="searchFieldSet"><legend>Search</legend><center><input id="textToSearch" name="textToSearch" type="search" class="searchText" tabindex="1"></input> <input onclick="Verifie(searchForm)" type="button" class="searchButton" value="Go" id="doSearch" tabindex="1"></input></center></fieldset></form></div><div id="searchResults"><center></center></div><p class="searchHighlight"><a href="#" onclick="toggleHighlight()">Search Highlighter (On/Off)</a></p></div></div></div></div></body></html> + <code class="code">webhelp.indexer.language</code> specified</a></dt></dl></div></div><script type="application/javascript" src="../common/main.js"></script><div class="navfooter"><hr></hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left">Â </td><td width="20%" align="center">Â </td><td width="40%" align="right">Â <a accesskey="n" href="ch01.html">Next</a></td></tr></table></div></div><div id="sidebar"><div id="leftnavigation" style="padding-top:3px;"><div id="tabs"><ul><li><a href="#treeDiv" style="outline:0;" tabindex="1"><span class="contentsTab">Contents</span></a></li><li><a href="#searchDiv" style="outline:0;" tabindex="1" onclick="doSearch()"><span class="searchTab">Search</span></a></li></ul><div id="treeDiv"><img src="../common/images/loading.gif" alt="loading table of contents..." id="tocLoading" style="display:block;"></img><div id="ulTreeDiv" style="display:none"><ul id="tree" class="filetree"><li><span class=" file"><a href="ch01.html" tabindex="1">Introduction</a></span></li><li><span class="file"><a href="ch02.html" tabindex="1">Using the package</a></span><ul><li><span class="file"><a href="ch02s01.html" tabindex="1">Generating webhelp output</a></span></li><li><span class="file"><a href="ch02s02.html" tabindex="1">Using and customizing the output</a></span><ul><li><span class="file"><a href="ch02s02s01.html" tabindex="1">Recommended Apache configurations</a></span></li></ul></li><li><span class="file"><a href="ch02s03.html" tabindex="1">Search indexing</a></span></li><li><span class="file"><a href="ch02s04.html" tabindex="1">Adding support for other (non-CJKV) languages</a></span></li><li><span class="file"><a href="ch02s05.html" tabindex="1">Adding images</a></span></li></ul></li><li><span class="file"><a href="ch03.html" tabindex="1">Developer Docs</a></span><ul><li><span class="file"><a href="ch03s01.html" tabindex="1">Design</a></span></li><li><span class="file"><a href="ch03s02.h tml" tabindex="1">Search</a></span><ul><li><span class="file"><a href="ch03s02s01.html" tabindex="1">New Stemmers</a></span></li></ul></li></ul></li><li><span class="file"><a href="ch04.html" tabindex="1">FAQ</a></span></li></ul></div></div><div id="searchDiv"><div id="search"><form onsubmit="Verifie(searchForm);return false" name="searchForm" class="searchForm"><fieldset class="searchFieldSet"><legend>Search</legend><center><input id="textToSearch" name="textToSearch" type="search" class="searchText" tabindex="1"></input> <input onclick="Verifie(searchForm)" type="button" class="searchButton" value="Go" id="doSearch" tabindex="1"></input></center></fieldset></form></div><div id="searchResults"><center></center></div><p class="searchHighlight"><a href="#" onclick="toggleHighlight()">Search Highlighter (On/Off)</a></p></div></div></div></div></body></html> Modified: ofbiz/ofbiz-plugins/trunk/cmssite/template/docbook/webhelp/xsl/webhelp-common.xsl URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-plugins/trunk/cmssite/template/docbook/webhelp/xsl/webhelp-common.xsl?rev=1836889&r1=1836888&r2=1836889&view=diff ============================================================================== --- ofbiz/ofbiz-plugins/trunk/cmssite/template/docbook/webhelp/xsl/webhelp-common.xsl (original) +++ ofbiz/ofbiz-plugins/trunk/cmssite/template/docbook/webhelp/xsl/webhelp-common.xsl Sat Jul 28 11:50:09 2018 @@ -109,7 +109,7 @@ These problems go away when you add this webhelp.tree.cookie.id = <xsl:value-of select="$webhelp.tree.cookie.id"/> +++ <xsl:value-of select="count(//node())"/> $webhelp.indexer.language = <xsl:value-of select="$webhelp.indexer.language"/> +++ <xsl:value-of select="count(//node())"/> </xsl:message>--> - <script type="text/javascript"> + <script type="application/javascript"> //The id for tree cookie var treeCookieId = "<xsl:value-of select="$webhelp.tree.cookie.id"/>"; var language = "<xsl:value-of select="$webhelp.indexer.language"/>"; @@ -222,19 +222,19 @@ border: none; background: none; font-wei browserDetect is an Oxygen addition to warn the user if they're using chrome from the file system. This breaks the Oxygen search highlighting. --> - <script type="text/javascript" src="{$webhelp.common.dir}browserDetect.js"> + <script type="application/javascript" src="{$webhelp.common.dir}browserDetect.js"> <xsl:comment> </xsl:comment> </script> - <script type="text/javascript" src="{$webhelp.common.dir}jquery/jquery-1.4.2.min.js"> + <script type="application/javascript" src="{$webhelp.common.dir}jquery/jquery-1.4.2.min.js"> <xsl:comment> </xsl:comment> </script> - <script type="text/javascript" src="{$webhelp.common.dir}jquery/jquery-ui-1.8.2.custom.min.js"> + <script type="application/javascript" src="{$webhelp.common.dir}jquery/jquery-ui-1.8.2.custom.min.js"> <xsl:comment> </xsl:comment> </script> - <script type="text/javascript" src="{$webhelp.common.dir}jquery/jquery.cookie.js"> + <script type="application/javascript" src="{$webhelp.common.dir}jquery/jquery.cookie.js"> <xsl:comment> </xsl:comment> </script> - <script type="text/javascript" src="{$webhelp.common.dir}jquery/treeview/jquery.treeview.min.js"> + <script type="application/javascript" src="{$webhelp.common.dir}jquery/treeview/jquery.treeview.min.js"> <xsl:comment> </xsl:comment> </script> @@ -242,13 +242,13 @@ border: none; background: none; font-wei <!--Scripts/css stylesheets for Search--> <!-- TODO: Why THREE files? There's absolutely no need for having separate files. These should have been identified at the optimization phase! --> - <script type="text/javascript" src="search/l10n.js"> + <script type="application/javascript" src="search/l10n.js"> <xsl:comment></xsl:comment> </script> - <script type="text/javascript" src="search/htmlFileInfoList.js"> + <script type="application/javascript" src="search/htmlFileInfoList.js"> <xsl:comment> </xsl:comment> </script> - <script type="text/javascript" src="search/nwSearchFnt.js"> + <script type="application/javascript" src="search/nwSearchFnt.js"> <xsl:comment> </xsl:comment> </script> @@ -258,7 +258,7 @@ border: none; background: none; font-wei For country codes, see: http://www.uspto.gov/patft/help/helpctry.htm --> <!--<xsl:message><xsl:value-of select="concat('search/stemmers/',$webhelp.indexer.language,'_stemmer.js')"/></xsl:message>--> - <script type="text/javascript" src="{concat('search/stemmers/',$webhelp.indexer.language,'_stemmer.js')}"> + <script type="application/javascript" src="{concat('search/stemmers/',$webhelp.indexer.language,'_stemmer.js')}"> <xsl:comment>//make this scalable to other languages as well.</xsl:comment> </script> @@ -268,13 +268,13 @@ border: none; background: none; font-wei TODO: Generate webhelp index for largest docbook document that can be find, and analyze the file sizes. IF the file size is still around ~50KB for a given file, we should consider merging these files together. again. --> - <script type="text/javascript" src="search/index-1.js"> + <script type="application/javascript" src="search/index-1.js"> <xsl:comment> </xsl:comment> </script> - <script type="text/javascript" src="search/index-2.js"> + <script type="application/javascript" src="search/index-2.js"> <xsl:comment> </xsl:comment> </script> - <script type="text/javascript" src="search/index-3.js"> + <script type="application/javascript" src="search/index-3.js"> <xsl:comment> </xsl:comment> </script> <!--End of index files --> @@ -796,7 +796,7 @@ border: none; background: none; font-wei <xsl:template match="text()" mode="webhelptoc"/> <xsl:template name="user.footer.content"> - <script type="text/javascript" src="{$webhelp.common.dir}main.js"> + <script type="application/javascript" src="{$webhelp.common.dir}main.js"> <xsl:comment> </xsl:comment> </script> </xsl:template> Modified: ofbiz/ofbiz-plugins/trunk/cmssite/template/docbook/xhtml-1_1/annotations.xsl URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-plugins/trunk/cmssite/template/docbook/xhtml-1_1/annotations.xsl?rev=1836889&r1=1836888&r2=1836889&view=diff ============================================================================== --- ofbiz/ofbiz-plugins/trunk/cmssite/template/docbook/xhtml-1_1/annotations.xsl (original) +++ ofbiz/ofbiz-plugins/trunk/cmssite/template/docbook/xhtml-1_1/annotations.xsl Sat Jul 28 11:50:09 2018 @@ -7,13 +7,13 @@ <xsl:param name="scripts" select="normalize-space($annotation.js)"/> <xsl:choose> <xsl:when test="contains($scripts, ' ')"> - <script type="text/javascript" src="{substring-before($scripts, ' ')}"/> + <script type="application/javascript" src="{substring-before($scripts, ' ')}"/> <xsl:call-template name="add.annotation.links"> <xsl:with-param name="scripts" select="substring-after($scripts, ' ')"/> </xsl:call-template> </xsl:when> <xsl:otherwise> - <script type="text/javascript" src="{$scripts}"/> + <script type="application/javascript" src="{$scripts}"/> </xsl:otherwise> </xsl:choose> </xsl:template> Modified: ofbiz/ofbiz-plugins/trunk/cmssite/template/docbook/xhtml-1_1/docbook.xsl URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-plugins/trunk/cmssite/template/docbook/xhtml-1_1/docbook.xsl?rev=1836889&r1=1836888&r2=1836889&view=diff ============================================================================== --- ofbiz/ofbiz-plugins/trunk/cmssite/template/docbook/xhtml-1_1/docbook.xsl (original) +++ ofbiz/ofbiz-plugins/trunk/cmssite/template/docbook/xhtml-1_1/docbook.xsl Sat Jul 28 11:50:09 2018 @@ -269,7 +269,7 @@ body { background-image: url('</xsl:text unnecessary bloat to each chunk. --> <xsl:if test="$annotation.support != 0 and //annotation"> <xsl:call-template name="add.annotation.links"/> - <script type="text/javascript"> + <script type="application/javascript"> <xsl:text> // Create PopupWindow objects</xsl:text> <xsl:for-each select="//annotation"> Modified: ofbiz/ofbiz-plugins/trunk/cmssite/template/docbook/xhtml-1_1/profile-docbook.xsl URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-plugins/trunk/cmssite/template/docbook/xhtml-1_1/profile-docbook.xsl?rev=1836889&r1=1836888&r2=1836889&view=diff ============================================================================== --- ofbiz/ofbiz-plugins/trunk/cmssite/template/docbook/xhtml-1_1/profile-docbook.xsl (original) +++ ofbiz/ofbiz-plugins/trunk/cmssite/template/docbook/xhtml-1_1/profile-docbook.xsl Sat Jul 28 11:50:09 2018 @@ -271,7 +271,7 @@ body { background-image: url('</xsl:text unnecessary bloat to each chunk. --> <xsl:if test="$annotation.support != 0 and //annotation"> <xsl:call-template name="add.annotation.links"/> - <script type="text/javascript"> + <script type="application/javascript"> <xsl:text> // Create PopupWindow objects</xsl:text> <xsl:for-each select="//annotation"> Modified: ofbiz/ofbiz-plugins/trunk/cmssite/template/docbook/xhtml/annotations.xsl URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-plugins/trunk/cmssite/template/docbook/xhtml/annotations.xsl?rev=1836889&r1=1836888&r2=1836889&view=diff ============================================================================== --- ofbiz/ofbiz-plugins/trunk/cmssite/template/docbook/xhtml/annotations.xsl (original) +++ ofbiz/ofbiz-plugins/trunk/cmssite/template/docbook/xhtml/annotations.xsl Sat Jul 28 11:50:09 2018 @@ -7,13 +7,13 @@ <xsl:param name="scripts" select="normalize-space($annotation.js)"/> <xsl:choose> <xsl:when test="contains($scripts, ' ')"> - <script type="text/javascript" src="{substring-before($scripts, ' ')}"/> + <script type="application/javascript" src="{substring-before($scripts, ' ')}"/> <xsl:call-template name="add.annotation.links"> <xsl:with-param name="scripts" select="substring-after($scripts, ' ')"/> </xsl:call-template> </xsl:when> <xsl:otherwise> - <script type="text/javascript" src="{$scripts}"/> + <script type="application/javascript" src="{$scripts}"/> </xsl:otherwise> </xsl:choose> </xsl:template> Modified: ofbiz/ofbiz-plugins/trunk/cmssite/template/docbook/xhtml/docbook.xsl URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-plugins/trunk/cmssite/template/docbook/xhtml/docbook.xsl?rev=1836889&r1=1836888&r2=1836889&view=diff ============================================================================== --- ofbiz/ofbiz-plugins/trunk/cmssite/template/docbook/xhtml/docbook.xsl (original) +++ ofbiz/ofbiz-plugins/trunk/cmssite/template/docbook/xhtml/docbook.xsl Sat Jul 28 11:50:09 2018 @@ -269,7 +269,7 @@ body { background-image: url('</xsl:text unnecessary bloat to each chunk. --> <xsl:if test="$annotation.support != 0 and //annotation"> <xsl:call-template name="add.annotation.links"/> - <script type="text/javascript"> + <script type="application/javascript"> <xsl:text> // Create PopupWindow objects</xsl:text> <xsl:for-each select="//annotation"> Modified: ofbiz/ofbiz-plugins/trunk/cmssite/template/docbook/xhtml/profile-docbook.xsl URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-plugins/trunk/cmssite/template/docbook/xhtml/profile-docbook.xsl?rev=1836889&r1=1836888&r2=1836889&view=diff ============================================================================== --- ofbiz/ofbiz-plugins/trunk/cmssite/template/docbook/xhtml/profile-docbook.xsl (original) +++ ofbiz/ofbiz-plugins/trunk/cmssite/template/docbook/xhtml/profile-docbook.xsl Sat Jul 28 11:50:09 2018 @@ -271,7 +271,7 @@ body { background-image: url('</xsl:text unnecessary bloat to each chunk. --> <xsl:if test="$annotation.support != 0 and //annotation"> <xsl:call-template name="add.annotation.links"/> - <script type="text/javascript"> + <script type="application/javascript"> <xsl:text> // Create PopupWindow objects</xsl:text> <xsl:for-each select="//annotation"> Modified: ofbiz/ofbiz-plugins/trunk/cmssite/template/docbook/xhtml5/xhtml-docbook.xsl URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-plugins/trunk/cmssite/template/docbook/xhtml5/xhtml-docbook.xsl?rev=1836889&r1=1836888&r2=1836889&view=diff ============================================================================== --- ofbiz/ofbiz-plugins/trunk/cmssite/template/docbook/xhtml5/xhtml-docbook.xsl (original) +++ ofbiz/ofbiz-plugins/trunk/cmssite/template/docbook/xhtml5/xhtml-docbook.xsl Sat Jul 28 11:50:09 2018 @@ -272,7 +272,7 @@ body { background-image: url('</xsl:text unnecessary bloat to each chunk. --> <xsl:if test="$annotation.support != 0 and //annotation"> <xsl:call-template name="add.annotation.links"/> - <script type="text/javascript"> + <script type="application/javascript"> <xsl:text> // Create PopupWindow objects</xsl:text> <xsl:for-each select="//annotation"> Modified: ofbiz/ofbiz-plugins/trunk/cmssite/template/docbook/xhtml5/xhtml-profile-docbook.xsl URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-plugins/trunk/cmssite/template/docbook/xhtml5/xhtml-profile-docbook.xsl?rev=1836889&r1=1836888&r2=1836889&view=diff ============================================================================== --- ofbiz/ofbiz-plugins/trunk/cmssite/template/docbook/xhtml5/xhtml-profile-docbook.xsl (original) +++ ofbiz/ofbiz-plugins/trunk/cmssite/template/docbook/xhtml5/xhtml-profile-docbook.xsl Sat Jul 28 11:50:09 2018 @@ -242,7 +242,7 @@ body { background-image: url('</xsl:text unnecessary bloat to each chunk. --> <xsl:if test="$annotation.support != 0 and //annotation"> <xsl:call-template name="add.annotation.links"/> - <script type="text/javascript"> + <script type="application/javascript"> <xsl:text> // Create PopupWindow objects</xsl:text> <xsl:for-each select="//annotation"> Modified: ofbiz/ofbiz-plugins/trunk/ebay/template/find/EbayAdvancedSearch.ftl URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-plugins/trunk/ebay/template/find/EbayAdvancedSearch.ftl?rev=1836889&r1=1836888&r2=1836889&view=diff ============================================================================== --- ofbiz/ofbiz-plugins/trunk/ebay/template/find/EbayAdvancedSearch.ftl (original) +++ ofbiz/ofbiz-plugins/trunk/ebay/template/find/EbayAdvancedSearch.ftl Sat Jul 28 11:50:09 2018 @@ -17,7 +17,7 @@ specific language governing permissions under the License. --> -<script type="text/javascript"> +<script type="application/javascript"> //<![CDATA[ function selectChange(formId, elementId) { if (elementId.id == 'searchProductStoreId') { 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=1836889&r1=1836888&r2=1836889&view=diff ============================================================================== --- ofbiz/ofbiz-plugins/trunk/ebay/template/find/EbayExportLink.ftl (original) +++ ofbiz/ofbiz-plugins/trunk/ebay/template/find/EbayExportLink.ftl Sat Jul 28 11:50:09 2018 @@ -17,7 +17,7 @@ specific language governing permissions under the License. --> -<script type="text/javascript"> +<script type="application/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=1836889&r1=1836888&r2=1836889&view=diff ============================================================================== --- ofbiz/ofbiz-plugins/trunk/ebay/template/find/ProductsExportToEbay.ftl (original) +++ ofbiz/ofbiz-plugins/trunk/ebay/template/find/ProductsExportToEbay.ftl Sat Jul 28 11:50:09 2018 @@ -16,7 +16,7 @@ KIND, either express or implied. See th specific language governing permissions and limitations under the License. --> -<script type="text/javascript"> +<script type="application/javascript"> function changeEbayCategory(categ) { document.forms["ProductsExportToEbay"].action = "<@ofbizUrl>ProductsExportToEbay?categoryCode="+categ+"</@ofbizUrl>"; @@ -240,7 +240,7 @@ under the License. </#if> </table> </form> - <script type="text/javascript"> + <script type="application/javascript"> activateSubmitButton(); </script> </div> Modified: ofbiz/ofbiz-plugins/trunk/ebaystore/template/feedback/LeaveFeedback.ftl URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-plugins/trunk/ebaystore/template/feedback/LeaveFeedback.ftl?rev=1836889&r1=1836888&r2=1836889&view=diff ============================================================================== --- ofbiz/ofbiz-plugins/trunk/ebaystore/template/feedback/LeaveFeedback.ftl (original) +++ ofbiz/ofbiz-plugins/trunk/ebaystore/template/feedback/LeaveFeedback.ftl Sat Jul 28 11:50:09 2018 @@ -17,7 +17,7 @@ specific language governing permissions under the License. --> <#if results.itemsAwaitingFeedback?has_content> -<script type="text/javascript"> +<script type="application/javascript"> var active = ""; function overStar(obj){ if(obj.src.match("starActive")){ Modified: ofbiz/ofbiz-plugins/trunk/ebaystore/template/store/EbayApiKeywordSearch.ftl URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-plugins/trunk/ebaystore/template/store/EbayApiKeywordSearch.ftl?rev=1836889&r1=1836888&r2=1836889&view=diff ============================================================================== --- ofbiz/ofbiz-plugins/trunk/ebaystore/template/store/EbayApiKeywordSearch.ftl (original) +++ ofbiz/ofbiz-plugins/trunk/ebaystore/template/store/EbayApiKeywordSearch.ftl Sat Jul 28 11:50:09 2018 @@ -17,7 +17,7 @@ specific language governing permissions under the License. --> -<script type="text/javascript"> +<script type="application/javascript"> //<![CDATA[ function selectChange(formId, elementId) { if (elementId.id == 'searchCatalogId') { 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=1836889&r1=1836888&r2=1836889&view=diff ============================================================================== --- ofbiz/ofbiz-plugins/trunk/ebaystore/template/store/OrderImported.ftl (original) +++ ofbiz/ofbiz-plugins/trunk/ebaystore/template/store/OrderImported.ftl Sat Jul 28 11:50:09 2018 @@ -16,7 +16,7 @@ KIND, either express or implied. See th specific language governing permissions and limitations under the License. --> -<script type="text/javascript"> +<script type="application/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=1836889&r1=1836888&r2=1836889&view=diff ============================================================================== --- ofbiz/ofbiz-plugins/trunk/ebaystore/template/store/ProductSearchExport.ftl (original) +++ ofbiz/ofbiz-plugins/trunk/ebaystore/template/store/ProductSearchExport.ftl Sat Jul 28 11:50:09 2018 @@ -62,7 +62,7 @@ under the License. background-color:#FFF; } </style> -<script type="text/javascript"> +<script type="application/javascript"> function retrieveEbayCategoryByParent(url,cateId,productStoreId,id){ if (cateId.match('true')){ @@ -584,18 +584,18 @@ under the License. <td> <script src="<@ofbizContentUrl>/common/js/jquery/plugins/elrte-1.3/js/elrte.min.js</@ofbizContentUrl>" - type="text/javascript"> + type="application/javascript"> </script> <#if language?has_content && language != "en"> <script src="<@ofbizContentUrl>/common/js/jquery/plugins/elrte-1.3/js/i18n/elrte.${language!"en"}.js</@ofbizContentUrl>" - type="text/javascript"> + type="application/javascript"> </script> <#rt/> </#if> <link href="<@ofbizContentUrl>/common/js/jquery/plugins/elrte-1.3/css/elrte.min.css</@ofbizContentUrl>" rel="stylesheet" type="text/css"> - <script type="text/javascript"> + <script type="application/javascript"> var opts = { cssClass: 'el-rte', lang: '${language}', @@ -608,7 +608,7 @@ under the License. <textarea id="description" name="description" style="width:800px; height:300px"> <#if item.getDescription()??>description<#else>${item.getDescription()!}</#if> </textarea> - <script type="text/javascript"> + <script type="application/javascript"> jQuery('#description').elrte(opts); </script> </td> @@ -657,7 +657,7 @@ under the License. <tr> <td></td> <td valign="top"> - <script type="text/javascript"> + <script type="application/javascript"> function popUpImg() { //popUp(document.getElementById('themeImg').src, 'themeImgBig', '400', '550'); } 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=1836889&r1=1836888&r2=1836889&view=diff ============================================================================== --- ofbiz/ofbiz-plugins/trunk/ebaystore/template/store/StoreSetting.ftl (original) +++ ofbiz/ofbiz-plugins/trunk/ebaystore/template/store/StoreSetting.ftl Sat Jul 28 11:50:09 2018 @@ -16,7 +16,7 @@ KIND, either express or implied. See th specific language governing permissions and limitations under the License. --> -<script type="text/javascript"> +<script type="application/javascript"> function countAreaChars(areaName, limit, charleft) { if (areaName.value.length > limit) { @@ -549,7 +549,7 @@ under the License. </td> </tr> </table> - <script type="text/javascript"> + <script type="application/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 type="text/javascript"> +<script type="application/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=1836889&r1=1836888&r2=1836889&view=diff ============================================================================== --- ofbiz/ofbiz-plugins/trunk/ecommerce/template/Login.ftl (original) +++ ofbiz/ofbiz-plugins/trunk/ecommerce/template/Login.ftl Sat Jul 28 11:50:09 2018 @@ -19,7 +19,7 @@ under the License. <#assign janrainEnabled = Static["org.apache.ofbiz.entity.util.EntityUtilProperties"].getPropertyValue("ecommerce", "janrain.enabled", delegator)> <#assign appName = Static["org.apache.ofbiz.entity.util.EntityUtilProperties"].getPropertyValue("ecommerce", "janrain.appName", delegator)> <#if "Y" == janrainEnabled> -<script type="text/javascript"> +<script type="application/javascript"> (function() { if (typeof window.janrain !== 'object') window.janrain = {}; window.janrain.settings = {}; @@ -34,7 +34,7 @@ under the License. } var e = document.createElement('script'); - e.type = 'text/javascript'; + e.type = 'application/javascript'; e.id = 'janrainAuthWidget'; if (document.location.protocol === 'https:') { @@ -142,7 +142,7 @@ under the License. <div class="endcolumns"> </div> -<script type="text/javascript"> +<script type="application/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=1836889&r1=1836888&r2=1836889&view=diff ============================================================================== --- ofbiz/ofbiz-plugins/trunk/ecommerce/template/RequirePasswordChange.ftl (original) +++ ofbiz/ofbiz-plugins/trunk/ecommerce/template/RequirePasswordChange.ftl Sat Jul 28 11:50:09 2018 @@ -62,7 +62,7 @@ under the License. </div> </div> -<script type="text/javascript"> +<script type="application/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/cart/ShowCart.ftl URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-plugins/trunk/ecommerce/template/cart/ShowCart.ftl?rev=1836889&r1=1836888&r2=1836889&view=diff ============================================================================== --- ofbiz/ofbiz-plugins/trunk/ecommerce/template/cart/ShowCart.ftl (original) +++ ofbiz/ofbiz-plugins/trunk/ecommerce/template/cart/ShowCart.ftl Sat Jul 28 11:50:09 2018 @@ -16,7 +16,7 @@ KIND, either express or implied. See th specific language governing permissions and limitations under the License. --> -<script type="text/javascript"> +<script type="application/javascript"> //<![CDATA[ function removeSelected() { var cform = document.cartform; @@ -63,7 +63,7 @@ under the License. //]]> </script> -<script type="text/javascript"> +<script type="application/javascript"> //<![CDATA[ function setAlternateGwp(field) { window.location=field.value; @@ -127,7 +127,7 @@ under the License. </div> </div> -<script type="text/javascript"> +<script type="application/javascript"> //<![CDATA[ document.quickaddform.add_product_id.focus(); //]]> Modified: ofbiz/ofbiz-plugins/trunk/ecommerce/template/catalog/CategoryDetail.ftl URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-plugins/trunk/ecommerce/template/catalog/CategoryDetail.ftl?rev=1836889&r1=1836888&r2=1836889&view=diff ============================================================================== --- ofbiz/ofbiz-plugins/trunk/ecommerce/template/catalog/CategoryDetail.ftl (original) +++ ofbiz/ofbiz-plugins/trunk/ecommerce/template/catalog/CategoryDetail.ftl Sat Jul 28 11:50:09 2018 @@ -16,7 +16,7 @@ specific language governing permissions and limitations under the License. --> - <script type="text/javascript"> + <script type="application/javascript"> function callDocumentByPaginate(info) { var str = info.split('~'); var checkUrl = '<@ofbizUrl>categoryAjaxFired</@ofbizUrl>'; 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=1836889&r1=1836888&r2=1836889&view=diff ============================================================================== --- ofbiz/ofbiz-plugins/trunk/ecommerce/template/catalog/ConfigProductDetail.ftl (original) +++ ofbiz/ofbiz-plugins/trunk/ecommerce/template/catalog/ConfigProductDetail.ftl Sat Jul 28 11:50:09 2018 @@ -23,7 +23,7 @@ under the License. <#-- virtual product javascript --> ${virtualJavaScript!} -<script type="text/javascript"> +<script type="application/javascript"> <!-- var detailImageUrl = null; function setAddProductId(name) { @@ -135,7 +135,7 @@ ${virtualJavaScript!} //--> </script> -<script type="text/javascript"> +<script type="application/javascript"> <!-- jQuery(document).ready(function () { @@ -430,7 +430,7 @@ ${virtualJavaScript!} <td> <#-- Prefill first select box (virtual products only) --> <#if variantTree?? && 0 < variantTree.size()> - <script type="text/javascript">eval("list" + "${featureOrderFirst}" + "()");</script> + <script type="application/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=1836889&r1=1836888&r2=1836889&view=diff ============================================================================== --- ofbiz/ofbiz-plugins/trunk/ecommerce/template/catalog/DetailImage.ftl (original) +++ ofbiz/ofbiz-plugins/trunk/ecommerce/template/catalog/DetailImage.ftl Sat Jul 28 11:50:09 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 type="text/javascript"> + <script type="application/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=1836889&r1=1836888&r2=1836889&view=diff ============================================================================== --- ofbiz/ofbiz-plugins/trunk/ecommerce/template/catalog/ProductCategories.ftl (original) +++ ofbiz/ofbiz-plugins/trunk/ecommerce/template/catalog/ProductCategories.ftl Sat Jul 28 11:50:09 2018 @@ -16,12 +16,12 @@ specific language governing permissions and limitations under the License. --> -<script type="text/javascript" +<script type="application/javascript" src="<@ofbizContentUrl>/common/js/jquery/plugins/jsTree/jquery.jstree.js</@ofbizContentUrl>"></script> -<script type="text/javascript" +<script type="application/javascript" src="<@ofbizContentUrl>/common/js/jquery/ui/js/jquery.cookie-1.4.0.js</@ofbizContentUrl>"></script> -<script type="text/javascript"> +<script type="application/javascript"> <#-- some labels are not unescaped in the JSON object so we have to do this manuely --> function unescapeHtmlText(text) { return jQuery('<div />').html(text).text() Modified: ofbiz/ofbiz-plugins/trunk/ecommerce/template/catalog/ProductDetail.ftl URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-plugins/trunk/ecommerce/template/catalog/ProductDetail.ftl?rev=1836889&r1=1836888&r2=1836889&view=diff ============================================================================== --- ofbiz/ofbiz-plugins/trunk/ecommerce/template/catalog/ProductDetail.ftl (original) +++ ofbiz/ofbiz-plugins/trunk/ecommerce/template/catalog/ProductDetail.ftl Sat Jul 28 11:50:09 2018 @@ -24,7 +24,7 @@ under the License. <#-- virtual product javascript --> ${virtualJavaScript!} ${virtualVariantJavaScript!} -<script type="text/javascript"> +<script type="application/javascript"> //<![CDATA[ var detailImageUrl = null; function setAddProductId(name) { @@ -897,7 +897,7 @@ $(function(){ </div> <#-- Prefill first select box (virtual products only) --> <#if variantTree?? && 0 < variantTree.size()> - <script type="text/javascript">eval("list" + "${featureOrderFirst}" + "()");</script> + <script type="application/javascript">eval("list" + "${featureOrderFirst}" + "()");</script> </#if> <#-- Swatches (virtual products only) --> Modified: ofbiz/ofbiz-plugins/trunk/ecommerce/template/catalog/ProductSummary.ftl URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-plugins/trunk/ecommerce/template/catalog/ProductSummary.ftl?rev=1836889&r1=1836888&r2=1836889&view=diff ============================================================================== --- ofbiz/ofbiz-plugins/trunk/ecommerce/template/catalog/ProductSummary.ftl (original) +++ ofbiz/ofbiz-plugins/trunk/ecommerce/template/catalog/ProductSummary.ftl Sat Jul 28 11:50:09 2018 @@ -17,7 +17,7 @@ under the License. --> ${virtualJavaScript!} - <script type="text/javascript"> + <script type="application/javascript"> <!-- function displayProductVirtualId(variantId, virtualProductId, pForm) { if(variantId){ 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=1836889&r1=1836888&r2=1836889&view=diff ============================================================================== --- ofbiz/ofbiz-plugins/trunk/ecommerce/template/catalog/TellAFriend.ftl (original) +++ ofbiz/ofbiz-plugins/trunk/ecommerce/template/catalog/TellAFriend.ftl Sat Jul 28 11:50:09 2018 @@ -56,7 +56,7 @@ under the License. </tr> </table> <#else> - <script type="text/javascript"> + <script type="application/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=1836889&r1=1836888&r2=1836889&view=diff ============================================================================== --- ofbiz/ofbiz-plugins/trunk/ecommerce/template/customer/AnonContactus.ftl (original) +++ ofbiz/ofbiz-plugins/trunk/ecommerce/template/customer/AnonContactus.ftl Sat Jul 28 11:50:09 2018 @@ -21,7 +21,7 @@ under the License. <div class="card-header"> <strong>${uiLabelMap.CommonContactUs}</strong> </div> - <script type="text/javascript"> + <script type="application/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=1836889&r1=1836888&r2=1836889&view=diff ============================================================================== --- ofbiz/ofbiz-plugins/trunk/ecommerce/template/customer/MiniSignUpForContactList.ftl (original) +++ ofbiz/ofbiz-plugins/trunk/ecommerce/template/customer/MiniSignUpForContactList.ftl Sat Jul 28 11:50:09 2018 @@ -29,7 +29,7 @@ under the License. </select> </#macro> -<script type="text/javascript"> +<script type="application/javascript"> function unsubscribe() { var form = document.getElementById("signUpForContactListForm"); form.action = "<@ofbizUrl>unsubscribeContactListParty</@ofbizUrl>" Modified: ofbiz/ofbiz-plugins/trunk/ecommerce/template/customer/NewCustomer.ftl URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-plugins/trunk/ecommerce/template/customer/NewCustomer.ftl?rev=1836889&r1=1836888&r2=1836889&view=diff ============================================================================== --- ofbiz/ofbiz-plugins/trunk/ecommerce/template/customer/NewCustomer.ftl (original) +++ ofbiz/ofbiz-plugins/trunk/ecommerce/template/customer/NewCustomer.ftl Sat Jul 28 11:50:09 2018 @@ -18,7 +18,7 @@ under the License. --> <#if getUsername> -<script type="text/javascript"> +<script type="application/javascript"> //<![CDATA[ lastFocusedName = null; function setLastFocused(formElement) { @@ -479,7 +479,7 @@ button actions. <a href="javascript:document.getElementById('newuserform').submit()" class="btn btn-outline-secondary btn-sm">${uiLabelMap.CommonSave}</a> </div> -<script type="text/javascript"> +<script type="application/javascript"> //<![CDATA[ hideShowUsaStates(); //]]> Modified: ofbiz/ofbiz-plugins/trunk/ecommerce/template/customer/profile/ManageAddress.ftl URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-plugins/trunk/ecommerce/template/customer/profile/ManageAddress.ftl?rev=1836889&r1=1836888&r2=1836889&view=diff ============================================================================== --- ofbiz/ofbiz-plugins/trunk/ecommerce/template/customer/profile/ManageAddress.ftl (original) +++ ofbiz/ofbiz-plugins/trunk/ecommerce/template/customer/profile/ManageAddress.ftl Sat Jul 28 11:50:09 2018 @@ -98,7 +98,7 @@ under the License. </fieldset> </form> </div> - <script type="text/javascript"> + <script type="application/javascript"> //<