2013-01-30 00:21:21 +00:00
|
|
|
var eejs = require("ep_etherpad-lite/node/eejs");
|
2013-03-26 19:44:34 +00:00
|
|
|
var settings = require('ep_etherpad-lite/node/utils/Settings');
|
|
|
|
var checked_state = '';
|
2013-01-30 00:21:21 +00:00
|
|
|
|
|
|
|
exports.eejsBlock_scripts = function (hook_name, args, cb) {
|
|
|
|
args.content = args.content + eejs.require("ep_email_notifications/templates/scripts.html", {}, module);
|
|
|
|
return cb();
|
|
|
|
};
|
|
|
|
|
2013-03-26 19:44:34 +00:00
|
|
|
/*
|
2013-01-31 01:16:34 +00:00
|
|
|
exports.eejsBlock_embedPopup = function (hook_name, args, cb) {
|
|
|
|
args.content = args.content + eejs.require("ep_email_notifications/templates/embedFrame.html", {}, module);
|
|
|
|
return cb();
|
|
|
|
};
|
2013-03-26 19:44:34 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
exports.eejsBlock_mySettings = function (hook_name, args, cb) {
|
|
|
|
args.content = args.content + eejs.require('ep_email_notifications/templates/email_notifications_settings.ejs', {checked : checked_state});
|
|
|
|
return cb();
|
|
|
|
};
|
|
|
|
|
|
|
|
exports.eejsBlock_styles = function (hook_name, args, cb) {
|
|
|
|
args.content = args.content + '<link href="../static/plugins/ep_email_notifications/static/css/email_notifications.css" rel="stylesheet">';
|
|
|
|
};
|
|
|
|
|