? GR0V Shell

GR0V shell

Linux www.koreapackagetour.com 2.6.32-042stab145.3 #1 SMP Thu Jun 11 14:05:04 MSK 2020 x86_64

Path : /home/admin/public_html/old/components/com_jce/editor/tiny_mce/plugins/browser/js/
File Upload :
Current File : /home/admin/public_html/old/components/com_jce/editor/tiny_mce/plugins/browser/js/browser.js

/* JCE Editor - 2.5.0RC6 | 23 May 2015 | http://www.joomlacontenteditor.net | Copyright (C) 2006 - 2015 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");$.Plugin.init();if(/(:\/\/|www|index.php(.*)\?option)/gi.test(src)){src='';}
if(src){src=tinyMCEPopup.editor.convertURL(src);$('#insert').button('option','label',tinyMCEPopup.getLang('update','Update',true));}
$('<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");var src=$('#src').val();if(src===""){var selected=WFFileBrowser.getSelectedItems();if(selected.length){this.selectFile(selected[0]);src=$('#src').val();}}
win.document.getElementById(tinyMCEPopup.getWindowArg("input")).value=src;tinyMCEPopup.close();},selectFile:function(file){var self=this;var name=file.title;var src=$(file).data('url');src=src.charAt(0)=='/'?src.substring(1):src;$('#src').val(src);}};tinyMCEPopup.onInit.add(BrowserDialog.init,BrowserDialog);

T1KUS90T
  root-grov@210.1.60.28:~$