UNPKG

698 BJavaScriptView Raw
1(function(module) {
2 "use strict";
3
4 var Theme = {};
5
6 Theme.defineWidgetAreas = function(areas, callback) {
7 areas = areas.concat([
8 {
9 name: "MOTD",
10 template: "categories.tpl",
11 location: "motd"
12 },
13 {
14 name: "Categories Sidebar",
15 template: "categories.tpl",
16 location: "sidebar"
17 },
18 {
19 name: "Category Sidebar",
20 template: "category.tpl",
21 location: "sidebar"
22 },
23 {
24 name: "Topic Sidebar",
25 template: "topic.tpl",
26 location: "sidebar"
27 },
28 {
29 name: "Topic Footer",
30 template: "topic.tpl",
31 location: "footer"
32 }
33 ]);
34
35 callback(null, areas);
36 };
37
38 module.exports = Theme;
39
40}(module));
\No newline at end of file