X-Git-Url: http://git.dj3c1t.com/index.cgi?a=blobdiff_plain;f=mw%2Flibs%2Ftiny_mce%2Fplugins%2Ftinybrowser%2Ftb_tinymce.js.php;fp=mw%2Flibs%2Ftiny_mce%2Fplugins%2Ftinybrowser%2Ftb_tinymce.js.php;h=0000000000000000000000000000000000000000;hb=422d883e3ed8ee55ee41e3b7826f32b79cea646d;hp=b19dad74ab331da4120d430e65d1e94e28d23bc7;hpb=e1b64e4088232b9d7b4acb2dc24279bb38fcafba;p=mtweb diff --git a/mw/libs/tiny_mce/plugins/tinybrowser/tb_tinymce.js.php b/mw/libs/tiny_mce/plugins/tinybrowser/tb_tinymce.js.php deleted file mode 100644 index b19dad7..0000000 --- a/mw/libs/tiny_mce/plugins/tinybrowser/tb_tinymce.js.php +++ /dev/null @@ -1,40 +0,0 @@ - - - function tinyBrowser (field_name, url, type, win) { - - /* If you work with sessions in PHP and your client doesn't accept cookies you might need to carry - the session name and session ID in the request string (can look like this: "?PHPSESSID=88p0n70s9dsknra96qhuk6etm5"). - These lines of code extract the necessary parameters and add them back to the filebrowser URL again. */ - - var cmsURL = ""; // script URL - use an absolute path! - if (cmsURL.indexOf("?") < 0) { - //add the type as the only query parameter - cmsURL = cmsURL + "?type=" + type; - } - else { - //add the type as an additional query parameter - // (PHP session ID is now included if there is one at all) - cmsURL = cmsURL + "&type=" + type; - } - - tinyMCE.activeEditor.windowManager.open({ - file : cmsURL, - title : 'Tiny Browser', - width : , - height : , - resizable : "yes", - scrollbars : "yes", - inline : "yes", // This parameter only has an effect if you use the inlinepopups plugin! - close_previous : "no" - }, { - window : win, - input : field_name - }); - return false; - } \ No newline at end of file