antville/code/Root/actions.js
Tobi Schäfer 6559186a83 renamed root/rss10.hac to root/rss.hac and created redirector function rss10_action() in root/actions.js;
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
2002-08-14 09:19:33 +00:00

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"));
}