Sourcecode in LayoutMgr/actions.js:
1: function main_action() {
2: if (req.data["activate"]) {
3: this.setDefaultLayout(req.data["activate"]);
4: res.redirect(this.href());
5: }
6: res.data.title = getMessage("LayoutMgr.mainTitle", {siteTitle: res.handlers.context.getTitle()});
7: res.data.action = this.href();
8: res.data.layoutlist = renderList(this, "mgrlistitem", 10, req.data.page);
9: res.data.pagenavigation = renderPageNavigation(this, this.href(), 10, req.data.page);
10: res.data.body = this.renderSkinAsString("main");
11: res.handlers.context.renderSkin("page");
12: return;
13: }
|