antville/code/Comment/edit.hac
2001-08-26 19:48:24 +00:00

17 lines
No EOL
454 B
Text

if (!this.isEditAllowed())
res.redirect(this.story.href());
res.skin = "main";
res.title = "Antville - " + this.weblog.title;
if (req.data.submit == "cancel")
res.redirect(this.story.href());
if (req.data.text)
this.updateComment();
res.head = this.weblog.renderSkinAsString("javascript");
res.head += this.weblog.renderSkinAsString("style");
res.body = this.weblog.renderSkinAsString("header");
res.body += this.renderSkinAsString("edit");