- removing assignments to res.head
This commit is contained in:
parent
51a26a9b99
commit
7de4a8d3b0
4 changed files with 0 additions and 10 deletions
|
@ -4,7 +4,4 @@ res.skin = "root.page";
|
|||
|
||||
res.data.title = "Antville";
|
||||
|
||||
res.head = this.renderSkinAsString("javascript");
|
||||
res.head += this.renderSkinAsString("style");
|
||||
|
||||
res.data.body = this.renderSkinAsString("list");
|
|
@ -4,7 +4,4 @@ res.skin = "root.page";
|
|||
|
||||
res.data.title = "Antville";
|
||||
|
||||
res.head = this.renderSkinAsString("javascript");
|
||||
res.head += this.renderSkinAsString("style");
|
||||
|
||||
res.data.body = this.renderSkinAsString("main");
|
||||
|
|
|
@ -19,7 +19,6 @@ else if (req.data.submit == "create" || req.data.create) {
|
|||
res.skin = "root.page";
|
||||
|
||||
res.data.title = "Antville - Create a new weblog";
|
||||
res.head = this.renderSkinAsString("style");
|
||||
|
||||
var newLog = new weblog();
|
||||
res.data.body = newLog.renderSkinAsString("new");
|
||||
|
|
|
@ -2,7 +2,4 @@ var parent = setLayout();
|
|||
|
||||
res.data.title = "Antville - 404 - not found";
|
||||
|
||||
res.head = parent.renderSkinAsString("javascript");
|
||||
res.head += parent.renderSkinAsString("style");
|
||||
|
||||
res.body = "<p><b>Sorry!</b></p><p>URL /"+req.path+" was not found on this server!</p>";
|
||||
|
|
Loading…
Add table
Reference in a new issue