diff options
author | Thomas Bruederli <thomas@roundcube.net> | 2014-04-27 15:35:07 +0200 |
---|---|---|
committer | Thomas Bruederli <thomas@roundcube.net> | 2014-04-27 15:35:07 +0200 |
commit | b34d67907566663ab46b487b99817673ce4e32e5 (patch) | |
tree | 94666b9eee302b5b01dee09f737d11732d62e0ba /program/include | |
parent | b867bb81e1ebcff701b5352edd10a143c1ec6996 (diff) |
Specify licenses in all javascript files and blocks to please LibreJS
Diffstat (limited to 'program/include')
-rw-r--r-- | program/include/rcmail_output_html.php | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/program/include/rcmail_output_html.php b/program/include/rcmail_output_html.php index c3232b246..eb4a52d04 100644 --- a/program/include/rcmail_output_html.php +++ b/program/include/rcmail_output_html.php @@ -87,7 +87,28 @@ class rcmail_output_html extends rcmail_output if ($this->framed || !empty($_REQUEST['_framed'])) $this->set_env('framed', 1); + $lic = <<<EOF +/* + @licstart The following is the entire license notice for the + JavaScript code in this page. + + Copyright (C) 2005-2014 The Roundcube Dev Team + + The JavaScript code in this page is free software: you can redistribute + it and/or modify it under the terms of the GNU General Public License + as published by the Free Software Foundation, either version 3 of + the License, or (at your option) any later version. + + The code is distributed WITHOUT ANY WARRANTY; without even the implied + warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + See the GNU GPL for more details. + + @licend The above is the entire license notice + for the JavaScript code in this page. +*/ +EOF; // add common javascripts + $this->add_script($lic, 'head_top'); $this->add_script('var '.self::JS_OBJECT_NAME.' = new rcube_webmail();', 'head_top'); // don't wait for page onload. Call init at the bottom of the page (delayed) |