Node.js based forum software built for the modern web
filter:widgets.getAreas - allows plugins to define widget locations in tpls
psychobunnyfa5f528fb5c3
diff --git a/src/routes/admin.js b/src/routes/admin.jsindex c0afc39b4b..e5d5a48f57 100644--- a/src/routes/admin.js+++ b/src/routes/admin.js@@ -410,7 +410,11 @@ var nconf = require('nconf'),});app.get('/themes', function (req, res) {- res.json(200, {});+ plugins.fireHook('filter:widgets.getAreas', [], function(err, widgets) {+ res.json(200, {+ widgets: widgets+ });+ });});app.get('/testing/categories', function (req, res) {