- using session.user instead of user as argument changed code to run with snapshot 20020531-fc: - no more res.skin, using renderSkin instead
14 lines
No EOL
341 B
Text
14 lines
No EOL
341 B
Text
var deny = this.isNotPublic(session.user);
|
|
if (deny) {
|
|
res.message = deny;
|
|
res.redirect(this.members.href("login"));
|
|
}
|
|
|
|
res.data.title = this.title;
|
|
|
|
res.data.head = this.renderSkinAsString("javascript");
|
|
res.data.head += this.renderSkinAsString("style");
|
|
|
|
res.data.body = this.renderSkinAsString("mostread");
|
|
|
|
this.renderSkin("page"); |