403Webshell
Server IP : 85.158.181.41  /  Your IP : 216.73.217.12
Web Server : Apache
System : Linux cloud9-vm129 6.1.178+1-ph #ph SMP PREEMPT_DYNAMIC Wed Jul 29 09:00:54 UTC 2026 x86_64
User : moncbefd ( 1024)
PHP Version : 7.3.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/moncbefd/www.moneta.at/admin/includes/ckeditor/plugins/showprotected/dialogs/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/moncbefd/www.moneta.at/admin/includes/ckeditor/plugins/showprotected/dialogs/protected.js
CKEDITOR.dialog.add('showProtectedDialog', function (editor) {

    return {
        title: 'Edit Protected Source',
        minWidth: 300,
        minHeight: 60,
        onOk: function () {
            var newSourceValue = this.getContentElement('info', 'txtProtectedSource').getValue();

            var encodedSourceValue = CKEDITOR.plugins.showprotected.encodeProtectedSource(newSourceValue);

            this._.selectedElement.setAttribute('data-cke-realelement', encodedSourceValue);
            this._.selectedElement.setAttribute('title', newSourceValue);
            this._.selectedElement.setAttribute('alt', newSourceValue);
        },

        onHide: function () {
            delete this._.selectedElement;
        },

        onShow: function () {
            this._.selectedElement = editor.getSelection().getSelectedElement();

            var decodedSourceValue = CKEDITOR.plugins.showprotected.decodeProtectedSource(this._.selectedElement.getAttribute('data-cke-realelement'));

            this.setValueOf('info', 'txtProtectedSource', decodedSourceValue);
        },
        contents: [
            {
                id: 'info',
                label: 'Edit Protected Source',
                accessKey: 'I',
                elements: [
                    {
                        type: 'text',
                        id: 'txtProtectedSource',
                        label: 'Value',
                        required: true,
                        validate: function () {
                            if (!this.getValue()) {
                                alert('The value cannot be empty');
                                return false;
                            }
                            return true;
                        }
                    }
                ]
            }
        ]
    };
});

Youez - 2016 - github.com/yon3zu
LinuXploit