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

15 lines
No EOL
498 B
Text

if (!this.isEditAllowed())
res.redirect(user.cache.referer ? this.weblog.members.href("login") : this.weblog.images.href());
if (req.data.submit == "cancel")
res.redirect(this.weblog.images.href());
this.evalImg();
res.skin = "main";
res.title = "Antville - " + this.weblog.title;
res.head = this.weblog.renderSkinAsString("javascript");
res.head += this.weblog.renderSkinAsString("style");
res.body = this.weblog.renderSkinAsString("header");
res.body += this.renderSkinAsString("edit");