diff options
author | zachwick <zach@zachwick.com> | 2017-05-15 13:41:00 (GMT) |
---|---|---|
committer | zachwick <zach@zachwick.com> | 2017-08-04 15:59:17 (GMT) |
commit | 6b5617e5a4c87afd2c7f2f7b8cb03de2b6735627 (patch) | |
tree | d689c6a54e319027ae89408a318f2f978641c510 /templates/html/htmlbase.tpl | |
parent | 0072ba56aa994208b61515c60b6cbfaee2244d4d (diff) | |
download | Doxygen-6b5617e5a4c87afd2c7f2f7b8cb03de2b6735627.zip Doxygen-6b5617e5a4c87afd2c7f2f7b8cb03de2b6735627.tar.gz Doxygen-6b5617e5a4c87afd2c7f2f7b8cb03de2b6735627.tar.bz2 |
Marks JS as freely licensed
Marking the resulting JS in this way ensures that visitors to the
resulting HTML documentation do not have to choose between running
non-free JS and experiencing the HTML documentation as it was
intended.
The JS was already freely licensed, so this change just
ensures that the appropriate labelling occurs so that GNU LibreJS [0]
parses the JS correctly as freely licensed.
[0] https://www.gnu.org/software/librejs/
Signed-off-by: zachwick <zach@zachwick.com>
Diffstat (limited to 'templates/html/htmlbase.tpl')
-rw-r--r-- | templates/html/htmlbase.tpl | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/templates/html/htmlbase.tpl b/templates/html/htmlbase.tpl index 2825249..e271d3a 100644 --- a/templates/html/htmlbase.tpl +++ b/templates/html/htmlbase.tpl @@ -16,16 +16,20 @@ <script type="text/javascript" src="{{ page.relPath }}navtreedata.js"></script> <script type="text/javascript" src="{{ page.relPath }}navtree.js"></script> <script type="text/javascript"> + /* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */ $(document).ready(initResizable); + /* @license-end */ </script> {% endif %} {% if not config.DISABLE_INDEX %} <script type="text/javascript" src="menudata.js"></script> <script type="text/javascript" src="menu.js"></script> <script type="text/javascript"> +/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */ $(function() { initMenu('',{% if config.SEARCHENGINE %}true{% else %}false{% endif %},'{{ tr.search }}'); }); +/* @license-end */ </script> {% endif %} {% if config.SEARCHENGINE %} @@ -36,14 +40,18 @@ $(function() { <script type="text/javascript" src="{{ page.relPath }}search/search.js"></script> {% if config.SERVER_BASED_SEARCH %} <script type="text/javascript"> + /* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */ $(document).ready(function() { if ($('.searchresults').length > 0) { searchBox.DOMSearchField().focus(); } }); + /* @license-end */ </script> <link rel="search" href="{{ page.relPath }}search-opensearch.php?v=opensearch.xml" type="application/opensearchdescription+xml" title="{{ config.PROJECT_NAME }}"/> {% else %} <script type="text/javascript"> + /* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */ $(document).ready(function() { init_search(); }); + /* @license-end */ </script> {% endif %} {% endif %} @@ -131,7 +139,9 @@ $(function() { {% block search %} {% if config.SEARCHENGINE %} <script type="text/javascript"> +/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */ var searchBox = new SearchBox("searchBox", "{{ page.relPath }}search",false,'{{ tr.search }}'); +/* @license-end */ </script> {% endif %} {% endblock %} @@ -160,7 +170,9 @@ var searchBox = new SearchBox("searchBox", "{{ page.relPath }}search",false,'{{ </div> </div> <script type="text/javascript"> +/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */ $(document).ready(function(){initNavTree('{{ page.fileName }}{% if page_postfix %}{{ page_postfix }}{% endif %}{{ config.HTML_FILE_EXTENSION }}','{{ page.relPath }}');}); +/* @license-end */ </script> <div id="doc-content"> {% endif %} @@ -227,7 +239,7 @@ $(document).ready(function(){initNavTree('{{ page.fileName }}{% if page_postfix {% else %} {{ tr.generatedBy }} {% endif %} - <a href="http://www.doxygen.org/index.html"><img class="footer" src="{{ page.relPath }}doxygen.png" alt="doxygen"/></a> + <a href="http://www.doxygen.org/index.html"><img class="footer" src="{{ page.relPath }}doxygen.png" alt="doxygen"/></a> {{ doxygen.version }} </small></address> {% endif %} |