* Updated text of $Admin#welcome skin (sites cannot be made the front page so easily, anymore)
* Added setup routine to Root.main_action() which is executed when there is an unconfigured root site or no privileged user (admin) * Modified $Image#edit skin: check for Image.fileName property insteaed of "created" when deciding whether to show the name and dimension input fields * Added missing res.data.title to $Members#register skin * Removed app.log() calls when catching login or registration exceptions * Added empty User.onLogout() method to get rid of some "errors" in the log file * Removed obsolete code
This commit is contained in:
parent
35be86763d
commit
d7d716fa95
8 changed files with 45 additions and 40 deletions
|
@ -536,7 +536,7 @@ Site.prototype.stories_macro = function() {
|
|||
session.user.renderSkin("$User#welcome");
|
||||
}
|
||||
if (this === root && User.require(User.PRIVILEGED)) {
|
||||
this.admin.renderSkin("Admin#welcome");
|
||||
this.admin.renderSkin("$Admin#welcome");
|
||||
}
|
||||
}
|
||||
} else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue