403Webshell
Server IP : 64.225.102.56  /  Your IP : 216.73.216.220
Web Server : Apache/2.4.68 (Ubuntu) mod_fcgid/2.3.9 OpenSSL/3.0.2
System : Linux smtp.zejefoy.com 5.15.0-185-generic #195-Ubuntu SMP Fri Jun 19 17:11:50 UTC 2026 x86_64
User : auto ( 1002)
PHP Version : 7.4.33
Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,exec,system,passthru,shell_exec,proc_open,popen
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /home/auto/web/cifisoa.com/public_html/wp-content/plugins/the-post-grid/assets/js/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/auto/web/cifisoa.com/public_html/wp-content/plugins/the-post-grid/assets/js/mce-button.js
(function() {
    tinymce.PluginManager.add('rt_tpg_scg', function( editor, url ) {
        var tlpsc_tag = 'the-post-grid';


        //add popup
        editor.addCommand('rt_tpg_scg_popup', function(ui, v) {
            //setup defaults

            editor.windowManager.open( {
                title: 'The Post Grid ShortCode',
                width: jQuery( window ).width() * 0.3,
                height: (jQuery( window ).height() - 36 - 50) * 0.1,
                id: 'rt-tpg-insert-dialog',
                body: [
                    {
                        type   : 'container',
                        html   : '<span class="rt-loading">Loading...</span>'
                    },
                ],
                onsubmit: function( e ) {

                    var shortcode_str;
                    var id = jQuery("#scid").val();
                    var title = jQuery( "#scid option:selected" ).text();
                    if(id && id != 'undefined'){
                        shortcode_str = '[' + tlpsc_tag;
                            shortcode_str += ' id="'+id+'" title="'+ title +'"';
                        shortcode_str += ']';
                    }
                    if(shortcode_str) {
                        editor.insertContent(shortcode_str);
                    }else{
                        alert('No short code selected');
                    }
                }
            });

            putScList();
        });

        //add button
        editor.addButton('rt_tpg_scg', {
            icon: 'rt_tpg_scg',
            tooltip: 'The Post Grid',
            cmd: 'rt_tpg_scg_popup',
        });

        function putScList(){
                var dialogBody = jQuery( '#rt-tpg-insert-dialog-body' )
                jQuery.post( ajaxurl, {
                    action: 'rtTPGShortCodeList'
                }, function( response ) {

                    dialogBody.html(response);
                    console.log(response);
                });

        }

    });
})();

Youez - 2016 - github.com/yon3zu
LinuXploit