antville/code/SkinMgr/main.hac
Robert Gaggl 0c8b4f852b change code according to helma's new session/usermodel:
- using session.user instead of user as argument
changed code to run with snapshot 20020531-fc:
- no more res.skin, using renderSkin instead
2002-06-02 15:55:05 +00:00

13 lines
No EOL
274 B
Text

checkIfLoggedIn(this.href(req.action));
var deny = this.isDenied(session.user);
if (deny) {
res.message = deny;
res.redirect(path.weblog.href());
}
res.data.title = path.weblog.title;
res.data.body = this.renderSkinAsString("main");
path.weblog.renderSkin("page");