diff --git a/LibreJS.html b/LibreJS.html deleted file mode 100644 index f217ea0..0000000 --- a/LibreJS.html +++ /dev/null @@ -1,19 +0,0 @@ -<!-- - <table id="jslicense-labels1"> - (one <tr> per js file) - <tr> - <td>link to file</td> - <td>link to one or more licenses</td> - <td>link to source</td> - </tr> - </table> - ---> - -<table id="jslicense-labels1"> - <tr> - <td><a href="javascript/freepost.js">freepost.js</a></td> - <td><a href="http://www.gnu.org/licenses/agpl-3.0.html">AGPL-3.0</a></td> - <td><a href="javascript/freepost.js">freepost.js</a></td> - </tr> -</table> diff --git a/javascript/freepost.js b/javascript/freepost.js index 5091789..8237968 100644 --- a/javascript/freepost.js +++ b/javascript/freepost.js @@ -1,4 +1,34 @@ -/* This is a small script to hide the "up" arrow when users upvote +/* + @licstart The following is the entire license notice for the JavaScript code in this page. + + This is the code powering <http://freepo.st>. + Copyright © 2014-2016 zPlus + Copyright © 2016 Adonay "adfeno" Felipe Nogueira <adfeno@openmailbox.org> <https://libreplanet.org/wiki/User:Adfeno> + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU Affero General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Affero General Public License for more details. + + You should have received a copy of the GNU Affero General Public License + along with this program. If not, see <http://www.gnu.org/licenses/>. + + As additional permission under GNU GPL version 3 section 7, you may + distribute non-source (e.g., minimized or compacted) forms of that code + without the copy of the GNU GPL normally required by section 4, provided + you include this license notice and a URL through which recipients can + access the Corresponding Source. + + @licend The above is the entire license notice for the JavaScript code in this page. +*/ + + +/* This is a small script to hide the "up/down" arrow when users upvote * posts and comments. The only reason for this is to give some feedback * to the user after clicks. */ diff --git a/template/footer.twig b/template/footer.twig index 7a7d2e7..cc83745 100644 --- a/template/footer.twig +++ b/template/footer.twig @@ -4,7 +4,6 @@ <div class="footer"> <p> Text is available under a <a href="http://creativecommons.org/licenses/by/4.0">Creative Commons Attribution 4.0 International License</a>. - <a href="{{ ''|docroot }}LibreJS.html" data-jslicense="1">JavaScript license information</a>. </p> <ul> diff --git a/template/index.twig b/template/index.twig index ad19ac3..ad14a57 100644 --- a/template/index.twig +++ b/template/index.twig @@ -1,37 +1,5 @@ {% include 'header.twig' %} -<script> -/* -@licstart The following is the entire license notice for the JavaScript code in this page. - -This is the code powering <http://freepo.st>. -Copyright © 2014-2016 zPlus -Copyright © 2016 Adonay "adfeno" Felipe Nogueira <adfeno@openmailbox.org> <https://libreplanet.org/wiki/User:Adfeno> - -This program is free software: you can redistribute it and/or modify -it under the terms of the GNU Affero General Public License as published by -the Free Software Foundation, either version 3 of the License, or -(at your option) any later version. - -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU Affero General Public License for more details. - -You should have received a copy of the GNU Affero General Public License -along with this program. If not, see <http://www.gnu.org/licenses/>. - -As additional permission under GNU GPL version 3 section 7, you may -distribute non-source (e.g., minimized or compacted) forms of that code -without the copy of the GNU GPL normally required by section 4, provided -you include this license notice and a URL through which recipients can -access the Corresponding Source. - -@licend The above is the entire license notice for the JavaScript code -in this page. -*/ -</script> - <div class="posts"> {# banner diff --git a/template/post.twig b/template/post.twig index 8bdbe91..63bb243 100644 --- a/template/post.twig +++ b/template/post.twig @@ -1,37 +1,5 @@ {% include 'header.twig' %} -<script> -/* -@ licstart The following is the entire license notice for the JavaScript code in this page.* - - This is the code powering <http://freepo.st>. -Copyright © 2014-2016 zPlus -Copyright © 2016 Adonay "adfeno" Felipe Nogueira <adfeno@openmailbox.org> <https://libreplanet.org/wiki/User:Adfeno> - -This program is free software: you can redistribute it and/or modify -it under the terms of the GNU Affero General Public License as published by -the Free Software Foundation, either version 3 of the License, or -(at your option) any later version. - -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU Affero General Public License for more details. - -You should have received a copy of the GNU Affero General Public License -along with this program. If not, see <http://www.gnu.org/licenses/>. - -As additional permission under GNU GPL version 3 section 7, you may -distribute non-source (e.g., minimized or compacted) forms of that code -without the copy of the GNU GPL normally required by section 4, provided -you include this license notice and a URL through which recipients can -access the Corresponding Source. - -@licend The above is the entire license notice for the JavaScript code -in this page. -*/ -</script> - <div class="post"> <div class="title">