$js = 'CRM.$.extend(true, CRM, ' . json_encode($this->getSettings()) . ');';
}
return sprintf("<script type=\"text/javascript\">\n// @license magnet:?xt=urn:btih:0b31508aeb0634b347b8270c7bee4d411b5d4109&dn=agpl-3.0.txt AGPL-v3\n%s\n// @license-end\n</script>\n", $js);
- */
- $js = 'var CRM = ' . json_encode($this->getSettings()) . ';';
- //return sprintf("<script type=\"text/javascript\">\n%s\n</script>\n", $js);
- return sprintf("<script type=\"text/javascript\">\n// @license magnet:?xt=urn:btih:0b31508aeb0634b347b8270c7bee4d411b5d4109&dn=agpl-3.0.txt AGPL-v3\n%s\n// @license-end\n</script>\n", $js);
}
/**