Server IP : 180.180.241.3 / Your IP : 216.73.216.252 Web Server : Microsoft-IIS/7.5 System : Windows NT NETWORK-NHRC 6.1 build 7601 (Windows Server 2008 R2 Standard Edition Service Pack 1) i586 User : IUSR ( 0) PHP Version : 5.3.28 Disable Function : NONE MySQL : ON | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : C:/AppServ/www/news/components/com_jce/editor/tiny_mce/plugins/browser/js/ |
Upload File : |
/* JCE Editor - 2.3.3.2 | 13 July 2013 | http://www.joomlacontenteditor.net | Copyright (C) 2006 - 2013 Ryan Demmer. All rights reserved | GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html */ var BrowserDialog={settings:{},init:function(ed){var action="insert";$('button#insert').click(function(e){BrowserDialog.insert();e.preventDefault();});tinyMCEPopup.resizeToInnerSize();var win=tinyMCEPopup.getWindowArg("window");var src=tinyMCEPopup.getWindowArg("url");if(src){src=tinyMCEPopup.editor.convertURL(src);action="update";} $.Plugin.init();$('#insert').button('option','label',tinyMCEPopup.getLang('lang_'+action,'Insert',true));if(/(:\/\/|www|index.php(.*)\?option)/gi.test(src)){src='';} $('<input type="hidden" id="src" value="'+src+'" />').appendTo(document.body);WFFileBrowser.init('#src',{onFileClick:function(e,file){BrowserDialog.selectFile(file);},onFileInsert:function(e,file){BrowserDialog.selectFile(file);},expandable:false});},insert:function(){var win=tinyMCEPopup.getWindowArg("window");win.document.getElementById(tinyMCEPopup.getWindowArg("input")).value=$('#src').val();tinyMCEPopup.close();},selectFile:function(file){var self=this;var name=file.title;var src=$.String.path(WFFileBrowser.get('getBaseDir'),file.id);src=src.charAt(0)=='/'?src.substring(1):src;$('#src').val(src);}};tinyMCEPopup.onInit.add(BrowserDialog.init,BrowserDialog);