- Renamed layout asset to page.

- CS Post reply URLs are now shortened to an incremented reply number.
 - Added a Rich Editor Configuration asset.
This commit is contained in:
JT Smith 2005-05-02 00:50:28 +00:00
parent 923e99ccf2
commit 959872102e
8 changed files with 226 additions and 66 deletions

View file

@ -0,0 +1,17 @@
// WebGUI Specific javascript functions for TinyMCE
function tinyMCE_WebGUI_URLConvertor(url, node, on_save) {
// Use default URL convertor, old 1.43 else 1.44+
if (typeof(TinyMCE_convertURL) != "undefined")
url = TinyMCE_convertURL(url, node, on_save);
else
url = tinyMCE.convertURL(url, node, on_save);
// Do custom WebUI convertion, replace back ^();
url = url.replace(new RegExp("%5E", "g"), "^");
url = url.replace(new RegExp("%3B", "g"), ";");
url = url.replace(new RegExp("%28", "g"), "(");
url = url.replace(new RegExp("%29", "g"), ")");
return url;
}