66 lines
1 KiB
JavaScript
66 lines
1 KiB
JavaScript
/**
|
|
* wrapper to access colorpicker also from site
|
|
*/
|
|
|
|
function colorpicker_action() {
|
|
root.colorpicker_action();
|
|
return;
|
|
}
|
|
|
|
|
|
/**
|
|
* wrapper to access safescripts also from site
|
|
*/
|
|
|
|
function safescripts_action() {
|
|
root.safescripts_action();
|
|
return;
|
|
}
|
|
|
|
|
|
/**
|
|
* wrapper to make style.skin public
|
|
*/
|
|
|
|
function stylesheet_action() {
|
|
res.dependsOn(this.modifytime);
|
|
res.dependsOn(app.skinfiles["site"]["stylesheet"]);
|
|
res.digest();
|
|
res.contentType = "text/css";
|
|
this.renderSkin("style");
|
|
return;
|
|
}
|
|
|
|
|
|
/**
|
|
* wrapper to make javascript.skin public
|
|
*/
|
|
|
|
function javascript_action() {
|
|
res.dependsOn(this.modifytime);
|
|
res.dependsOn(app.skinfiles["site"]["javascript"]);
|
|
res.digest();
|
|
res.contentType = "text/javascript";
|
|
this.renderSkin("javascript");
|
|
return;
|
|
}
|
|
|
|
|
|
/**
|
|
* redirect requests for rss092 to rss
|
|
*/
|
|
|
|
function rss092_action() {
|
|
this.rss_action();
|
|
return;
|
|
}
|
|
|
|
|
|
/**
|
|
* redirect requests for rss10 to rss
|
|
*/
|
|
|
|
function rss10_action() {
|
|
this.rss_action();
|
|
return;
|
|
}
|