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 :  C:/inetpub/wwwroot/icd/components/com_jce/editor/tiny_mce/plugins/textcase/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : C:/inetpub/wwwroot/icd/components/com_jce/editor/tiny_mce/plugins/textcase/editor_plugin.js
/*  
 * JCE Editor                 2.3.1
 * @package                 JCE
 * @url                     http://www.joomlacontenteditor.net
 * @copyright               Copyright (C) 2006 - 2012 Ryan Demmer. All rights reserved
 * @license                 GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
 * @date                    10 December 2012
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 2 of the License, or
 * (at your option) any later version.

 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * NOTE : Javascript files have been compressed for speed and can be uncompressed using http://jsbeautifier.org/
 */
(function(){var each=tinymce.each;tinymce.create('tinymce.plugins.TextCase',{init:function(ed,url){var t=this;this.url=url;this.editor=ed;ed.addCommand('mceUpperCase',function(){t._upperCase();});ed.addCommand('mceLowerCase',function(){t._lowerCase();});ed.addCommand('mceCamelCase',function(){t._camelCase();});ed.addCommand('mceSentenceCase',function(){t._sentenceCase();});ed.onNodeChange.add(function(ed,cm,n,co){cm.setDisabled('textcase',co);});},createControl:function(n,cm){var t=this,ed=t.editor,doc=ed.getDoc();switch(n){case'textcase':var c=cm.createSplitButton('textcase',{title:'textcase.uppercase',icon:'uppercase',onclick:function(){ed.execCommand('mceUpperCase');}});c.onRenderMenu.add(function(c,m){m.add({title:'textcase.uppercase',icon:'uppercase',onclick:function(){ed.execCommand('mceUpperCase');}});m.add({title:'textcase.lowercase',icon:'lowercase',onclick:function(){ed.execCommand('mceLowerCase');}});m.add({title:'textcase.sentencecase',icon:'sentencecase',onclick:function(){ed.execCommand('mceSentenceCase');}});m.add({title:'textcase.camelcase',icon:'camelcase',onclick:function(){ed.execCommand('mceCamelCase');}});});return c;break;}
return null;},_sentenceCase:function(){var t=this,ed=this.editor,s=ed.selection,n=s.getNode();var text=s.getContent();text=text.toLowerCase().replace(/([a-z])/,function(a,b){return b.toUpperCase();}).replace(/(\.\s?)([a-z])/gi,function(a,b,c){return b+c.toUpperCase();});s.setContent(text);},_camelCase:function(){var t=this,ed=this.editor,s=ed.selection,n=s.getNode();var text=s.getContent();text=text.replace(/(\s)([a-z])/gi,function(a,b,c){return b+c.toUpperCase();});s.setContent(text);},_lowerCase:function(){var ed=this.editor,s=ed.selection,n=s.getNode();var text=s.getContent();s.setContent(text.toLowerCase());},_upperCase:function(){var ed=this.editor,s=ed.selection,n=s.getNode();var text=s.getContent();s.setContent(text.toUpperCase());},getInfo:function(){return{longname:'Painter',author:'Ryan Demmer',authorurl:'http://www.joomlacontenteditor.net',infourl:'http://www.joomlacontenteditor.net',version:'2.3.1'};}});tinymce.PluginManager.add('textcase',tinymce.plugins.TextCase);})();

Youez - 2016 - github.com/yon3zu
LinuXploit