From b34d67907566663ab46b487b99817673ce4e32e5 Mon Sep 17 00:00:00 2001 From: Thomas Bruederli Date: Sun, 27 Apr 2014 15:35:07 +0200 Subject: Specify licenses in all javascript files and blocks to please LibreJS --- program/include/rcmail_output_html.php | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) (limited to 'program/include') 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 = <<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) -- cgit v1.2.3