did the same for site/rss10.hac; changed occurences of "Weblog" to "Site" in rss output; encoded e-mail addresses in root/rss output to be displayed as entities to cancel the ticket of happy spammers
32 lines
525 B
JavaScript
32 lines
525 B
JavaScript
/**
|
|
* wrapper to make safejs.skin public
|
|
* (contains js code safe from the user)
|
|
*/
|
|
|
|
function safescripts_action() {
|
|
if (req.lastModified)
|
|
res.notModified();
|
|
else {
|
|
res.contentType = "text/javascript";
|
|
res.lastModified = new Date();
|
|
this.renderSkin("safescripts");
|
|
}
|
|
}
|
|
|
|
|
|
/**
|
|
* wrapper to access colorpicker
|
|
*/
|
|
|
|
function colorpicker_action() {
|
|
renderSkin("colorpicker");
|
|
}
|
|
|
|
|
|
/**
|
|
* redirect requests for rss10 to rss
|
|
*/
|
|
|
|
function rss10_action() {
|
|
res.redirect(this.href("rss"));
|
|
}
|