renamed global function setLayout() to getParent()

changed code to run with snapshot 20020531-fc
- no more res.skin, using renderSkin instead
This commit is contained in:
Robert Gaggl 2002-06-02 15:31:36 +00:00
parent 5bf34cfcea
commit d028679b88

View file

@ -1,4 +1,4 @@
var parent = setLayout(); var parent = getParent();
if (req.data.submit == "cancel" || req.data.cancel) if (req.data.submit == "cancel" || req.data.cancel)
res.redirect(parent.href()); res.redirect(parent.href());
@ -15,3 +15,4 @@ res.data.title = path.weblog ? path.weblog.title : "Antville";
res.data.body = this.renderSkinAsString("sendpwd"); res.data.body = this.renderSkinAsString("sendpwd");
parent.renderSkin("page");