var eejs = require("ep_etherpad-lite/node/eejs"); var settings = require('../../src/node/utils/Settings'); exports.eejsBlock_scripts = function (hook_name, args, cb) { args.content = args.content + eejs.require("ep_email_notifications/templates/scripts.html", {}, module); return cb(); }; exports.eejsBlock_mySettings = function (hook_name, args, cb) { args.content = args.content + eejs.require('ep_email_notifications/templates/email_notifications_settings.ejs'); return cb(); }; exports.eejsBlock_styles = function (hook_name, args, cb) { args.content = args.content + ''; }; exports.clientVars = function(hook, context, callback) { // return the setting to the clientVars, sending the value return callback({ "panelDisplayLocation": settings.ep_email_notifications.panelDisplayLocation }); };