From 90a3ff0599bca3a3dedaceb2b27894049b64238f Mon Sep 17 00:00:00 2001 From: zPlus <--> Date: Tue, 6 Sep 2016 15:19:06 +0200 Subject: [PATCH] LibreJS: move all license information from HTML templates to .js files --- LibreJS.html | 19 ------------------- javascript/freepost.js | 32 +++++++++++++++++++++++++++++++- template/footer.twig | 1 - template/index.twig | 32 -------------------------------- template/post.twig | 32 -------------------------------- 5 files changed, 31 insertions(+), 85 deletions(-) delete mode 100644 LibreJS.html diff --git a/LibreJS.html b/LibreJS.html deleted file mode 100644 index f217ea08..00000000 --- a/LibreJS.html +++ /dev/null @@ -1,19 +0,0 @@ - - - - - - - - -
freepost.jsAGPL-3.0freepost.js
diff --git a/javascript/freepost.js b/javascript/freepost.js index 50917895..82379683 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 . + Copyright © 2014-2016 zPlus + Copyright © 2016 Adonay "adfeno" Felipe Nogueira + + 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 . + + 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 7a7d2e70..cc837457 100644 --- a/template/footer.twig +++ b/template/footer.twig @@ -4,7 +4,6 @@